Source: https://maths-mde.fr/images/exo-nombresrationnels-4e.pdf