Source: https://etab.ac-poitiers.fr/coll-matha/IMG/pdf/corrige_du_bb_matha2013.pdf