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.2018 AMC 10A #4
How many ways can a student schedule mathematics courses -- algebra, geometry, and number theory -- in a -period day if no two mathematics courses can be taken in consecutive periods? (What courses the student takes during the other periods is of no concern here.)
- A)
- B)
- C)
- D)
- E)
- 2.2014 AMC 10A #4
Walking down Jane Street, Ralph passed four houses in a row, each painted a different color. He passed the orange house before the red house, and he passed the blue house before the yellow house. The blue house was not next to the yellow house. How many orderings of the colored houses are possible?
- A)
- B)
- C)
- D)
- E)
- 3.2022 AMC 10A #9
A rectangle is partitioned into regions as shown. Each region is to be painted a solid color - red, orange, yellow, blue, or green - so that regions that touch are painted different colors, and colors can be used more than once. How many different colorings are possible?

- A)
- B)
- C)
- D)
- E)
- 4.2015 AMC 10A #10
How many rearrangements of are there in which no two adjacent letters are also adjacent letters in the alphabet? For example, no such rearrangements could include either or .
- A)
- B)
- C)
- D)
- E)
- 5.2012 AMC 10B #11
A dessert chef prepares the dessert for every day of a week starting with Sunday. The dessert each day is either cake, pie, ice cream, or pudding. The same dessert may not be served two days in a row. There must be cake on Friday because of a birthday. How many different dessert menus for the week are possible?
- A)
- B)
- C)
- D)
- E)
- 6.2025 AMC 10B #16
A circle has been divided into sectors of different sizes. Then of the sectors are painted red, painted green, and painted blue so that no two neighboring sectors are painted the same color. One such coloring is shown below.

How many different colorings are possible?
- A)
- B)
- C)
- D)
- E)
- 7.2024 AMC 10B #17
In a race among snails, there is at most one tie, but that tie can involve any number of snails. For example, the result might be that Dazzler is first; Abby, Cyrus, and Elroy are tied for second; and Bruna is fifth. How many different results of the race are possible?
- A)
- B)
- C)
- D)
- E)
- 8.2022 AMC 10A #14
How many ways are there to split the integers through into pairs such that in each pair, the greater number is at least times the lesser number?
- A)
- B)
- C)
- D)
- E)
- 9.2021 AMC Fall 10A #18
A farmer's rectangular field is partitioned into by grid of rectangular sections as shown in the figure. In each section the farmer will plant one crop: corn, wheat, soybeans, or potatoes. The farmer does not want to grow corn and wheat in any two sections that share a border, and the farmer does not want to grow soybeans and potatoes in any two sections that share a border. Given these restrictions, in how many ways can the farmer choose crops to plant in each of the four sections of the field?

- A)
- B)
- C)
- D)
- E)
- 10.2017 AMC 10A #19
Alice refuses to sit next to either Bob or Carla. Derek refuses to sit next to Eric. How many ways are there for the five of them to sit in a row of 5 chairs under these conditions?
- A)
- B)
- C)
- D)
- E)
- 11.2000 AMC 10 #13
There are 5 yellow pegs, 4 red pegs, 3 green pegs, 2 blue pegs, and 1 orange peg to be placed on a triangular peg board. In how many ways can the pegs be placed so that no (horizontal) row or (vertical) column contains two pegs of the same color?

- A)
- B)
- C)
- D)
- E)
- 12.2024 AMC 10B #20
Three different pairs of shoes are placed in a row so that no left shoe is next to a right shoe from a different pair. In how many ways can these six shoes be lined up?
- A)
- B)
- C)
- D)
- E)
- 13.2021 AMC Fall 10A #24
Each of the edges of a cube is labeled or . Two labelings are considered different even if one can be obtained from the other by a sequence of one or more rotations and/or reflections. For how many such labelings is the sum of the labels on the edges of each of the faces of the cube equal to ?
- A)
- B)
- C)
- D)
- E)
- 14.2021 AMC 10A #20
In how many ways can the sequence be rearranged so that no three consecutive terms are increasing and no three consecutive terms are decreasing?
- A)
- B)
- C)
- D)
- E)
- 15.2018 AMC 10B #18
Three young brother-sister pairs from different families need to take a trip in a van. These six children will occupy the second and third rows in the van, each of which has three seats. To avoid disruptions, siblings may not sit right next to each other in the same row, and no child may sit directly in front of his or her sibling. How many seating arrangements are possible for this trip?
- A)
- B)
- C)
- D)
- E)
- 16.2017 AMC 10B #18
In the figure below, of the disks are to be painted blue, are to be painted red, and is to be painted green. Two paintings that can be obtained from one another by a rotation or a reflection of the entire figure are considered the same. How many different paintings are possible?

- A)
- B)
- C)
- D)
- E)
- 17.2014 AMC 10B #24
The numbers 1, 2, 3, 4, 5 are to be arranged in a circle. An arrangement is bad if it is not true that for every from to one can find a subset of the numbers that appear consecutively on the circle that sum to . Arrangements that differ only by a rotation or a reflection are considered the same. How many different bad arrangements are there?
- A)
- B)
- C)
- D)
- E)
- 18.2013 AMC 10B #22
The regular octagon has its center at . Each of the vertices and the center are to be associated with one of the digits through , with each digit used once, in such a way that the sums of the numbers on the lines , , , and are all equal. In how many ways can this be done?

- A)
- B)
- C)
- D)
- E)
- 19.2012 AMC 10B #22
Let be a list of the first 10 positive integers such that for each either or or both appear somewhere before in the list. How many such lists are there?
- A)
- B)
- C)
- D)
- E)
- 20.2011 AMC 10A #22
Each vertex of convex pentagon is to be assigned a color. There are colors to choose from, and the ends of each diagonal must have different colors. How many different colorings 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.