Source: https://www.maths-cours.com/troisieme/256/ex1-fractions-irreductibles-nombres-premiers.pdf