Source: https://www.imo.universite-paris-saclay.fr/~david.harari/enseignement/m1alg23/Feuille2_anneaux_correction.pdf