There is actually a more effective equation to use that I learned in statistics years ago. The basic concept is taking a sample and figuring out the number of combinations of a given set out of that selection. The example was how many different poker hands are possible with a single deck of cards. The sample there is 52 unique cards and a 5 card set.