Difference between revisions of "2020 AMC 8 Problems/Problem 19"
m (Removed unnecessary and irrelevant attribution)
|Line 12:||Line 12:|
Revision as of 14:47, 24 November 2020
A number is called flippy if its digits alternate between two distinct digits. For example, and are flippy, but and are not. How many five-digit flippy numbers are divisible by
A number is divisible by precisely if it is divisible by and . The latter means the last digit must be either or , and the former means the sum of the digits must be divisible by . If the last digit is , the first digit would be (because the digits alternate), which is not possible. Hence the last digit must be , and the number is of the form . If the unknown digit is , we deduce . We know exists modulo because 2 is relatively prime to 3, so we conclude that (i.e. the second and fourth digit of the number) must be a multiple of . It can be , , , or , so there are options: , , , and .
Solution 2 (variant of Solution 1)
As in Solution 1, we find that such numbers must start with and alternate with (i.e. must be of the form ), where the two digits between the s need to be the same. Call that digit . For the number to be divisible by , the sum of the digits must be divisible by ; since the sum of the three s is , which is already a multiple of , it must also be the case that is a multiple of . Thus, the problem reduces to finding the number of digits from to for which is a multiple of . This leads to , , , or , so there are possible numbers (namely , , , and ).
|2020 AMC 8 (Problems • Answer Key • Resources)|
|1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25|
|All AJHSME/AMC 8 Problems and Solutions|