Source: http://bruno.lpbayard.free.fr/MATHS/PROBABILITES/exercices/denombrementeno.pdf