2017 AMC 10A Problem 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?
Show solution without answering
Key insight
Alice can sit only next to Derek or Eric, so place Alice first. Derek and Eric can end up side by side only when Alice sits at an end.
Solution
Alice has the strictest rule: her neighbors must come from Derek and Eric. So place Alice first and split by her chair. Number the chairs to from left to right.
- Alice in chair (the middle). Her neighbors are chairs and , so Derek and Eric sit there, in either order: ways. They are not next to each other, so their rule is fine. Bob and Carla take chairs and : ways. Total .
- Alice in chair . Her neighbors are chairs and , so Derek and Eric go there: ways. Alice sits between them, so they are not neighbors. Bob and Carla take chairs and : ways. Total .
- Alice in chair . This is chair seen in a mirror, so again .
- Alice in chair . She has only one neighbor, chair , which must be Derek or Eric: ways. Say Derek sits there. Now Eric must not sit in chair (next to Derek), so Eric takes chair or : ways. Bob and Carla fill the other two chairs: ways. Total .
- Alice in chair . The mirror image of chair , so again .
- Add: .
The answer is .
Why this works
In seating problems, place the pickiest person first; that forces her neighbors and shrinks the count quickly. Mirror symmetry (chair matches chair , chair matches chair ) cuts the work nearly in half. Keep checking the second rule in every case: here it matters only when Alice's single neighbor leaves room for Derek and Eric to sit together.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Alice is the most restricted person: whoever sits beside her must be Derek or Eric. Split by Alice's chair, numbering the chairs to .
Alice in chair (middle). Chairs and hold Derek and Eric in some order ( ways). They are not adjacent to each other, so no conflict. Bob and Carla take chairs and ( ways). Total .
Alice in chair . Chairs and hold Derek and Eric ( ways); they are separated by Alice. Bob and Carla fill chairs and ( ways). Total . By left-right symmetry, Alice in chair also gives .
Alice in chair . Chair is Derek or Eric ( ways). Say Derek; then Eric cannot sit in chair . Chairs hold Bob, Carla and Eric with Eric in chair or ( ways) and Bob, Carla in the remaining two chairs ( ways). Total . By symmetry, Alice in chair also gives .
Adding: .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.5)
- Introduction to Algebra, Chapter 22: Special Manipulations (§22.3)
- Introduction to Counting & Probability, Chapter 3: Correcting for Overcounting (§3.2, §3.4)
- Prealgebra, Chapter 14: Counting (§14.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.