Source: https://www.meilleurenmaths.com/images/misyl/maths-expertes/arithmetique-congruences-criteres-divisibilite-ex-3.pdf