Source: http://mathematiques.daval.free.fr/IMG/pdf/5_ch8_multiples_et_diviseurs.pdf