AMC 10 · 2019 · #5

Grade 6 number-theory
lcmprime-factorizationdivisibility-rulesmultiples identify-subproblems ↑ Prerequisites: lcmprime-factorization
📏 Medium solution 💡 2 insights
Problem
Casper's wallet has exactly enough money to buy 12 red candies, or 14 green ones, or 15 blue ones, or n purple ones. Every candy costs a whole number of cents and a purple one costs 20 cents. Find the smallest possible n.

Pick an answer.

(A)
18
(B)
21
(C)
24
(D)
25
(E)
28
How to solve
Strategy Solve an Easier Related Problem

The hidden question is just "smallest whole-cent amount divisible by all four counts" — that's the LCM of 12, 14, 15, 20 (Tool #9 turns the candy story into a divisibility puzzle). Tool #6 / #3 lets us back-check by plugging each answer choice into 20n and asking whether it's divisible by 12, 14, 15. Tool #8 keeps us honest about cents vs. counts.

1STEP 1

What the money must satisfy

The money is a multiple of every count.

money = lcm(12, 14, 15, 20)
2STEP 2

Break into primes

Break each number into primes.

2² · 3 · 5 · 7 = 4 · 3 · 5 · 7
3STEP 3

Take the least common multiple

Include the purple price in the least common multiple.

lcm = 420 cents
4STEP 4

Divide by the purple price

Divide by that price.

n = 420/20 = 21
5STEP 5

Match the choice

The result is 21.

n=21 → (B)
Answer
21
At 420 cents: red costs 420/12 = 35¢, green 420/14 = 30¢, blue 420/15 = 28¢, purple 420/20 = 21 pieces at 20¢ each. All whole numbers, all under a buck per candy — believable. So n = 21, answer (B).
💡Key takeaway

This AMC 12 problem only needs Grade 6 LCM you already know: Casper's cents must split exactly into 12, 14, 15, AND 20 pieces. The smallest such number is lcm(12,14,15,20) = 420 cents, so n = 420/20 = 21.