Ads skipped

Explaining the bizarre pattern in making change for a googol dollars (infinite generating functions)

147K views · Jan 23, 2021 · Education

Comments · 846

  • @AlRoderick · 5 years ago

    &quot;We started with an infinite sum so let&apos;s count our blessings&quot;<br><br>Well it does seem like there are countably many...

    94

  • @Mathologer · 5 years ago

    A &quot;short&quot; video for a change, &quot;only&quot; 30 minutes long :)

    427

  • @johnchessant3012 · 5 years ago

    <a href="https://www.youtube.com/watch?v=VLbePGBOVeg&amp;t=1275">21:15</a> &quot;Oh wow, this formula implies that the coefficients for 5n, 5n+1, 5n+2, 5n+3, 5n+4 must be the same!&quot;<br><b>thinks about original problem for a minute</b><br>... Oh.

    33

  • @alimymir · 5 years ago

    quick answer: a lot

    143

  • @mebamme · 5 years ago (edited)

    This video makes a lot of cents.

    258

  • @KusacUK · 5 years ago

    As we’re all home-schooling at the moment, the school is sending challenge sheets out to all the kids. The final question on my daughter’s maths one was “how many different ways can you make £3.10 using coins”. <br><br>She’s 7 years old...<br><br>I just changed the question to “think of a few ways you could” instead, because even I didn’t know how to solve it. But now I do! I don’t think I’ll be teaching this to her yet though.

    188

  • @subhasish-m · 5 years ago

    The power of 2 coins can make any amount in exactly one way! (binary representations :))

    115

  • @thedoublehelix5661 · 5 years ago

    I already knew about generating functions, but seeing that automated algebra and the reason for all those 3s and 0s was seriously amazing

    35

  • @tobiasgorgen7592 · 5 years ago (edited)

    Last time i was this early, The sum of all natural numbers still equaled infinity

    176

  • @Xubono · 5 years ago

    Some of us will recognise Donald Knuth as the creator of the typesetting language TeX. For that alone, he has been responsible for the professional quality appearance of thousands of PhD theses.

    74

  • @sypeeoui · 5 years ago

    I studied the infinite generating function for high school math competitions. They are very useful in combinatorics problem!

    74

  • @maxwchase · 5 years ago (edited)

    Programming challenge (did this around <a href="https://www.youtube.com/watch?v=VLbePGBOVeg&amp;t=821">13:41</a>): because all of the coins evenly divide a dollar, it must be the case that a sum of coins to a multiple of a dollar can be separated into some groups of coins in which no single denomination adds up to a dollar, and the rest, in which each single denomination adds up to a multiple of a dollar. The former cases can be enumerated by doing the product trick without the exponent of 100, and taking the coefficient of each exponent divisible by 100, including 0. There are ways to make change like this for zero through four dollars inclusive. This gives us one part of the solution. The other part is to determine how many ways the remainder could be made. But this is a simpler problem, because it&apos;s equivalent to asking &quot;How many ways are there to add five (number of denominations - 1) boundaries to a set of a given size&quot; which is equivalent to asking for (size of set + 5) choose 5, which can be hard-coded as a sequence of multiplications followed by a division. (I could have tried expanding out the polynomial explicitly, but that sounds like effort).<br><br>So, the final answer is to, for each amount of dollars that can be made without using a dollar&apos;s worth of a single denomination, multiply that by the number of combinations for the remaining dollars.<br><br>I coded this up in Python, and it&apos;s pretty fast. I just started added zeroes to the exponent on the ten, and it was pretty acceptable performance up to 2 * 10 ^ 100,000. I&apos;ll post the value for 2 * 10 ^ 1,000,000 when it finishes, because that&apos;s much slower. Okay, yeah, that took a few minutes. One sec... Oh geez, it overflowed the buffer.<br><br>I&apos;m not pasting five million digits in here. See https://pastebin.com/MA2a9p3R<br><br>EDIT: At <a href="https://www.youtube.com/watch?v=VLbePGBOVeg&amp;t=1382">23:02</a> I&apos;m seeing the same coefficients in the center row that I had my program calculate for &quot;ways to make dollars without a single denomination adding up to a dollar&quot; So I guess this is going in the same direction.

    13

Up next

LIVE

The ARCTIC CIRCLE THEOREM or Why do physicists play dominoes?

Mathologer · 345K views

LIVE

Secrets of the lost number walls

Mathologer · 183K views

LIVE

Anthropic Took On the Riemann Hypothesis. Here’s What Actually Happened

Ellie Sleightholm · 459K views

LIVE

The golden ratio spiral: visual infinite descent

Mathologer · 164K views

LIVE

The Feigenbaum Constant (4.669) - Numberphile

Numberphile · 1.6M views

LIVE

Powell’s Pi Paradox: the genius 14th century Indian solution

Mathologer · 564K views

LIVE

Solving a finite number problem using infinities

Sheafification of G · 48K views

LIVE

The ultimate tower of Hanoi algorithm

Mathologer · 233K views

LIVE

What does this prove? Some of the most gorgeous visual "shrink" proofs ever invented

Mathologer · 373K views

LIVE

Why are the formulas for the sphere so weird? (major upgrade of Archimedes' greatest discoveries)

Mathologer · 251K views

LIVE

2000 years unsolved: Why is doubling cubes and squaring circles impossible?

Mathologer · 1.3M views

LIVE

700 years of secrets of the Sum of Sums (paradoxical harmonic series)

Mathologer · 847K views

LIVE

Crowd Goes WILD as Hikaru TRAPS Magnus Carlsen’s Queen

GM CHESS LESSONS · 11K views

LIVE

The Proof That Fooled Mathematicians for 37 Years

STEM in Motion by Gaurav · 30K views

LIVE

Secret of row 10: a new visual key to ancient Pascalian puzzles

Mathologer · 211K views

LIVE

The Moessner Miracle. Why wasn't this discovered for over 2000 years?

Mathologer · 707K views

LIVE

The π Formula That Took 73 Years to Prove

STEM in Motion by Gaurav · 100K views

LIVE

√7 is missing – and it took 2000 years to find the real reason why

Mathinity · 442K views

LIVE

The best A – A ≠ 0 paradox

Mathologer · 473K views

LIVE

The Professor Who Taught People How To Think (1962)

ABC Science and ABC Australia · 2.9M views

LIVE

Why π Appears Everywhere In Mathematics

Perhaps Barksley and Bub Explains · 61K views

LIVE

How did Ramanujan solve the STRAND puzzle?

Mathologer · 935K views

LIVE

One second to compute the largest Fibonacci number I can

Sheafification of G · 903K views

LIVE

Why was this visual proof missed for 400 years? (Fermat's two square theorem)

Mathologer · 990K views

LIVE

The Riemann Hypothesis, Explained

Quanta Magazine · 7.1M views

LIVE

Power sum MASTER CLASS: How to sum quadrillions of powers ... by hand! (Euler-Maclaurin formula)

Mathologer · 747K views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.