Source: http://www.joseouin.fr/math-tice/sujets/ensemble_s_2008.pdf