Probability
# Permutations

What if the password has to start with an even number? Or what if each pair of adjacent digits have to sum to an odd number? In counting the number of permutations of objects, we quickly discover that different restrictions give rise to different answers. Knowing how to account for these restrictions can turn counting permutations into a strength instead of a struggle.