Module 2.3 · Counting and Probability
Permutations
A permutation is an arrangement of objects in order: runners on a podium, books on a shelf, letters in a word. Permutations are the multiplication principle applied to one special situation, and they come with a few standard tricks (blocks, gaps, repeated letters, round tables) that appear again and again in contests.
Arranging everything
To line up different books, there are choices for the first spot, for the second, and so on: .
Definition
Factorial
For a positive integer , is the number of ways to arrange different objects in a row. By convention .
Useful values: , , , , .
Arranging some of them
If only of the objects are placed in order, stop the product after factors:
For example, a club of members can choose a president, a vice president and a treasurer in ways. The offices are different, so order matters.
Repeated objects
How many ways can you arrange the letters of ? If all five letters were different, there would be arrangements. But swapping the two L's, or the two E's, gives the same word. Each word was counted times, so there are distinct arrangements.
Arrangements with repeats
The number of ways to arrange objects where one kind repeats times, another times, and so on, is
Together and apart
Worked example: Glue them together
Five friends, including Ana and Bo, line up for a photo. In how many arrangements are Ana and Bo next to each other?
Glue Ana and Bo into a single block. Now arrange units (the block and the other three friends): ways. Inside the block, Ana and Bo can be in orders. Total: .
Worked example: Keep them apart
In how many of the arrangements above are Ana and Bo not next to each other?
Count all arrangements and subtract the ones where they are together: .
Worked example: Around a table
In how many ways can people sit at a round table, if two seatings count as the same when everyone has the same left and right neighbors (that is, rotations are the same)?
In a row there are seatings. Around a table, each seating can be rotated to positions that all look the same, so there are seatings.
Another way to see it: seat one person anywhere to "anchor" the table, then arrange the other in the remaining seats in order: .
Common mistake
With repeated letters, don't subtract the repeats; divide. Each distinct word is counted once for every way of shuffling the identical letters among themselves.
Tip
For a digit or letter restriction (the number must be odd, a vowel must come first), fill the restricted position first, then arrange the rest. If the objects include repeats, split into cases by what goes in the restricted position.
Practice
In how many ways can different books be arranged on a shelf?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many distinct arrangements are there of the letters in ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Six people stand in a row. In how many arrangements are two particular people, Ivy and Jon, next to each other?
How many distinct arrangements are there of the letters in ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Four boys and three girls line up in a row. In how many arrangements do the three girls stand together?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Four boys and three girls line up in a row so that boys and girls alternate. How many arrangements are possible?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many five-digit odd numbers can be made by arranging the digits ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Six people sit at a round table (rotations of a seating count as the same). Two of them, Kai and Lea, refuse to sit next to each other. How many seatings are possible?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
- 2026 AMC 8, Problem 17: rearrange four students in a row so no one keeps an old neighbor.
- 2018 AMC 8, Problem 11: seating six people in two rows and asking who ends up adjacent.