Arrangements with Restrictions
Permutations with constraints, adjacency, circular arrangements, forbidden positions
What you need to know
- Block method (glue). To keep chosen objects together in a row of different objects, tape them into one block. Arrange the things in ways, then multiply by for the order inside the block. Example: people in a row with Ann, Ben, and Cal together: .
- Gap method. To keep different objects apart (no two side by side), first line up the other objects. That leaves gaps, counting both ends. Put the objects into different gaps: ways. Then multiply by the ways to line up the other . Example: boys and girls in a row, no two girls together: .
- Round table. different people sit around a table in ways when turning the table gives the same seating. If flipping it over also gives the same one (beads on a bracelet), it is , for . If the seats are numbered, it is . Example: people at a round table: ways; beads on a bracelet: .
- Identical objects: , where , , … count each group of identical objects. Example: LEVEL has two L's and two E's, so arrangements.
- Derangements are arrangements with nothing in its own spot. Call the number for objects : , , , . Example: letters put into addressed envelopes at random are all wrong with probability .
How AMC 10 tests it
- Problems 8–15: seating in a row or around a table where "A and B must sit together" or "must not sit together."
- Letters of a word with a condition: vowels together, no two vowels side by side, a certain letter not first.
- Problems 15–22: restrictions mixed with symmetry (a round table, necklaces, painted cubes), or "no two side by side" around a circle.
- Often dressed up as a probability: (arrangements that follow the rule) (all arrangements).
Standard approaches
- For "together," glue into a block. For "not together," subtract the "together" count from . Example: people, Ann and Ben not side by side: .
- For "no two of type X side by side," place the others first, count the gaps, then choose gaps.
- Seat the hardest-to-place object first, then multiply the choices left. On a circle, seat one person first as a fixed reference point; that removes the turned copies of each seating.
- Do casework on where one special object sits. An end seat has only one neighbor.
- For , draw the seats and a small tree of cases.
Worked example
Six students, including Ana and Ben, sit in a row of six chairs. Ana refuses to sit at either end, and Ben must sit next to Ana. How many seatings are possible?
(A) (B) (C) (D) (E)
Solution. Seat the most limited person first.
Step 1: Ana. She cannot sit at either end, so she takes one of the middle chairs , , , : choices.
Step 2: Ben. Every middle chair has a chair on each side, so Ben has choices.
Step 3: everyone else. The other students fill the empty chairs in ways.
Step 4: multiply. .
The answer is .
Pitfalls
- Forgetting the for the order inside a block. "Ann, Ben" and "Ben, Ann" are different seatings, so people with those two together give , not .
- Using for a circle when the seats are numbered (then it is ), or when they are not.
- In a "no two side by side" problem, placing the restricted objects first instead of putting them into the gaps.
- Doing position casework for "A not next to B" and forgetting that an end seat has one neighbor, not two.
Traps that recur
- Counting the labelled colourings and dividing by 8, which fails because three of the twelve classes are left fixed by a reflection; 84 is not even divisible by 8. (2025 AMC 10B #21)
- Merging the two mirror-image spiral shapes into one because they look alike; a rotation can never turn a left-handed spiral into a right-handed one. (2021 AMC Fall 10B #24)
- Trying to place numbers by trial without deriving a structural constraint, or dividing by the wrong symmetry count (24 rotations, not 48 symmetries). (2016 AMC 10A #18)
- Counting the L/R patterns but then assigning the six shoes freely (3! * 3!) instead of noticing that each boundary forces a specific pair to occupy both boundary slots. (2024 AMC 10B #20)
- 1.2010 AMC 10B #23
The entries in a array include all the digits from through , arranged so that the entries in every row and column are in increasing order. How many such arrays are there?
- A)
- B)
- C)
- D)
- E)
- 2.2008 AMC 10B #21
Ten chairs are evenly spaced around a round table and numbered clockwise from through . Five married couples are to sit in the chairs with men and women alternating, and no one is to sit either next to or across from his/her spouse. How many seating arrangements are possible?
- A)
- B)
- C)
- D)
- E)
- 3.2025 AMC 10B #21
Each of the squares in a grid is to be colored red, blue, or yellow in such a way that each red square shares an edge with at least one blue square, each blue square shares an edge with at least one yellow square, and each yellow square shares an edge with at least one red square. Colorings that can be obtained from one another by rotations and/or reflections are to be considered the same. How many different colorings are possible?
- A)
- B)
- C)
- D)
- E)
- 4.2021 AMC Fall 10B #24
A cube is constructed from white unit cubes and blue unit cubes. How many different ways are there to construct the cube using these smaller cubes? (Two constructions are considered the same if one can be rotated to match the other.)
- A)
- B)
- C)
- D)
- E)
- 5.2016 AMC 10A #18
Each vertex of a cube is to be labeled with an integer through , with each integer being used once, in such a way that the sum of the four numbers on the vertices of a face is the same for each face. Arrangements that can be obtained from each other through rotations of the cube are considered to be the same. How many different arrangements are possible?
- A)
- B)
- C)
- D)
- E)
Problems © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. The topic note, tags and key insights are original to this site.