Least You Need to Know: Restricted Arrangements
Les openen
Harder counting problems often become easier once you decide whether order matters, whether items repeat, and whether a restriction should be handled first or by subtraction.