Source: https://math.univ-cotedazur.fr/~walter/L1_Arith/cours3.pdf