Source: https://maths.ac-creteil.fr/IMG/pdf/3.nombrespremiers.cours-2.pdf