Boxes of cupcakes for 25 euros
The question
A bakery sells cupcakes at 3 euros, 4 euros and 6 euros each. Jon wants a box of cupcakes that costs exactly 25 euros. A box is set by how many cupcakes of each price it holds. It may leave out a kind, and the same cupcakes in another order make the same box. How many different boxes can he choose?
Try it first, then show the answerHide the answer
Answer
(C) 6
Show me why · Step 1 of 5
-
What it means
A box is set by how many cupcakes of each price it holds, so the order does not matter, and 0 of a kind is allowed. It must cost exactly 25 euros. To miss nothing, take 0, 1, 2 … 6-euro cupcakes, and for each, try 0, 1, 2 … 4-euro ones: the money left must buy whole 3-euro cupcakes.
-
List every box
With no 6-euro cupcake, the 25 euros buy 3-euro and 4-euro ones, as 7 × 3 + 4 = 25 or 3 × 3 + 4 × 4 = 25, so 2 boxes. With 1, 25 − 6 = 19 euros are left, and 5 × 3 + 4 = 19 or 3 + 4 × 4 = 19 give 2 boxes more.
-
Less and less money left
With 2, 19 − 6 = 13 euros are left, and only 3 × 3 + 4 = 13 works. With 3, 13 − 6 = 7 are left, and only 3 + 4 = 7 works. With 4, just 7 − 6 = 1 euro is left, and no cupcake costs 1 euro.
-
The answer, and not the others
That makes 2 + 2 + 1 + 1 = 6 boxes, answer (C). (A) 4 and (B) 5 miss boxes, and forgetting the 2 boxes with no 6-euro cupcake gives 6 − 2 = 4. (D) 7 and (E) 8 count a box twice, for example the same cupcakes in another order.
-
Remember this
To count every way, list them in order, starting with the dearest thing, 0 of it, then 1, then 2. Then no way is missed and none is counted twice.