AI summary by TwinMind
The Prime Number Race (with 3Blue1Brown) - Numberphile
Numberphile
20m 29s
Prime Number Race Setup
- Race between two categories of primes: 1 mod 4 (remainder 1 when divided by 4) vs 3 mod 4 (remainder 3 when divided by 4)
- Prime 2 disqualified as "oddest prime" - doesn't fit pattern, only even prime
- Early primes categorized: 3 (3 mod 4), 5 (1 mod 4), 7 (3 mod 4), 11 (3 mod 4), 13 (1 mod 4), 17 (1 mod 4)
- Team 3 mod 4 maintains consistent lead despite appearing "neck and neck"
Early Race Results and Long-term Patterns
- Team 3 mod 4 always in lead through prime 17
- Pattern continues with 19, 23 (both 3 mod 4), then 29, 31, 37
- First time team 1 mod 4 takes lead: at prime 26,861
- Brief moment of leadership - next prime 26,863 returns lead to team 3 mod 4
- Next team 1 mod 4 lead occurs at prime 616,841, maintains lead slightly longer
- 99% of the time team 3 mod 4 appears to be winning
Historical Conjecture and Mathematical Question
- Conjecture proposed: as N approaches infinity, does percentage of time team 3 mod 4 leads approach 100%?
- Question of why primes would have bias toward 3 mod 4 category
- Comparison to bias toward odd numbers (clear divisibility reason)
- Similar pattern in last digits of primes: all four possible endings (1,3,7,9) tend toward 25% each, but with subtle biases
Mathematical Foundation: Series and Chi Function
- Introduction of famous pi series: 1 - 1/3 + 1/5 - 1/7 + ... = π/4
- Definition of Chi function: χ(n) = +1 if n ≡ 1 (mod 4), χ(n) = -1 if n ≡ 3 (mod 4), χ(n) = 0 if n even
- Series can be written as sum of χ(n)/n over odd numbers
- Series converges to π/4 through oscillating pattern on number line
Logarithmic Transformation Technique
- "Magical fact" from number theory: method to take logarithm of series
- Requirements: number associated with every natural number, multiplicative property (χ(ab) = χ(a)χ(b))
- Process removes composite numbers, keeps primes, reduces prime powers
- Composite numbers (like 15, 21) completely removed
- Prime powers reduced: squares by factor of 2, cubes by factor of 3, etc.
- Example: 1/9 (3²) becomes (1/2)(1/9), 1/25 (5²) becomes (1/2)(1/25)
- Result equals natural log of original series value
Application to Understanding Prime Bias
- After logarithmic transformation, series consists mostly of primes with some reduced prime powers
- Series convergence to constant (ln(π/4)) indicates balanced cancellation between positive and negative terms
- Key insight: all even powers of primes contribute to positive (adding) bucket
- Squares of all primes (both 1 mod 4 and 3 mod 4) add positive terms
- Fourth powers, sixth powers, etc. all positive
- Negative bucket only gets odd powers of 3 mod 4 primes
Intuitive Explanation for 3 mod 4 Bias
- Imbalance in prime powers creates bias toward positive bucket
- To maintain series convergence (balanced cancellation), need compensating imbalance in base primes
- Requires slightly more 3 mod 4 primes to offset advantage from even powers
- Not rigorous proof but provides intuition for observed bias
Final Results and Proof Status
- Original conjecture (100% approach) turns out to be false
- Percentage oscillates around very high values (98-99%) but doesn't approach 100%
- Modified metric (weighting by reciprocals of primes): team 3 mod 4 leads 99.59% of time
- Team 1 mod 4 retains 0.41% chance, always has future opportunities to lead
- Pattern persists indefinitely - neither team permanently dominates
