Source: http://mathematiques.lmrl.lu/Cours/Cours_6e/6e_Chapitre3_Arithmetique .pdf