Source: https://mathematice.fr/fichiers/bts/denombrement.pdf