Source: http://maths.vivien.free.fr/documents/Cours/chapitre6N1-Entiers.pdf