Source: https://mathematiques.daval.free.fr/IMG/pdf/6_I01_Nombres_entiers.pdf