Emmy says to Max, "I ordered math club sweatshirts today." Max asks, "How much did each shirt cost?" Emmy responds, "I'll give you a hint. The total cost was , where and are digits and ." After a pause, Max says, "That was a good price." What is ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
The total in cents is ABBBA and must be divisible by 36 = 4 * 9; divisibility by 4 forces A even and by 9 forces 3 | A.
Solution
Each sweatshirt costs a whole number of cents, so the total measured in cents, which is the five-digit number , must be divisible by . Since with , test both factors.
Divisibility by 9. The digit sum is , so . In particular , and since this forces .
Divisibility by 4. Only the last two digits matter: . As is even, must be even.
So is a nonzero digit that is both even and a multiple of : the only possibility is .
Now return to the two tests with . From we get , so and . From , that is , we get odd. Only survives.
The total is , or cents, and , so each shirt cost — a good price, and the fact that Max can name it confirms the digits are unique. Hence .
The answer is .
Why this works
A single divisibility condition on a composite modulus is best broken into coprime prime-power parts, because each part constrains a different feature of the numeral: the test for sees the digit sum and the test for sees the last two digits. Combining " even" with "" pins down in one line, which is what makes a search over digit pairs unnecessary. The modelling step is just as important: the price per shirt is an exact number of cents, so the object to test for divisibility is the integer number of cents, not the decimal number of dollars.
The trap
Applying only the digit-sum test for 9 and stopping at the first fit A = 3, B = 4, which gives A + B = 7, choice (A).
Common mistakes
- Applying only the digit-sum test for 9 and stopping at the first fit A = 3, B = 4, which gives A + B = 7, choice (A).
- Testing divisibility of the decimal by directly instead of converting to cents first.
- Using the test for instead of the test for , which leaves and three surviving totals rather than one.
Techniques
Split into exhaustive cases and handle each · Set up the equation/formula and compute; no special trick needed