Source: https://www.imo.universite-paris-saclay.fr/~olivier.henard/examen_PRB201_corr.pdf