Twitter proof: infinite primes


The proof of this post is a very well known proof on the infinitude of primes. For the proof I am going to rephrase an argument used by Euclid more than $2000$ years ago.

Theorem: there are infinitely many primes.

Twitter proof: if $\mathcal{P} = \{p_1, \cdots, p_n\}$ is a finite set of primes, then the number $q = p_1\times\cdots\times p_n + 1$ is such that $q \not\in \mathcal{P}$. Either $q$ is prime or $q$ has a prime factor $q'$ that cannot be in $\mathcal{P}$, otherwise $q'$ would have to divide $1$. Hence, no finite set $\mathcal{P}$ can contain all primes.

A prova deste post é uma prova conhecida da infinitude dos números primos. Para esta prova vou adaptar ligeiramente o argumento usado por Euclides há mais de $2000$ anos.

Teorema: há infinitos números primos.

Prova num tweet: se $\mathcal{P} = \{p_1,\cdots,p_n\}$ é um conjunto finito de primos, então o número $q = p_1\times\cdots\times p_n + 1$ é tal que $q \not \in \mathcal{P}$. Ou $q$ é primo ou $q$ tem um fator primo $q'$ que não pode estar em $\mathcal{P}$, porque se estivesse $q'$ tinha de ser um divisor de $1$. Em qualquer um dos casos concluímos que nenhum conjunto finito $\mathcal{P}$ pode ter todos os primos.

  - RGS

Popular posts from this blog

Tutorial on programming a memory card game

Markov Decision Processes 01: the basics

The hairy ball theorem and why there is no wind (somewhere) on Earth