Source: https://maths-msf.site.ac-strasbourg.fr/MSF_junior/Epreuves/MSFJU_13_Epr_dec_corr.pdf