AI summary by TwinMind

Pi is Evil - Numberphile

Numberphile

15m 47s

Game Setup and Initial Play

  • Dungeon scenario: trapped with 20-sided die, dragon requires rolling specific total to escape
  • Target number must be >20, chose 42
  • Game play sequence: 5 → 21 → 33 → 39 → 50 (busted past 42)
  • Failed attempt, similar to blackjack (don't exceed target)

Mathematical Analysis of Optimal Strategy

  • Question: what's best target number >20 for highest probability?
  • Hypothesis: optimal number ≤40 (achievable in 2 rolls max)
  • Intuition: effects of finite die size matter at small numbers, even out for large numbers
  • 20-sided die average = 10.5
  • For very large numbers (e.g., billion): probability = 1/10.5 ≈ 9.5%

Recurrence Relations and Probability Calculations

  • Used recurrence relation to calculate probabilities for different target numbers
  • P(100) depends on previous numbers: P(99)+roll(1), P(98)+roll(2), etc.
  • Computer calculations reveal probability graph patterns
  • Numbers 1-20: increasing probability (can roll directly)
  • Number 21: much lower probability (must make in multiple rolls)
  • Numbers 21-40: arch-shaped probability curve with maximum

Optimal Target Numbers by Die Type

  • 20-sided die: optimal target = 34 (highest probability among numbers >20)
  • Any number allowed: 20 is most likely (can roll directly + multiple ways to achieve)
  • 6-sided die: optimal target between 6-12
  • General formula: optimal target ≈ (e-1) × n, where e≈2.718, n=die sides
    • For 20-sided die: (2.718-1) × 20 ≈ 34.36 ≈ 34

Mathematical Pattern Analysis

  • Graph shows kinks at multiples of die size (40, 60, etc.)
  • Probability approaches 1/10.5 for large numbers
  • Sweet spot always between n and 2n for n-sided die
  • Formula (e-1)×n gives irrational result, approximated to nearest integer

Evil Numbers Application

  • Evil number definition: number whose decimal digits sum to 666 at some point
  • Examples: π is evil (digits eventually sum to 666)
  • Probability analysis:
    • Average digit value = 5 (ignoring zeros)
    • Hits roughly every 5th number
    • ~20% of numbers are evil
  • Other evil numbers: √3, golden ratio
  • Status of e unknown (requires ~100+ decimal digits to verify)

Alternative Evil Number Definitions

  • Biblical reference (666) used for this definition
  • Could use 42 for "hitchhiker numbers"
  • Other definitions exist: prime-based, binary expansion-based
  • Beastly primes: prime numbers containing 666 (e.g., 1666661, 661266669)

TwinMind

Get summaries like this for your own meetings

TwinMind takes notes in the background during meetings, lectures, and calls, then writes the summary for you.

Free plan to get started

No bot joins your calls

Phone, desktop & Chrome apps

Your next meeting, summarized like this

TwinMind listens in the background and turns meetings, lectures, and calls into searchable notes you can chat with. Start free.

Available on phone, desktop & Chrome

Your next meeting, summarized like this

TwinMind listens in the background and turns meetings, lectures, and calls into searchable notes you can chat with. Start free.

Available on phone, desktop & Chrome

Your next meeting, summarized like this

TwinMind listens in the background and turns meetings, lectures, and calls into searchable notes you can chat with. Start free.

Available on phone, desktop & Chrome