The Secret of the Raffle Function (epic proof) - Numberphile

Numberphile Numberphile Oct 02, 2025

Audio Brief

Show transcript
This episode explores a mathematical puzzle about an infinite raffle where the total tickets for the divisors of any number must sum to that number. There are three key takeaways from this discussion. First, the episode illustrates how complex problems can be solved by reframing them within a different mathematical structure, specifically moving from simple summation to the Dirichlet product. Second, it reveals how seemingly simple puzzles can connect to deep and fundamental concepts in mathematics, as the raffle function was ultimately identified as Euler's totient function. Third, the solution demonstrates that solving for a variable in a new algebraic system requires identifying the system's identity element and then finding the appropriate inverse operation, a principle critical in isolating the raffle function. The initial raffle puzzle states that the sum of tickets for a number's divisors must equal the number itself. This equation was elegantly reframed using the Dirichlet Product, an operation combining arithmetic functions. This transformation allowed the problem to be expressed algebraically as R star iota equals identity, where R is the raffle function and iota is the constant-1 function. The seemingly abstract raffle function was ultimately identified as Euler's totient function. This fundamental concept in number theory counts the positive integers up to a given integer n that are relatively prime to n. This connection highlights how complex abstract puzzles often lead back to well-established mathematical principles. Solving for the raffle function R required applying the inverse operation within the Dirichlet product system, much like division in standard arithmetic. The crucial step involved identifying the constant-1 function's Dirichlet inverse, known as the Möbius function. This allowed for the isolation and solution of the raffle function, revealing its true nature. This sophisticated mathematical journey demonstrates the power of abstract algebraic structures and number theory in solving intriguing problems.

Episode Overview

  • The podcast introduces a mathematical puzzle about an "infinite raffle" where the total number of tickets for the divisors of any number n must sum to n.
  • To solve the puzzle, the speaker builds a formal mathematical framework, exploring concepts from number theory like multiplicative functions and their properties.
  • A new form of "multiplication" called the Dirichlet product is introduced, which reframes the original problem into an algebraic equation involving functions.
  • The solution is found by identifying and applying the inverse of a key function (the Möbius function), ultimately revealing the raffle function to be the well-known Euler's totient function.

Key Concepts

  • The Raffle Function (R(n)): A function representing the number of raffle tickets with the number 'n' on them, governed by the rule that the sum of R(d) over all divisors 'd' of 'n' equals 'n'.
  • Hierarchy of Functions: Arithmetic functions are the broadest category, containing Multiplicative functions (which satisfy f(ab) = f(a)f(b) for co-prime a, b), which in turn contain Strongly Multiplicative functions (where the rule holds for all a, b).
  • Dirichlet Product (f ★ g): A special operation to combine two arithmetic functions, where (f ★ g)(n) is the sum of f(d₁)g(d₂) for all pairs of divisors (d₁, d₂) whose product is n.
  • Problem Reframing: The raffle puzzle's core rule, Σ R(d) = n, is reframed using the Dirichlet Product as R ★ ι = id, where ι is the constant-1 function and id is the identity function.
  • Blip Function (ε): The multiplicative identity for the Dirichlet product. It is defined as ε(1)=1 and ε(n)=0 for all n > 1.
  • Möbius Function (μ): The Dirichlet inverse of the constant-1 function (ι). This function is the key to isolating and solving for the Raffle Function.
  • Euler's Totient Function (φ(n)): The final solution to the puzzle. The Raffle Function R(n) is revealed to be Euler's totient function, which counts the positive integers up to a given integer n that are relatively prime to n.

Quotes

  • At 0:57 - "For any number, say 10, the number of tickets of its divisors must add up to 10." - This is the clearest explanation of the core rule governing the "raffle function."
  • At 52:39 - "You're going to tell me 'divide by 5', and I'm going to say, 'Hold on, I don't have division here, I just have multiplication.'" - Explaining the need to find a multiplicative inverse within the new algebraic structure of Dirichlet convolution, rather than relying on standard division.
  • At 54:49 - "Let's give it a name. I'm going to call it mu for Möbius because apparently he introduced it." - Naming the Dirichlet inverse of the constant 1-function as the Möbius function (μ), a critical step in solving for the raffle function.
  • At 1:05:05 - "Because multiplicativity is contagious." - Stating the key theorem that if two functions are multiplicative, their Dirichlet product is also multiplicative.
  • At 1:13:39 - "So there are twelve tickets with number 42 written on it." - After a long and detailed journey, the speaker uses the final formula to definitively answer the central question about the number 42.

Takeaways

  • Complex problems can often be solved by reframing them within a different mathematical or logical structure, such as moving from simple summation to the Dirichlet product.
  • Seemingly simple puzzles can be connected to deep and fundamental concepts in mathematics, as the raffle function was revealed to be Euler's totient function.
  • To solve for a variable in a new algebraic system, one must first identify the system's identity element ("one") and then find the appropriate inverse operation.
  • The number of tickets for any number n in the raffle can be calculated using the formula for Euler's totient function: φ(n) = n * (1 - 1/p₁) * (1 - 1/p₂) * ... where p₁, p₂, etc., are the distinct prime divisors of n.