Source: http://mathematiques.ac-bordeaux.fr/pedalyc/seqdocped/graphes/cahier/exo_graphes_sopena_tout.pdf