Source: https://mathematiques.daval.free.fr/IMG/pdf/COURS9_Denombrement.pdf