Chapter 5
Applying Counting Rules with Combinations and Permutations
IN THIS CHAPTER
Counting the number of ways an event can occur
Crunching probabilities that have restrictions
Distinguishing permutation problems from combination problems
Sorting objects with the use of combinations
Using poker as a combinations tool
All dreamers and gamblers want to know the odds of winning the lottery, the chance of getting a four of a kind in a poker hand, or the chance of not rolling a 7 or 10 on two throws in a row in craps. The odds all have to do with counting rules, which is what this chapter is all about. Counting rules provide a mathematical way to enumerate (count) the number of ways that a certain outcome can occur. And they bring order to an otherwise seemingly chaotic process; for example, listing all the ways not to roll a 7 when throwing two dice. Without having an ordered process, this task would be difficult — not to mention rolling, say, five dice.
Although counting rules are ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access