AMC 10 Step by Step

2013 AMC 10A Problem 17

P16-20~5 minPrint

Daphne is visited periodically by her three best friends: Alice, Beatrix, and Claire. Alice visits every third day, Beatrix visits every fourth day, and Claire visits every fifth day. All three friends visited Daphne yesterday. How many days of the next 365-day period will exactly two friends visit her?

Log in to save your progress.
Show solution without answering

Key insight

Two friends meet on multiples of 12, 15 or 20. All three meet on multiples of 60, and those days must be taken out of each pair's count.

Solution

Call yesterday day 00. The question is about days 11 to 365365. Alice comes on days 3,6,9,…3, 6, 9, \ldots (multiples of 33), Beatrix on multiples of 44, Claire on multiples of 55.

1. When do Alice and Beatrix both come? On days that are multiples of both 33 and 44, which means multiples of 1212. From 11 to 365365 there are 3030 of them, since 12×30=36012 \times 30 = 360.
2. Alice and Claire: multiples of 1515. There are 2424, since 15×24=36015 \times 24 = 360.
3. Beatrix and Claire: multiples of 2020. There are 1818, since 20×18=36020 \times 18 = 360.
4. When do all three come? On multiples of 3×4×5=603 \times 4 \times 5 = 60. There are 66, since 60×6=36060 \times 6 = 360.
5. Take those out. A day when all three come is not an "exactly two" day. Each such day was counted in all three lists above (for example, day 6060 is a multiple of 1212, of 1515 and of 2020). So remove 66 from each list:
(30−6)+(24−6)+(18−6)=24+18+12=54.(30 - 6) + (24 - 6) + (18 - 6) = 24 + 18 + 12 = 54.

The answer is (B) 54\boxed{\textbf{(B)}\ 54}.

Why this works

Two repeating schedules line up on multiples of the least common multiple of their gaps. "Exactly two" means you must throw out the days when the third friend also shows up. Each all-three day sits in every one of the three pair lists, so it is removed three times, once from each.

Alternative approach

The whole pattern repeats every 6060 days, so look at days 11 to 6060 first. Multiples of 1212: 55 days. Of 1515: 44 days. Of 2020: 33 days. Only day 6060 has all three, so exactly-two days number 4+3+2=94 + 3 + 2 = 9 per block of 6060. Six blocks cover days 11 to 360360, giving 6×9=546 \times 9 = 54. Days 361361 to 365365 contain no multiple of 1212, 1515 or 2020, so the answer stays 5454.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Call yesterday day 00; the period in question is days 11 through 365365. Alice comes on multiples of 33, Beatrix on multiples of 44, Claire on multiples of 55.

Two particular friends both come on multiples of the lcm of their periods:
- Alice and Beatrix: multiples of 1212, ⌊365/12⌋=30\lfloor 365/12 \rfloor = 30 days.
- Alice and Claire: multiples of 1515, ⌊365/15⌋=24\lfloor 365/15 \rfloor = 24 days.
- Beatrix and Claire: multiples of 2020, ⌊365/20⌋=18\lfloor 365/20 \rfloor = 18 days.

Each of these counts includes the days when all three come, the multiples of lcm(3,4,5)=60\text{lcm}(3,4,5) = 60: ⌊365/60⌋=6\lfloor 365/60 \rfloor = 6 days. Those must be removed from each pair count, because "exactly two" excludes them:
(30−6)+(24−6)+(18−6)=24+18+12=54.(30 - 6) + (24 - 6) + (18 - 6) = 24 + 18 + 12 = 54.

The answer is (B) 54\boxed{\textbf{(B)}\ 54}.

Review in the AoPS books

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.