Proof of Bertrand's postulate

In mathematics, Bertrand's postulate (now a theorem) states that, for each $$n \ge 2$$, there is a prime $$p$$ such that $$n<p<2n$$. First conjectured in 1845 by Joseph Bertrand, it was first proven by Chebyshev, and a shorter but also advanced proof was given by Ramanujan.

The following elementary proof was published by Paul Erdős in 1932, as one of his earliest mathematical publications. The basic idea is to show that the central binomial coefficients must have a prime factor within the interval $$(n, 2n)$$ in order to be large enough. This is achieved through analysis of their factorizations.

The main steps of the proof are as follows. First, one shows that the contribution of every prime power factor $$p^r$$ in the prime decomposition of the central binomial coefficient $$\textstyle\binom{2n}{n}=(2n)!/(n!)^2$$ is at most $$2n$$; then, one shows that every prime larger than $$\sqrt{2n}$$ appears at most once.

The next step is to prove that $$\tbinom{2n}{n}$$ has no prime factors in the interval $$(\tfrac{2n}{3}, n)$$. As a consequence of these bounds, the contribution to the size of $$\tbinom{2n}{n}$$ coming from the prime factors that are at most $$n$$ grows asymptotically as $$\theta^{\!\;n}$$ for some $$\theta<4$$. Since the asymptotic growth of the central binomial coefficient is at least $$4^n\!/2n$$, the conclusion is that, by contradiction and for large enough $$n$$, the binomial coefficient must have another prime factor, which can only lie between $$n$$ and $$2n$$.

The argument given is valid for all $$n\ge427$$. The remaining values of $$n$$ are by direct inspection, which completes the proof.

Lemmas in the proof
The proof uses the following four lemmas to establish facts about the primes present in the central binomial coefficients.

Lemma 1
For any integer $$n>0$$, we have
 * $$\frac{4^n}{2n} \le \binom{2n}{n}.$$

Proof: Applying the binomial theorem,
 * $$4^n = (1 + 1)^{2n} = \sum_{k = 0}^{2n} \binom{2n}{k}=2+\sum_{k = 1}^{2n-1} \binom{2n}{k} \le 2n\binom{2n}{n},$$

since $$\tbinom{2n}{n}$$ is the largest term in the sum in the right-hand side, and the sum has $$2n$$ terms (including the initial $$2$$ outside the summation).

Lemma 2
For a fixed prime $$p$$, define $$R = R(n,p)$$ to be the p-adic order of $$\tbinom{2n}{n}$$, that is, the largest natural number $$r$$ such that $$p^r$$ divides $$\tbinom{2n}{n}$$.

For any prime $$p$$, $$p^{R }\le 2n$$.

Proof: The exponent of $$p$$ in $$n!$$ is given by Legendre's formula
 * $$\sum_{j = 1}^\infty \left\lfloor \frac{n}{p^j} \right\rfloor\!,$$

so
 * $$R=\sum_{j = 1}^\infty \left\lfloor \frac{2n}{p^j} \right\rfloor - 2\sum_{j = 1}^\infty \left\lfloor \frac{n}{p^j} \right\rfloor=\sum_{j = 1}^\infty \left(\left\lfloor \frac{2n}{p^j} \right\rfloor - 2\!\left\lfloor \frac{n}{p^j} \right\rfloor\right)$$

But each term of the last summation must be either zero (if $$n/p^j \bmod 1<1/2$$) or one (if $$n/p^j\bmod 1\ge1/2$$), and all terms with $$j>\log_p(2n)$$ are zero. Therefore,
 * $$R \le \log_p(2n),$$

and
 * $$p^R \le p^{\log_p(2n)} = 2n.$$

Lemma 3
If $$p$$ is an odd prime and $$\frac{2n}{3} < p \leq n$$, then $$R(n,p) = 0.$$

Proof: There are exactly two factors of $$p$$ in the numerator of the expression $$\tbinom{2n}{n}=(2n)!/(n!)^2$$, coming from the two terms $$p$$ and $$2p$$ in $$(2n)!$$, and also two factors of $$p$$ in the denominator from one copy of the term $$p$$ in each of the two factors of $$n!$$. These factors all cancel, leaving no factors of $$p$$ in $$\tbinom{2n}{n}$$. (The bound on $$p$$ in the preconditions of the lemma ensures that $$3p$$ is too large to be a term of the numerator, and the assumption that $$p$$ is odd is needed to ensure that $$2p$$ contributes only one factor of $$p$$ to the numerator.)

Lemma 4
An upper bound is supplied for the primorial function,
 * $$n\#=\prod_{p\,\le\,n}p,$$

where the product is taken over all prime numbers $$p$$ less than or equal to $$n$$.

For all $$n\ge1$$, $$n\#<4^n$$.

Proof: We use complete induction.

For $$n=1,2$$ we have $$1\#=1<4$$ and $$2\#=2<4^2=16$$.

Let us assume that the inequality holds for all $$1\le n\le2k-1$$. Since $$n=2k>2$$ is composite, we have
 * $$(2k)\#=(2k-1)\#<4^{2k-1}<4^{2k}.$$

Now let us assume that the inequality holds for all $$1\le n\le2k$$. Since $$\binom{2k+1}{k}=\frac{(2k+1)!}{k!(k+1)!}$$ is an integer and all the primes $$k+2\le p\le2k+1$$ appear only in the numerator, we have
 * $$\frac{(2k+1)\#}{(k+1)\#}\le\binom{2k+1}{k}=\frac12\!\left[\binom{2k+1}{k}+\binom{2k+1}{k+1}\right]<\frac12(1+1)^{2k+1}=4^k .$$

Therefore,
 * $$(2k+1)\#=(k+1)\#\cdot\frac{(2k+1)\#}{(k+1)\#}\le4^{k+1}\binom{2k+1}{k}<4^{k+1}\cdot4^k=4^{2k+1}.$$

Proof of Bertrand's Postulate
Assume that there is a counterexample: an integer n ≥ 2 such that there is no prime p with n < p < 2n.

If 2 ≤ n &lt; 427, then p can be chosen from among the prime numbers 3, 5, 7, 13, 23, 43, 83, 163, 317, 631 (each being the largest prime less than twice its predecessor) such that n < p < 2n. Therefore, n ≥ 427.

There are no prime factors p of $$\textstyle\binom{2n}{n}$$ such that: Therefore, every prime factor p satisfies p ≤ 2n&hairsp;/&hairsp;3.
 * 2n < p, because every factor must divide (2n)!;
 * p = 2n, because 2n is not prime;
 * n < p < 2n, because we assumed there is no such prime number;
 * 2n&hairsp;/&hairsp;3 < p ≤ n: by Lemma 3.

When $$p > \sqrt{2n},$$ the number $$\textstyle {2n \choose n} $$ has at most one factor of p. By Lemma 2, for any prime p we have pR(p,n) ≤ 2n, and $$\pi(x)\le x-1$$ since 1 is neither prime nor composite. Then, starting with Lemma 1 and decomposing the right-hand side into its prime factorization, and finally using Lemma 4, these bounds give:
 * $$\frac{4^n}{2n}\le\binom{2n}{n}=\left(\,\prod_{p\,\le\,\sqrt{2n}}p^{R(p,n)}\right)\!\!\left(\prod_{\sqrt{2n}\,<\,p\,\le\,2n/3}\!\!\!\!\!\!\!p^{R(p,n)}\right)<\left(\,\prod_{p\,\le\,\sqrt{2n}}\!\!2n\right)\!\!\left(\prod_{p\,\le\,2n/3}\!\!p\right)\le(2n)^{\sqrt{2n}-1}4^{2n/3}.$$

Therefore
 * $$4^{n/3}\le(2n)^\sqrt{2n}$$, which simplifies to $$2^\sqrt{2n}\le(2n)^3.$$

Taking logarithms yields
 * $$\sqrt{2n}\le3\log_2(2n).$$

By concavity of the right-hand side as a function of n, the last inequality is necessarily verified on an interval. Since it holds true for $$n=426$$ and it does not for $$n=427$$, we obtain
 * $$n<427.$$

But these cases have already been settled, and we conclude that no counterexample to the postulate is possible.

Addendum to proof
It is possible to reduce the bound to $$n=50$$.

For $$n\ge17,$$ we get $$\pi(n)<\frac{n}{2}-1$$, so we can say that the product $$p^R$$ is at most $$(2n)^{0.5\sqrt{2n}-1}$$, which gives


 * $$\begin{align}&\frac{4^n}{2n}\le\binom{2n}{n}\le(2n)^{0.5\sqrt{2n}-1}4^{2n/3}\\&4^{\sqrt{2n}}\le(2n)^3\\&2\sqrt{2n}\le3\log_2(2n)\end{align}$$

which is true for $$n=49$$ and false for $$n=50$$.