Source: https://www.univ-irem.fr/IMG/pdf/Probleme_Chevre.pdf