ArticleslgStudy

mathematics

Chebyshev's bias

Chebyshev's bias is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Chebyshev's bias rather than just read about it. In short: In number theory, Chebyshev's bias is the phenomenon that most of the time, there are more primes of the form 4k + 3 than of the form 4k + 1, up to the same limit. This phenomenon was first observed by Russian mathematician Pafnuty Chebyshev in 1853.

Chebyshev's bias — main illustration
Chebyshev's bias — illustration

Key takeaways

  • Chebyshev's bias belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Chebyshev's bias to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Chebyshev's bias from memory before moving on to harder problems.

Reference excerpt

In number theory, Chebyshev's bias is the phenomenon that most of the time, there are more primes of the form 4k + 3 than of the form 4k + 1, up to the same limit. This phenomenon was first observed by Russian mathematician Pafnuty Chebyshev in 1853.

Description Let π(x; n, m) denote the number of primes of the form nk + m up to x. By the prime number theorem (extended to arithmetic progressions),

π(x;4,1)∼π(x;4,3)∼12xlog⁡x where log⁡x is the natural logarithm. That is, half of the primes are of the form 4k + 1, and half of the form 4k + 3. A reasonable guess would be that π(x; 4, 1) > π(x; 4, 3) and π(x; 4, 1) < π(x; 4, 3) each also occur 50% of the time. This, however, is not supported by numerical evidence — in fact, π(x; 4, 3) > π(x; 4, 1) occurs much more frequently. For example, this inequality holds for all primes x < 26833 except 5, 17, 41 and 461, for which π(x; 4, 1) = π(x; 4, 3). The first x such that π(x; 4, 1) > π(x; 4, 3) is 26861, that is, π(x; 4, 3) ≥ π(x; 4, 1) for all x < 26861. In general, if 0 < a, b < n are integers, gcd(a, n) = gcd(b, n) = 1, a is a quadratic residue mod n, b is a quadratic nonresidue mod n, then π(x; n, b) > π(x; n, a) occurs more often than not. This has been proved only by assuming strong forms of the Riemann hypothesis. The stronger conjecture of Knapowski and Turán, that the density of the numbers x for which π(x; 4, 3) > π(x; 4, 1) holds is 1 (that is, it holds for almost all x), turned out to be false. They, however, do have a logarithmic density, which is approximately 0.9959....

Generalizations This is for k = −4 to find the smallest prime p such that ∑q≤p, q is prime(kq)>0 (where (mn) is the Kronecker symbol), however, for a given nonzero integer k (not only k = −4), we can also find the smallest prime p satisfying this condition. By the prime number theorem, for every nonzero integer k, there are infinitely many primes p satisfying this condition. For positive integers k = 1, 2, 3, ..., the smallest primes p are

2, 11100143, 61981, 3, 2082927221, 5, 2, 11100143, 2, 3, 577, 61463, 2083, 11, 2, 3, 2, 11100121, 5, 2082927199, 1217, 3, 2, 5, 2, 17, 61981, 3, 719, 7, 2, 11100143, 2, 3, 23, 5, 11, 31, 2, 3, 2, 13, 17, 7, 2082927199, 3, 2, 61463, 2, 11100121, 7, 3, 17, 5, 2, 11, 2, 3, 31, 7, 5, 41, 2, 3, ... (sequence A326615 in the OEIS) For negative integers k = −1, −2, −3, ..., the smallest primes p are

2, 3, 608981813029, 26861, 7, 5, 2, 3, 2, 11, 5, 608981813017, 19, 3, 2, 26861, 2, 643, 11, 3, 11, 31, 2, 5, 2, 3, 608981813029, 48731, 5, 13, 2, 3, 2, 7, 11, 5, 199, 3, 2, 11, 2, 29, 53, 3, 109, 41, 2, 608981813017, 2, 3, 13, 17, 23, 5, 2, 3, 2, 1019, 5, 263, 11, 3, 2, 26861, ... (sequence A392284 in the OEIS) For fundamental discriminants of real quadratic fields (k = 1, 5, 8, 12, 13, 17, 21, 24, 28, 29, 33, 37, 40, 41, 44, 53, 56, 57, 60, 61, ... (sequence A003658 in the OEIS)), the smallest primes p are

2, 2082927221, 11100143, 61463, 2083, 2, 1217, 5, 3, 719, 2, 11, 3, 2, 7, 17, 11, 2, 7, 5, 2, 13, 2, 3, 23, 7, 3, 2, 13, 19, 2, 23, 17, 2, 5, 2, 7, 3, 2, 13, 3, 2, 19, 7, 2, 31, 31, 5, 17, 2, 13, 13, 3, 47, 2, 5, 3, 2, 37, 2, 47, 2, 5, 7, 2, 43, 2, 3, 11, 5, 3, 2, 29, ... (sequence A306499 in the OEIS) For fundamental discriminants of imaginary quadratic fields (k = −3, −4, −7, −8, −11, −15, −19, −20, −23, −24, −31, −35, −39, −40, −43, −47, −51, −52, −55, −56, −59, ... (sequence A003657 in the OEIS)), the smallest primes p are

608981813029, 26861, 2, 3, 5, 2, 11, 3, 2, 5, 2, 11, 2, 11, 53, 2, 13, 17, 2, 3, 5, 163, 3, 2, 2, 11, 5, 2, 31, 31, 2, 2, 3, 23, 2, 41, 3, 2, 13, 47, 2, 5, 19, 7, 11, 2, 191, 2, 3, 19, 2, 15073, 3, 2, 29, 5, 2, 41, 109, 2, 11, 2, 31, 59, 3, 2, 19, 2, 11, 53, 2, 1019, 137, ... (sequence A306500 in the OEIS) For every (positive or negative) nonsquare integer k, there are more primes p with (kp)=−1 than with (kp)=1 (up to the same limit) more often than not.

Extension to higher power residue Let m and n be integers such that m ≥ 0, n > 0, gcd(m, n) = 1, define a function f(m,n)=∑p is prime,p∣φ(n),xp≡m(modn) has a solution(1p), where φ is Euler's totient function. For example, f(1, 5) = f(4, 5) = 1/2, f(2, 5) = f(3, 5) = 0, f(1, 6) = 1/2, f(5, 6) = 0, f(1, 7) = 5/6, f(2, 7) = f(4, 7) = 1/2, f(3, 7) = f(5, 7) = 0, f(6, 7) = 1/3, f(1, 8) = 1/2, f(3, 8) = f(5, 8) = f(7, 8) = 0, f(1, 9) = 5/6, f(2, 9) = f(5, 9) = 0, f(4, 9) = f(7, 9) = 1/2, f(8, 9) = 1/3. It is conjectured that if 0 < a, b < n are integers, gcd(a, n) = gcd(b, n) = 1, f(a, n) > f(b, n), then π(x; n, b) > π(x; n, a) occurs more often than not.

References

P.L. Chebyshev: Lettre de M. le Professeur Tchébychev à M. Fuss sur un nouveaux théorème relatif aux nombres premiers contenus dans les formes 4n + 1 et 4n + 3, Bull. Classe Phys. Acad. Imp. Sci. St. Petersburg, 11 (1853), 208. Granville, Andrew; Martin, Greg (2006). "Prime number races". Amer. Math. Monthly. 113 (1): 1–33. doi:10.1080/00029890.2006.11920275. JSTOR 27641834. S2CID 3846453. J. Kaczorowski: On the distribution of primes (mod 4), Analysis, 15 (1995), 159–171. S. Knapowski, Turan: Comparative prime number theory, I, Acta Math. Acad. Sci. Hung., 13 (1962), 299–314. Rubinstein, M.; Sarnak, P. (1994). "Chebyshev's bias". Experimental Mathematics. 3 (3): 173–197. doi:10.1080/10586458.1994.10504289.

External links Weisstein, Eric W. "Chebyshev Bias". MathWorld. (sequence A007350 in the OEIS) (where prime race 4n+1 versus 4n+3 changes leader) (sequence A007352 in the OEIS) (where prime race 3n+1 versus 3n+2 changes leader)

Illustrations

Chebyshev's bias: Plot of the function π(x;4,3)−π(x;4,1) for n ≤ 30000
Plot of the function π(x;4,3)−π(x;4,1) for n ≤ 30000

Worked examples

Example 1 — a first encounter with Chebyshev's bias

Start with the simplest possible case. Write down what Chebyshev's bias claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Chebyshev's bias before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Chebyshev's bias ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Chebyshev's bias

In research
Chebyshev's bias appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Chebyshev's bias in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Chebyshev's bias is common in secondary-school and first-year university syllabi. It links to neighbouring topics Prime numbers, Theorems in analytic number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Chebyshev's bias outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Chebyshev's bias” →

How to study Chebyshev's bias in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Chebyshev's bias means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Chebyshev's bias out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Chebyshev's bias in simple terms?

In number theory, Chebyshev's bias is the phenomenon that most of the time, there are more primes of the form 4k + 3 than of the form 4k + 1, up to the same limit. This phenomenon was first observed by Russian mathematician Pafnuty Chebyshev in 1853.

Why does Chebyshev's bias matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Chebyshev's bias?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Chebyshev's bias.

Tags

  • Prime numbers
  • Theorems in analytic number theory

Keep exploring