2013 AIME I Problems/Problem 2
Problem
Find the number of five-digit positive integers, , that satisfy the following conditions:
-
(a) the number is divisible by
-
(b) the first and last digits of are equal, and
-
(c) the sum of the digits of is divisible by
Solution 1
The number takes a form of , in which . Let and be arbitrary digits. For each pair of , there are exactly two values of that satisfy the condition of . Therefore, the answer is
Solution 2 (casework)
We know the number will take the form because of the first two conditions. The third condition means that , where are nonnegative integers less than . Let's split the problem into cases, where each case represents a possible sum of .
1. If , we only have , so only .
2. If , we use stars & bars. We have stars and bars, so this case has .
3. If , we use similar logic. We have stars and bars, so . However, must be less than . Three of our order pairs have . Therefore, this case has .
4. If , it gets more complicated. Using the same system as used previously would be too complicated. But remember that this case is equivalentto if we wanted to choose . We know this because you can take any ordered pair satisfying subtract each variable from , and get an ordered pair satisfying . For example, take , which satisfies Its corresponding ordered pair would be , which satisfies . Let's proceed to calculating. Applying stars and bars, we get , but we have to subtract the subcases including or because must all be one-digit integers. There are cases with a , cases with an , and cases with a . So this case has .
5. If , we can just calculate the ways to get . Applying stars & bars, we get .
6. If , we can just calculate the ways to get Applying stars & bars, we get .
Therefore, our answer is .
Note: For case 4, the subcases that must be excluded are and each of their respective permutations. Those ordered pairs have permutations respectively, which is why ordered pairs must be subtracted from .
~lprado
Video Solution
https://www.youtube.com/watch?v=kz3ZX4PT-_0 ~Shreyas S
See also
2013 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 1 |
Followed by Problem 3 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.