Concept

What are the three basic situations behind most counting problems?

Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk / Chapter 1

"Most of the time, counting problems all boil down to a variation of one of the following three basic situations: • n^k — this is when we have k different things, each of which is free to take on one of n completely independent choices. • n!/(n-k)! — this is when we’re taking a sequence of k different things from a set of n, but no repeats are allowed. (A special case of this is n!, when k = n.) • (n choose k) — this is when we’re taking k different things from a set of n, but the order doesn’t matter. Sometimes it’s tricky to deduce exactly which of these three situations apply. You have to think carefully about the problem, and ask yourself whether repeated values would be allowed, and whether it matters what order the values appear in. This is often subtle."

Related Ideas

What are the three basic situations behind most counting problems? | Stephen Davies, Ph.D. Version 2.2.2 Through Discrete Mathematics A Cool Brisk Walk | Bifalgorithm | Bifalgorithm