# Day 3: Cards of the Same Suit

# Day 3: Cards of the Same Suit

Terms you'll find helpful in completing today's challenge are outlined below.

As you may have already noticed, finding patterns in the possible ways events can occur is very useful in helping us count the number of desirable events in our sample space. Two of the easiest methods for doing this are with *permutations* (when order matters) and *combinations* (when order doesn't matter).

### Permutations

An ordered arrangement of objects from a set, , of objects (where ) is called an *-element permutation* of . You can also think of this as a permutation of 's elements taken at a time. The number of *-element permutations* of an -object set is denoted by the following formula:

**Note:** We define to be ; otherwise, would be (when ).

### Combinations

An unordered arrangement of objects from a set, , of objects (where ) is called an *-element combination* of . You can also think of this as a combination of 's elements taken at a time.

Because the only difference between permutations and combinations is that combinations are unordered, we can easily find the number of -element combinations by dividing out the permutations ():

When we talk about combinations, we're talking about the number of subsets of size that can be made from a set of size . In fact, is often referred to as " choose ", because it's counting the number of -element combinations that can be chosen from a set of elements. In notation, is typically written as .