Source: http://mathematiques.ac-bordeaux.fr/college2010/ressources/par_theme/les_prob_college.pdf