AMC 10 · 2013 · #17

Grade 6 number-theory
lcmprinciple-of-inclusion-exclusioncomplementary-counting identify-subproblemscomplementary-counting ↑ Prerequisites: lcm
📏 Medium solution 💡 3 insights
Problem
Daphne's three friends visit on fixed cycles: Alice every 3rd day, Beatrix every 4th day, and Claire every 5th day. All three visited on day 0 (yesterday). Over the next 365 days, count the days on which exactly two of the three friends visit.

Pick an answer.

(A)
48
(B)
54
(C)
60
(D)
66
(E)
72

AMC 10 2013 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

How to solve
Strategy Identify Subproblems

"Exactly two" breaks into three separate pair problems: Alice-Beatrix, Alice-Claire, and Beatrix-Claire. Two friends share a day only when it is a common multiple of their cycles, so each pair meets on multiples of a least common multiple. Counting each pair, then removing the days when all three actually show up, gives the exactly-two total.

1STEP 1

Turn each pair into an LCM

A shared day must fit both cycles, so each pair's gap is its LCM: 12, 15, and 20 days.

LCM(3,4)=12, LCM(3,5)=15, LCM(4,5)=20
2STEP 2

Count each pair's meetings

Divide 365 by each gap and drop the remainder: the pairs meet 30, 24, and 18 times.

⌊ 365/12 ⌋ = 30, ⌊ 365/15 ⌋ = 24, ⌊ 365/20 ⌋ = 18
3STEP 3

Find the all-three days

All three coincide only on multiples of LCM(3,4,5)=60, and 365 days hold 6 such days.

LCM(3,4,5)=60, ⌊ 365/60 ⌋ = 6
4STEP 4

Remove the triple days from each pair

Those 6 triple days sit in every pair total, so strip them from each: (30-6)+(24-6)+(18-6)=54.

(30-6)+(24-6)+(18-6)=24+18+12=54
Answer
54
Check with one clean 60-day block, since the pattern repeats every 60 days and 365 covers six full blocks (360 days) with 5 extra. In one block, pairs meet 5, 4, and 3 times, but the day-60 triple meeting sits in all three, so exactly-two days are (5-1)+(4-1)+(3-1)=4+3+2=9. Over six blocks that is 9x6=54, and the leftover days 361-365 add none, matching 54.
💡Key takeaway

Two friends meet on the LCM of their cycles, so count each pair's meetings and take out the days when all three show up.

  • Turn each pair into an LCM
  • Count each pair's meetings
  • Find the all-three days
  • Remove the triple days from each pair