AMC 10 Daily Practice Round 3

Complete problem set with solutions and individual problem pages

Problem 17 Hard

For how many ordered triples (A,B,C) of integers with 0\leqslant A\leqslant 9 and 0\leqslant B \leqslant 9 and 0\leqslant C \leqslant 9 is the sum of three six-digit positive integers \overline{7A6B5C}+\overline{2B9C5A}+\overline{7C1A6B} divisible by 36?

  • A.

    77

  • B.

    78

  • C.

    79

  • D.

    80

  • E.

    81

Answer:E

Set n=7A6B5C+2B9C5A+7C1A6B. We can rearrange as follows: n=(706050+A0B0C)+(209050+B0C0A)+(701060+C0A0B) =(706050+209050+701060)+(A0B0C+B0C0A+C0A0B) =1616160+(A+B+C)(10000)+(B+C+A)(100)+(C+A+B) =1616160+(A+B+C)(10101) =(10101)(160+A+B+C) and so n=(10101)(160+A+B+C).

We need to determine for which values of A, B, and C the integer n is divisible by 36.

Observe that 36=4\times9, and since 4 and 9 have no prime factors in common, n will be divisible by 36 exactly when it is divisible by both 4 and 9.

Since 10101 is odd, it is not a multiple of 4, and so n is a multiple of 4 exactly when 160+A+B+C is a multiple of 4.

Factoring 10101 gives 10101=3\times3367, and since 3367 is not a multiple of 3, we get that 10101 has a factor of 3 but not a factor of 9.

Therefore, n is a multiple of 9 exactly when 160+A+B+C is a multiple of 3.

We now have that n is a multiple of 36 exactly when 160+A+B+C is a multiple of 3 and a multiple of 4, or equivalently, when 160+A+B+C is a multiple of 12.

Since 156 is a multiple of 12, 160+A+B+C=156+4+A+B+C is a multiple of 12 exactly when 4+A+B+C is a multiple of 12.

The digits A, B, and C are each between 0 and 9 inclusive, so 4+A+B+C is at least 4 and at most 4+3\times9=31. The only multiples of 12 between 4 and 31 are 12 and 24, so we must have that 4+A+B+C=12 or 4+A+B+C=24.

To answer the question, we count the number of triples (A,B,C) of integers, each between 0 and 9 inclusive, for which A+B+C=8 or A+B+C=20.

First, suppose A+B+C=8. If A=0, then B+C=8. In this case, we can have B=0 and C=8, or B=1 and C=7, or B=2 and C=6, and so on to B=8 and C=0. This gives a total of 9 triples. If A=1, then B+C=7. In this case, we can have B=0 and C=7, B=1 and C=6, and so on to B=7 and C=0 for a total of 8 triples. Continuing in this way, there are 7 triples when A=2, 6 triples when A=3, 5 triples when A=4, 4 triples when A=5, 3 triples when A=6, 2 triples when A=7, and there is one triple when A=8. The number of triples (A,B,C) when A+B+C=8 is 9+8+7+6+5+4+3+2+1=45.

 

Now assume A+B+C=20. If A=0, then B+C=20, which is impossible given that B≤9 and C≤9. There are no triples with A=0. Similarly, if A=1, then there are no triples. If A=2, then B+C=18, which means B=9 and C=9, so there is only one triple. If A=3, then B+C=17, so either B=9 and C=8 or B=8 and C=9. There are 2 triples in this case. If A=4, then B+C=16, and there are 3 triples. Continuing in this way, when A=5, there are 4 triples, when A=6, there are 5 triples, when A=7, there are 6 triples, when A=8, there are 7 triples, and when A=9, there are 8 triples. The number of triples when A+B+C=20 is 1+2+3+4+5+6+7+8=36. The number of triples (A,B,C) is 45+36=81.