Source: https://www.ac-grenoble.fr/disciplines/maths/file/RessourcesGenerales/JeuxEtConcours/SemaineMaths/2014/enigmes/SM2014_enonce___6_et_5__revu.pdf