Basic Problemscountingcombinatoricsgrid

Binomial Coefficient

Given integers n and r, compute the number of ways to choose r items out of a set of n distinct items, without regard to the order the items are chosen in.

Do this lesson first: climbing stairs

The full breakdown and animated table for this problem are still being written. In the meantime, run the four questions on it yourself — that is the whole exercise.