Each piece of candy in a store costs a whole number of cents. Casper has exactly enough money to buy either pieces of red candy, pieces of green candy, pieces of blue candy, or pieces of purple candy. A piece of purple candy costs cents. What is the smallest possible value of ?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Casper's money is a common multiple of 12, 14 and 15, so at least lcm = 420 cents, which buys 420/20 = 21 purple candies.
Solution
Let be Casper's money in cents. Since buys exactly red candies at a whole-cent price, . Likewise and . Therefore is a multiple of
Also . Every multiple of is a multiple of , so gives . The smallest value is : cents, red candy at cents, green at , blue at , purple at , and .
The answer is .
Why this works
"Exactly enough to buy items at a whole-number price" means the total is divisible by . Several such statements together say the total is a common multiple, and "smallest possible" points to the least common multiple. The purple-candy price then converts the money into a count.
The trap
Multiplying 12, 14 and 15 together or miscomputing the lcm as 210, then getting a non-integer or too large n.
Common mistakes
- Multiplying 12, 14 and 15 together or miscomputing the lcm as 210, then getting a non-integer or too large n.
- Forgetting to check that must also be a multiple of (here it automatically is, but in general one must include in the lcm).
Techniques
Set up the equation/formula and compute; no special trick needed