A One-Line Proof that there are Infinitely Many Prime Numbers

Problem 446

Prove that there are infinitely many prime numbers in ONE-LINE.

Background

There are several proofs of the fact that there are infinitely many prime numbers.
Proofs by Euclid and Euler are very popular.

In this post, I would like to introduce an elegant one-line proof published by Sam Northshield in 2015.

Because the published paper really contains only one line, it is hard to cite only a part of it.
So I decided to cite all of his proof word for word.

Proof by Sam Northshield (2015).

If the set of primes is finite, then
$0 < \prod_p \sin \left(\, \frac{\pi}{p} \,\right)=\prod_p \sin\left(\, \frac{\pi\cdot (1+2\prod_{p'}p')}{p} \,\right)=0 \tag{*}.$

More details in this one-line proof.

The above proof was given by Sam Northshield in 2015.
Let us give more details hidden in this one line proof.

Suppose that there are only finitely many prime numbers $p_1, p_2, \dots, p_n$.
Since prime numbers must be greater than $1$, we have
$\sin\left(\, \frac{\pi}{p_i} \,\right) > 0$ for any $i=1, \dots, n$.
Thus, the product
$\prod_{i=1}^n\sin\left(\, \frac{\pi}{p_i} \,\right)$ is still positive since the product of finitely many positive numbers is positive.
This explains the first inequality in (*).

Recall the following basic property of the sine function.
For any integer $m$, we have
$\sin(\theta+2\pi m)=\sin(\theta)$ for any $\theta \in \R$.

We have
\begin{align*}
\frac{\pi\cdot (1+2\prod_{j=1}^n p_j)}{p_i} &=\frac{\pi}{p_i}+\frac{2\pi \prod_{j=1}^n p_j}{p_i}.
\end{align*}
Note that since $\prod_{j=1}^n p_j$ is the product of all $p_1, \dots, p_n$, one factor is $p_i$.
Hence
$m_i:=\frac{\prod_{j=1}^n p_j}{p_i}$ is just an integer, not a fraction.
It follows from this observation that we have for each $i=1, \dots, n$
\begin{align*}
\sin\left(\, \frac{\pi\cdot (1+2\prod_{j=1}^n p_j)}{p_i} \,\right)&=\sin\left(\, \frac{\pi}{p_i}+2\pi m_i \,\right)\\
&=\sin\left(\, \frac{\pi}{p_i} \,\right)
\end{align*}
by the property of the sine function mentioned above.

Taking the product of these over all $i=1, \dots, n$, we obtain
\begin{align*}
\prod_{i=1}^n \sin \left(\, \frac{\pi}{p_i} \,\right)=\prod_{i=1}^n \sin\left(\, \frac{\pi\cdot (1+2\prod_{j=1}^n p_j)}{p_i} \,\right).
\end{align*}
This is the first equality in (*).

To see the last equality in (*), we consider the number
$1+2\prod_{j=1}^n p_j$ in the numerator.

If this is a prime number, then it must be one of $p_1, \dots, p_n$.
If it is not a prime number, then it is divisible by some prime number $p_1, \dots, p_n$.
In either case, there is a prime number $p_{i_0}$ among $p_1, \dots, p_n$ such that
$\frac{1+2\prod_{j=1}^n p_j}{p_{i_0}}$ is an integer.
Therefore, we have
$\sin\left(\, \frac{\pi\cdot (1+2\prod_{j=1}^n p_j)}{p_{i_0}} \,\right)=0.$

Since one of the factors is zero, the product
$\prod_{i=1}^n \sin\left(\, \frac{\pi\cdot (1+2\prod_{j=1}^n p_j)}{p_i} \,\right)$ is also zero.
This proves the last equality in (*).
The inequality obtained in (*) is clearly a contradiction.
Hence there must be infinitely many prime numbers.
This completes the proof.

Comment.

The one-line proof of Northshield is very clever and elegant.
But to explain the proof to high-school students, I feel that I need to probably decipher the proof and give more explanations as I did in this post.

Once you understand the details, the one-line proof is a very convenient and beautiful way to hide the details.

Reference

The one-line proof was published in the paper

Northshield, Sam. A one-line proof of the infinitude of primes.
Amer. Math. Monthly 122 (2015), no. 5, 466.

More from my site

• Find the Largest Prime Number Less than One Million. Find the largest prime number less than one million. What is a prime number? A natural number is called a "prime number" if it is only divisible by $1$ and itself. For example, $2, 3, 5, 7$ are prime numbers, although the numbers $4,6,9$ are not. The prime numbers have always […]
• Mathematics About the Number 2017 Happy New Year 2017!! Here is the list of mathematical facts about the number 2017 that you can brag about to your friends or family as a math geek. 2017 is a prime number Of course, I start with the fact that the number 2017 is a prime number. The previous prime year was […]
• Number Theoretical Problem Proved by Group Theory. $a^{2^n}+b^{2^n}\equiv 0 \pmod{p}$ Implies $2^{n+1}|p-1$. Let $a, b$ be relatively prime integers and let $p$ be a prime number. Suppose that we have $a^{2^n}+b^{2^n}\equiv 0 \pmod{p}$ for some positive integer $n$. Then prove that $2^{n+1}$ divides $p-1$.   Proof. Since $a$ and $b$ are relatively prime, at least one […]
• Mathematics About the Number 2018 Happy New Year 2018!! Here are several mathematical facts about the number 2018.   Is 2018 a Prime Number? The number 2018 is an even number, so in particular 2018 is not a prime number. The prime factorization of 2018 is $2018=2\cdot 1009.$ Here $2$ and $1009$ are […]
• Use Lagrange’s Theorem to Prove Fermat’s Little Theorem Use Lagrange's Theorem in the multiplicative group $(\Zmod{p})^{\times}$ to prove Fermat's Little Theorem: if $p$ is a prime number then $a^p \equiv a \pmod p$ for all $a \in \Z$.   Before the proof, let us recall Lagrange's Theorem. Lagrange's Theorem If $G$ is a […]
• A Group with a Prime Power Order Elements Has Order a Power of the Prime. Let $p$ be a prime number. Suppose that the order of each element of a finite group $G$ is a power of $p$. Then prove that $G$ is a $p$-group. Namely, the order of $G$ is a power of $p$. Hint. You may use Sylow's theorem. For a review of Sylow's theorem, please check out […]
• Beautiful Formulas for pi=3.14… The number $\pi$ is defined a s the ratio of a circle's circumference $C$ to its diameter $d$: $\pi=\frac{C}{d}.$ $\pi$ in decimal starts with 3.14... and never end. I will show you several beautiful formulas for $\pi$.   Art Museum of formulas for $\pi$ […]
• Top 10 Popular Math Problems in 2016-2017 It's been a year since I started this math blog!! More than 500 problems were posted during a year (July 19th 2016-July 19th 2017). I made a list of the 10 math problems on this blog that have the most views. Can you solve all of them? The level of difficulty among the top […]

1 Response

1. 06/08/2017

[…] A One-Line Proof that there are Infinitely Many Prime Numbers. […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Beautiful Formulas for pi=3.14…

The number $\pi$ is defined a s the ratio of a circle's circumference $C$ to its diameter $d$: $\pi=\frac{C}{d}.$ $\pi$...

Close