Sub topic 11
Circular Arrangements
Circular arrangement problems are a small part of GRE counting, usually one question at most. They are easy to get wrong in a predictable way: people apply the line formula n! and overcount. This chapter shows why (n-1)! replaces it, how restrictions work around a table, and when the answer changes again.
I assume you know factorials, the multiplication principle, and the complement method from earlier chapters. I also assume you can count arrangements in a row.
Why a circle is different from a line
Seat three people, A, B, and C, in a row. There are 3! = 6 orders. Now seat them around a round table with no marked seats. Look at these three arrangements, reading clockwise:
- A, B, C
- B, C, A
- C, A, B
In a row these are three different orders. At a round table they are the same arrangement. Everyone has the same left neighbor and the same right neighbor. Only the rotation of the whole group differs. A circular arrangement is defined by who sits next to whom, not by who sits in which physical seat.
So each circular arrangement of n people shows up n times among the n! linear orders, once per rotation. Dividing removes the repeats:
n! / n = (n - 1)!
For 3 people, that gives 3!/3 = 2. The two arrangements are A-B-C clockwise and A-C-B clockwise.
The "fix one person" view
There is a second way to get the same result, and it is easier to apply to restrictions. Pick one person and treat them as the anchor. Their position sets the reference point for the circle, so it gives no choices. The other n - 1 people can then be ordered in the remaining seats in (n - 1)! ways, as if they were in a line measured from the anchor.
Checking the formula by brute force
You can verify (n-1)! by listing every linear order, rotating each one so the smallest label comes first, and counting the distinct results.
import math
from itertools import permutations
def canonical(seq):
"""Rotate a sequence so its smallest element comes first."""
i = seq.index(min(seq))
return seq[i:] + seq[:i]
def circular_count(n):
return len({canonical(p) for p in permutations(range(n))})
for n in range(3, 8):
print(n, circular_count(n), math.factorial(n - 1))
# 3 2 2
# 4 6 6
# 5 24 24
# 6 120 120
# 7 720 720The two count columns match for every n. The canonical form is the code version of "fix one person": it always puts the same person first.
Worked example: a basic table
Problem. In how many ways can 6 people sit at a round table, where only the relative positions matter?
Fix one person and arrange the other 5: 5! = 120.
Compare this with the same people in a row of 6 chairs, which gives 6! = 720. The circular count is exactly 720 / 6.
When the seats are distinguishable
The (n-1)! rule assumes nothing breaks the symmetry of the table. If any feature makes the seats different, rotations stop being equivalent and you count as in a line.
| Situation | Count for 6 people | Reason |
|---|---|---|
| Plain round table, only neighbors matter | 5! = 120 | Rotations are the same arrangement |
| Seats numbered 1 to 6 | 6! = 720 | Each seat is a distinct position |
| One seat is the head of the table | 6! = 720 | The head seat is an anchor, so rotation changes who sits there |
| Round table, one named person must sit in a specific seat | 5! = 120 | The named person is already fixed, 5 remain |
On the GRE, look for words like "numbered," "labeled," "head," or "assigned seats." They signal that you should use n!. Phrases like "arranged around a circular table" with no further detail signal (n-1)!.
Restrictions around a circle
Restrictions work the same way as in a line, except that you fix someone first or collapse a block into one unit, then use (units - 1)!.
Two people who must sit together
Problem. Six people sit at a round table. Two of them, P and Q, must sit next to each other. How many arrangements are there?
- Glue P and Q into one block. Now there are 5 units to arrange in a circle: (5 - 1)! = 24.
- The block can be ordered two ways, PQ or QP: multiply by 2.
The count is 24 × 2 = 48.
In general, if k specific people must sit together among n people, the count is (n - k)! × k!. Here (6 - 2)! × 2! = 48, which matches. The block counts as one unit, so there are n - k + 1 units, and (n - k + 1 - 1)! = (n - k)!.
Two people who must not sit together
Use the complement. All arrangements minus the together arrangements:
120 - 48 = 72.
You can confirm this by brute force:
from itertools import permutations
def canonical(seq):
i = seq.index(min(seq))
return seq[i:] + seq[:i]
def adjacent(seq, a, b):
n = len(seq)
i = seq.index(a)
return seq[(i + 1) % n] == b or seq[(i - 1) % n] == b
arrangements = {canonical(p) for p in permutations(range(6))}
together = sum(adjacent(p, 0, 1) for p in arrangements)
print(len(arrangements), together, len(arrangements) - together) # 120 48 72The modulo in adjacent handles the wrap-around: the last seat is next to the first.
Alternating groups
Problem. Four men and four women sit at a round table so that men and women alternate. How many arrangements are there?
- Seat the men first. Fix one man and arrange the other 3: 3! = 6. This sets the circle.
- The four gaps between the men are now distinct, because they sit between specific men. Place the 4 women in them: 4! = 24.
The count is 6 × 24 = 144.
The women are not divided by anything. Once the men are placed, the gaps are different positions, so the women are counted as in a line. The circular symmetry is used up the first time you fix a person.
Choosing some people, then seating them
Problem. From 7 people, 4 are chosen to sit at a round table. How many selections-with-seating are possible?
- Choose the 4 people: C(7, 4) = 35.
- Seat the chosen 4 around the table: (4 - 1)! = 6.
The count is 35 × 6 = 210.
import math
print(math.comb(7, 4) * math.factorial(4 - 1)) # 210This is the circular version of a permutation. A line gives P(7, 4) = 840, and dividing by 4 rotations gives 210.
Beads and bracelets: when reflection matters
Everything so far treated a clockwise order and its mirror image as different. At a table that is correct, because A with B on the right and C on the left is not the same as the mirror order. If the circle can be flipped over, as with a bracelet, an arrangement and its mirror image are the same object. Then you divide by 2 again:
(n - 1)! / 2
For 6 distinct beads on a bracelet, that is 120 / 2 = 60.
import math
n = 6
print(math.factorial(n - 1) // 2) # 60This formula holds for n of at least 3. For fewer than three items, the mirror image is the same arrangement already. GRE questions rarely ask this, and when they do, the words "necklace," "bracelet," or "can be turned over" are present. If the problem says "people at a table," do not divide by 2.
Common errors
- Using
n!by default. For a plain circular table, this overcounts by a factor ofn. - Dividing twice. After fixing one person, you have already removed the rotations. Dividing the remaining count by anything else for rotation is wrong.
- Forgetting that a distinguishing feature restores
n!. Numbered seats or a head seat break the symmetry. - Applying the bracelet rule to people. People at a table have a clockwise direction, so mirror images count as different.
- Counting a block as
(n - k)!without thek!. The members inside a block can swap places. - Treating identical items as distinct. If some items are identical, the
(n-1)!count can be too high, and the right correction depends on the setup. A circle of identical items has a rotation that can map an arrangement onto itself, so a plain division is not always valid. GRE questions avoid this case. If you meet it, list small cases rather than trusting a formula.
Practice
Exercise
How many ways can 8 people sit around a round table if only the relative positions matter? Give the value as a number.
Show answer
Fix one person and arrange the other 7: 7! = 5040.
Exercise
Seven people sit at a round table. Three of them, X, Y, and Z, must all sit together. How many arrangements are there?
Show answer
Treat the three as one block. With 7 - 3 + 1 = 5 units, the circle gives (5 - 1)! = 24 arrangements. The block can be ordered 3! = 6 ways. The total is 24 × 6 = 144. This matches the formula (n - k)! × k! = 4! × 3! = 144.
Exercise
Five married couples sit at a round table so that each husband sits directly to the right of his wife (facing the same direction, clockwise). How many arrangements are there?
Show answer
Each couple is a block with a fixed internal order, so there are 5 blocks and no internal choice. The circle gives (5 - 1)! = 24 arrangements.
Exercise
Six people sit at a table with six numbered seats. How many arrangements are there, and why is the answer not 5!?
Show answer
The answer is 6! = 720. The numbered seats are distinguishable, so rotating everyone gives a different assignment. The (n-1)! rule applies only when rotations are indistinguishable.
Exercise
Three men and three women sit at a round table so that no two men sit next to each other. How many arrangements are there?
Show answer
Seat the women first. Fix one woman and arrange the other 2: 2! = 2. This creates 3 gaps between the women. Place the 3 men in the gaps: 3! = 6. Because there are exactly as many gaps as men, no two men can be adjacent. The total is 2 × 6 = 12.