Source: https://www.mathsenvie.fr/wp-content/uploads/2022/01/Defi-Coll-Lyc-Proposition5.pdf