Source: http://www.panamaths.net/Documents/TS_SPE/DivisibiliteCongruences%20(Exercices)%20V082012.pdf