Prime Number Race
- 19Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What are the two categories of prime numbers discussed in the prime number race?
19 questions
- 1
What are the two categories of prime numbers discussed in the prime number race?
Model answer
The two categories are prime numbers that are 1 mod 4 and prime numbers that are 3 mod 4, meaning they leave a remainder of 1 or 3, respectively, when divided by 4.
Explanation
The problem sets up a race between prime numbers based on their remainder when divided by 4. Primes are classified into '1 mod 4' if their remainder is 1, and '3 mod 4' if their remainder is 3. This classification is fundamental to understanding the bias discussed later.
- 2
Why is the prime number 2 disqualified from the prime number race?
Model answer
The prime number 2 is disqualified because it is the only even prime, and thus does not fit into the 1 mod 4 or 3 mod 4 classification which applies to odd numbers.
Explanation
The prime number 2 is unique because it's the only even prime. All other primes are odd. When discussing remainders modulo 4, only odd numbers can be 1 mod 4 or 3 mod 4, as even numbers would be 0 mod 4 or 2 mod 4. Therefore, 2 is excluded from the race's specific criteria.
- 3
Initially, which team appears to be in the lead in the prime number race?
Model answer
Initially, the team representing prime numbers that are 3 mod 4 (Team 3) consistently stays in the lead.
Explanation
Upon counting the first few primes and classifying them, it is observed that the count for primes 3 mod 4 is consistently higher than that for primes 1 mod 4. This early lead is a key observation that prompts the deeper investigation into biases.
- 4
At what prime number does Team 1 (1 mod 4) first take the lead in the race?
Model answer
Team 1 first takes the lead at the prime number 26,861.
Explanation
Despite Team 3's initial and long-standing lead, Team 1 eventually pulls ahead for the first time at 26,861. This highlights that the lead is not absolute and can change, even if briefly, over large numbers.
- 5
What is a 'bias' observed in the last digits of primes, similar to the 3 mod 4 bias?
Model answer
When looking at the last digits of primes (1, 3, 7, 9), while they tend to be about 25% each in the long run, two of them show a 'gentle bias' by winning the race slightly more often.
Explanation
The concept of bias is extended to the last digits of primes. While intuitively one might expect an even distribution, empirical observation suggests that certain last digits (1, 3, 7, 9) are slightly more frequent than others, indicating a subtle bias similar to the 3 mod 4 phenomenon.
- 6
Describe the function χ(n) used in the series for π/4.
Model answer
The function χ(n) is defined as +1 if n is 1 mod 4, -1 if n is 3 mod 4, and 0 if n is even. This function helps toggle between adding and subtracting terms in the series.
Explanation
The χ(n) function is a specific Dirichlet character used to represent the alternating signs in the Leibniz formula for π/4. It assigns a value based on n's remainder when divided by 4, effectively categorizing numbers into 'adding' (+1) or 'subtracting' (-1) terms, and ignoring even numbers.
- 7
What is the formula for π/4 presented that uses χ(n)?
Model answer
The formula for π/4 is expressed as the sum of χ(n) divided by n for all odd numbers n, represented as ∑nχ(n)=1−31+51−71+….
Explanation
The series is a classic representation of π/4, known as the Leibniz formula. It sums the reciprocals of odd numbers, alternating signs based on whether the odd number is 1 mod 4 (positive) or 3 mod 4 (negative). The χ(n) function precisely captures this alternating pattern.
- 8
What is the 'magical fact' about number theorists' favorite way to take a logarithm?
Model answer
The magical fact is that for a series satisfying specific criteria (associated with every natural number, and products of terms corresponding to products of numbers), one can 'kick out' composite numbers and reduce prime powers to obtain the natural logarithm of the original series' sum.
Explanation
This 'logarithm trick' is a deep result in analytic number theory. It states that if a series has certain multiplicative properties (where f(mn)=f(m)f(n)), then applying a specific transformation (keeping primes, reducing prime powers by a factor of 1/k for pk, and removing composites) converts the sum into the natural logarithm of the original sum's value. This transforms a sum over all numbers into a sum primarily over primes.
- 9
What criteria must a series meet for the 'logarithm trick' to work?
Model answer
The series must associate a number with every natural number (e.g., 0 for evens), and the product of the terms associated with two numbers must correspond to the product of those numbers (e.g., χ(3)×χ(5)=χ(15)).
Explanation
The two essential criteria are: 1) a term must be defined for every natural number (even if it's zero), and 2) the function defining the terms must be completely multiplicative, meaning the value of f(n) for a composite number n is the product of the values for its prime factors. This property ensures the transformation into a logarithm works correctly.
- 10
How are composite numbers and prime powers treated when applying the logarithm trick to a series?
Model answer
Composite numbers are entirely 'kicked out' (removed). Prime powers, like pk, are kept but their terms are reduced by a factor of 1/k. For instance, a square of a prime (p2) has its term reduced by 1/2, and a cube (p3) by 1/3.
Explanation
The logarithm trick selectively transforms the series. Composite numbers are eliminated, simplifying the sum to focus on prime factors. Prime powers are retained but scaled down by 1/k to account for their contribution within the logarithmic structure. For example, 1/9 (which is 1/32) becomes (1/2)×(1/32) if it's part of the original series, where the 1/2 comes from k=2.
- 11
What is the result of applying the 'logarithm trick' to the sum of reciprocals of squares (∑n21)?
Model answer
The sum ∑n21 equals π2/6. Applying the logarithm trick to this series yields ln(π2/6).
Explanation
The sum of the reciprocals of squares, ∑n=1∞n21, is a famous result known as the Basel problem, converging to π2/6. When the logarithm trick is applied to this series, it transforms into the natural logarithm of its sum, ln(π2/6), demonstrating the generality of the trick.
- 12
What does the absolute divergence of the ∑nχ(n) series tell us about the balance of its positive and negative terms?
Model answer
The absolute divergence (if all minuses were changed to pluses) indicates that both the sum of positive terms and the sum of negative terms individually 'blow up to infinity.' This implies that when they are combined with alternating signs, they must remain 'roughly balanced' to converge to a constant.
Explanation
Absolute divergence means that ∑∣nχ(n)∣ diverges. Since χ(n) is either +1 or -1 for odd n, this means ∑n1 for all odd n diverges. This implies that the 'adding' group (1 mod 4 primes/powers) and the 'subtracting' group (3 mod 4 primes/powers) each contribute infinitely to their respective sums. For the combined series to converge to a finite number (like π/4), these infinite contributions must largely cancel each other out, suggesting an overall balance between the two camps.
- 13
Why do all even powers of primes necessarily end up in the 'positive bucket' when considering the sum with the χ(n) function?
Model answer
Even powers of any prime, p2k, will always be 1 mod 4. For example, 32=9, which is 1 mod 4, and 72=49, which is 1 mod 4. Thus, their corresponding χ(n) value will be +1, placing them in the positive bucket.
Explanation
This is a critical insight into the bias. Any odd number raised to an even power will always yield a result that is 1 mod 4. For instance, if p≡3(mod4), then p2≡32≡9≡1(mod4). If p≡1(mod4), then p2≡12≡1(mod4). Since χ(n) is +1 for n≡1(mod4), all even prime powers contribute positively to the sum.
- 14
How do these even powers contribute to a bias in the 'adding bucket'?
Model answer
Since all even powers of primes contribute positively to the sum, this gives a systematic 'added weight' to the positive (adding) bucket. To maintain the series' overall convergence to a constant, the negative (subtracting) bucket needs a slightly larger number of prime terms to compensate.
Explanation
The consistent positive contribution from all even prime powers creates an inherent imbalance. If the number of 1 mod 4 and 3 mod 4 primes were perfectly equal, this additional positive weight would cause the series to diverge or converge to a different value. For the series to converge to a specific, small constant (like ln(π/4)), there must be a 'natural' overrepresentation of primes that are 3 mod 4 to counteract this positive bias from the even powers.
- 15
What is the intuition for why primes 3 mod 4 tend to be in the lead more often?
Model answer
The intuition is that the 'adding bucket' (primes 1 mod 4 and all even prime powers) inherently has more weight due to the positive contribution of all even prime powers. To balance the sum to a small constant, there must be a slight numerical advantage for primes 3 mod 4 to compensate for this positive bias.
Explanation
This is the core explanation for Chebyshev's bias. The χ(n)/n series converges to a positive constant, ln(π/4). Since all p2k terms contribute positively (because p2k≡1(mod4)), this creates a natural positive bias in the sum. To ensure the overall sum remains positive but small, the sum of negative terms (from p≡3(mod4) primes and odd powers of p≡3(mod4)) must be slightly 'larger in magnitude' to counteract the excess positive contributions. This implies a higher frequency of primes that are 3 mod 4.
- 16
What was the conjecture about the proportion of time Team 3 was in the lead as n tends to infinity?
Model answer
The conjecture was that as n tends to infinity, the percentage of time Team 3 (primes 3 mod 4) was in the lead would approach 100%.
Explanation
Given the strong empirical evidence of Team 3's consistent lead, an initial conjecture was that this lead would become almost absolute in the limit, with Team 3 winning nearly 100% of the time. This is a common way mathematicians try to formalize observed biases.
- 17
Is the conjecture that Team 3's lead approaches 100% of the time actually true?
Model answer
No, the conjecture is not true. While Team 3 is in the lead a very high percentage of the time (e.g., 99.5% for a billion numbers), this percentage does not approach 100% but instead 'wanders around' as more numbers are considered.
Explanation
This is a nuanced point of Chebyshev's bias. Although Team 3 holds a significant lead most of the time, the proportion of time it leads does not tend to 100%. Instead, it fluctuates, meaning Team 1 (primes 1 mod 4) always gets a chance to take the lead, even if for shorter periods and at much larger numbers.
- 18
How is the 'proportion of time in the lead' measured in a slightly different way to get a converging percentage?
Model answer
Instead of simply counting each prime, the primes are discounted by their reciprocal. When measured this way, Team 3 tends to be in the lead approximately 99.59% of the time as more numbers are considered.
Explanation
To achieve a converging percentage, the 'rules of the race' are changed. This metric (often related to 'logarithmic density') gives less weight to larger primes. Under this specific metric, the bias becomes quantifiable, settling on a value of approximately 99.59%, indicating a clear but not absolute advantage for Team 3.
- 19
Does Team 1 (1 mod 4) ever permanently stop leading at some point in the number line?
Model answer
No, Team 1 will always have a chance to lead, no matter how far along the number line you go. It never permanently stops leading.
Explanation
This emphasizes that despite Team 3's strong bias, the lead is not permanent. The 'Little Engine That Could' analogy suggests that Team 1, like a tortoise, will always eventually catch up and briefly take the lead, even if it's for a very small fraction of the total time.

Ask anything
We've read this whole study set, so questions about it get the best answers.