AMC 12 Mock Exam 4 Problem 5
Problem 5 of 25
Five friends, including Ana, Ben, and Cal, line up in a row for a photo. Ana and Ben insist on standing next to each other, and Cal refuses to stand at either end of the row. In how many ways can the five friends line up?
Answer choices
Show solution
Solution
Treat Ana and Ben as a block (in internal orders): there are lineups with them adjacent. Among these, count those with Cal at an end. If Cal is in position , the block occupies one of the adjacent pairs among positions through , in orders, and the other two friends fill the remaining spots in ways: lineups. The same holds with Cal in position . So the answer is .
Tagged: arrangements with adjacency and position restrictions