AMC 10 Step by Step

2025 AMC 10B Problem 8

P1-10~4 minPrint

Emmy says to Max, "I ordered 3636 math club sweatshirts today." Max asks, "How much did each shirt cost?" Emmy responds, "I'll give you a hint. The total cost was $A‾ B‾ B‾.B‾ A‾\$ \underline A~\underline B~\underline B.\underline B~\underline A , where AA and BB are digits and A≠0A \neq 0 ." After a pause, Max says, "That was a good price." What is A+BA + B ?

Log in to save your progress.
Show solution without answering

Key insight

The total in cents, ABBBA, is a multiple of 36. The test for 4 makes A even; the test for 9 makes A a multiple of 3.

Solution

  1. Work in cents. Each shirt costs a whole number of cents. So the total in cents, the five-digit number A‾ B‾ B‾ B‾ A‾\underline A\,\underline B\,\underline B\,\underline B\,\underline A, must split evenly into 3636 equal parts. In other words, it is a multiple of 3636.
  1. Split 36 into two easy tests. A number is a multiple of 3636 exactly when it is a multiple of both 44 and 99. Each has a simple digit rule.
  1. Test for 9: the digit sum. The digits add to A+B+B+B+A=2A+3BA + B + B + B + A = 2A + 3B, and this must be a multiple of 99. In particular it must be a multiple of 33. The part 3B3B already is, so 2A2A must be too, and that means AA is a multiple of 33: AA is 33, 66 or 99.
  1. Test for 4: the last two digits. A multiple of 44 is even, so its last digit, AA, must be even. (The full test, that the last two digits B‾ A‾\underline B\,\underline A form a multiple of 44, comes back in step 6.)
  1. Find AA. The only digit that is even and a multiple of 33 (and not 00) is A=6A = 6.
  1. Find BB. The digit sum is 12+3B12 + 3B. Try B=0,1,…,9B = 0, 1, \ldots, 9: it is a multiple of 99 only for B=2,5,8B = 2, 5, 8 (sums 18,27,3618, 27, 36). The last two digits are 2626, 5656 or 8686, and only 5656 is a multiple of 44. So B=5B = 5.
  1. Check. The total is $655.56\$655.56, which is 6555665556 cents, and 65556÷36=182165556 \div 36 = 1821. Each shirt cost $18.21\$18.21, a good price.

So A+B=6+5=11A + B = 6 + 5 = 11.

The answer is (C) 11\boxed{\textbf{(C)}\ 11}.

Why this works

A test for a big number like 3636 is easiest when you break it into smaller numbers with no common factor, here 44 and 99. Each smaller test looks at a different part of the number: the test for 99 uses the digit sum, and the test for 44 uses the last two digits. Put together, they pin down AA right away. The key first step is to count in cents, so the total is a whole number you can test.

Concise solution

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

Each sweatshirt costs a whole number of cents, so the total measured in cents, which is the five-digit number A‾ B‾ B‾ B‾ A‾\underline{A}\,\underline{B}\,\underline{B}\,\underline{B}\,\underline{A}, must be divisible by 3636. Since 36=4⋅936 = 4 \cdot 9 with gcd⁡(4,9)=1\gcd(4,9) = 1, test both factors.

Divisibility by 9. The digit sum is A+B+B+B+A=2A+3BA + B + B + B + A = 2A + 3B, so 2A+3B≡0(mod9)2A + 3B \equiv 0 \pmod 9. In particular 3∣2A3 \mid 2A, and since 3∤23 \nmid 2 this forces 3∣A3 \mid A.

Divisibility by 4. Only the last two digits matter: 4∣10B+A4 \mid 10B + A. As 10B10B is even, AA must be even.

So AA is a nonzero digit that is both even and a multiple of 33: the only possibility is A=6A = 6.

Now return to the two tests with A=6A = 6. From 12+3B≡0(mod9)12 + 3B \equiv 0 \pmod 9 we get 3B≡6(mod9)3B \equiv 6 \pmod 9, so B≡2(mod3)B \equiv 2 \pmod 3 and B∈{2,5,8}B \in \{2, 5, 8\}. From 4∣10B+64 \mid 10B + 6, that is 2B+2≡0(mod4)2B + 2 \equiv 0 \pmod 4, we get BB odd. Only B=5B = 5 survives.

The total is $655.56\$655.56, or 6555665556 cents, and 65556=36⋅182165556 = 36 \cdot 1821, so each shirt cost $18.21\$18.21 — a good price, and the fact that Max can name it confirms the digits are unique. Hence A+B=6+5=11A + B = 6 + 5 = 11.

The answer is (C) 11\boxed{\textbf{(C)}\ 11}.

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.