Difference between revisions of "2020 AMC 10A Problems/Problem 24"
(→Solution 2 (bashing)) |
(→Solution 3 (bashing but worse)) |
||
Line 18: | Line 18: | ||
==Solution 3 (bashing but worse)== | ==Solution 3 (bashing but worse)== | ||
− | Assume that <math>n</math> has 4 digits. Then <math>n = abcd</math>, where <math>a</math>, <math>b</math>, <math>c</math>, <math>d</math> represent digits of the number (not to get confused with <math>a * b * c * d</math>). | + | Assume that <math>n</math> has 4 digits. Then <math>n = abcd</math>, where <math>a</math>, <math>b</math>, <math>c</math>, <math>d</math> represent digits of the number (not to get confused with <math>a * b * c * d</math>). As given the problem, <math>gcd(63, n + 120) = 21</math> and <math>gcd(n + 63, 120) = 60</math>. So we know that <math>d = 7</math> (last digit of <math>n</math>). That means that <math>a + b + c + 7</math> |
== Video Solution == | == Video Solution == |
Revision as of 00:39, 2 February 2020
Contents
Problem
Let be the least positive integer greater than for whichWhat is the sum of the digits of ?
Solution 1
We know that , so we can write . Simplifying, we get . Similarly, we can write , or . Solving these two modular congruences, which we know is the only solution by CRT (Chinese Remainder Theorem). Now, since the problem is asking for the least positive integer greater than , we find the least solution is . However, we are have not considered cases where or . so we try . so again we add to . It turns out that does indeed satisfy the original conditions, so our answer is .
Solution 2 (bashing)
We are given that and . This tells us that is divisible by but not . It also tells us that is divisible by 60 but not 120. Starting, we find the least value of which is divisible by which satisfies the conditions for , which is , making . We then now keep on adding until we get a number which satisfies the second equation. This number turns out to be , whose digits add up to .
-Midnight
Solution 3 (bashing but worse)
Assume that has 4 digits. Then , where , , , represent digits of the number (not to get confused with ). As given the problem, and . So we know that (last digit of ). That means that
Video Solution
https://youtu.be/tk3yOGG2K-s -
See Also
2020 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 23 |
Followed by Problem 25 | |
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 AMC 10 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.