跳到正文
The Lumenary
探奇小径可选 · 从不评分起点 Factors, multiples and primes

Primes forever

本页尚未翻译成简体中文,因此以English显示。

帮助翻译 →
1

问题

2, 3, 5, 7, 11, 13, … The primes get rarer as the numbers grow. Do they ever run out? And how rare do they get?

先动手做实验,再往下读。探索没有错误的方式。

2

实验

埃拉托斯特尼筛法

依次划掉每个质数的倍数。始终没有被划掉的数就是质数。

  • 质数
  • 已划掉

第 1 步,共 7 步

这是 1 到 120 的数。按“下一步”开始筛。

3

提示(如果你需要)

    4

    这是怎么回事

    这是怎么回事

    Euclid's argument, from the Elements (Book IX, Proposition 20), shows the primes never run out. Take any finite list of primes p1,…,pkp_1, \dots, p_k and form N=p1p2⋯pk+1N = p_1 p_2 \cdots p_k + 1. Dividing NN by any pip_i leaves remainder 11, so no prime on the list divides NN. But N>1N > 1 has at least one prime factor. That prime is not on the list — so no finite list contains every prime.

    How rare are they? There are 2525 primes below 100100, 168168 below 1,0001{,}000 and 78,49878{,}498 below a million. Gauss and Legendre guessed, and Hadamard and de la Vallée Poussin proved in 1896, the prime number theorem: the number of primes up to xx is approximately x/ln⁡xx / \ln x, in the sense that the ratio tends to 11.

    Primes can be far apart: n!+2,n!+3,…,n!+nn! + 2, n! + 3, \dots, n! + n are n−1n - 1 consecutive numbers with no prime among them. Are there also infinitely many twin primes like 11,1311, 13 and 17,1917, 19? Nobody knows. In 2013 Yitang Zhang proved that infinitely many pairs of primes differ by at most 7070 million, and collaborative work soon lowered the bound to 246246 — but the twin prime conjecture itself remains open, as does the Riemann hypothesis, which would pin down the error in the prime number theorem.

    注

    The sieve in the experiment checks small numbers exactly; it cannot reach infinity. Euclid's argument can.

    已通过计算测试AI 起草 · 等待人工审校
    5

    由此通向何处