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)
Answer
E
Key insight
First choose which three periods hold math, with gaps between them; only four choices work. Then put the three different courses into those periods in 6 orders.
Solution
Split the job into two questions: which periods get math, and which course goes in each.
1. Which periods? We need three of the periods to with no two next to each other. List them in order, smallest first.
- Start with : the next can be , then or . Or the next can be , then . That gives , , .
- Start with : the only choice is .
- Start with or later: the next two would need periods and , but there is no period . Nothing works.
So there are sets of periods.
2. Which course goes where? In a chosen set, the first math period can hold any of the courses, the second any of the left, and the third the last one. That is orders.
3. Put it together. Each of the sets can be filled in ways: .
The answer is .
Why this works
The "not next to each other" rule only cares about the positions, not about which course is where. So handle the positions first, where the rule lives, and then arrange the courses freely. This two-step split ("where" and then "what") works for many seating and scheduling problems.
Alternative approach
Count the bad position sets and subtract. There are ways to pick three periods with no rule. List the sets that include at least one pair of neighbors: there are of them (for example , ), so good sets remain, and as before. Listing the good sets directly is quicker.
The trap
Finding the 4 sets of periods and stopping, forgetting that algebra, geometry and number theory can be swapped around inside each set.
Concise solution
First decide which periods hold math, then decide which course goes in each.
Three periods out of with no two consecutive: list them. Each chosen period after the first must skip at least one period, so the possibilities are
That is sets of periods.
For each set, the three distinct courses can be assigned to the three periods in ways.
Total: . The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.5)
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.2)
- Introduction to Counting & Probability, Chapter 3: Correcting for Overcounting (§3.2, §3.4)
Techniques
Organized listing / direct enumeration · Set up the equation/formula and compute; no special trick needed