Source: https://dpernoux.com/Cours/Cours/06%20D%C3%A9nombrements/Formules%20de%20d%C3%A9nombrement.pdf