Difference between revisions of "2017 AMC 10A Problems/Problem 20"
(→Solution 2) |
|||
(10 intermediate revisions by 5 users not shown) | |||
Line 5: | Line 5: | ||
==Solution 1== | ==Solution 1== | ||
− | Note that <math>n \equiv S(n) \pmod{9}</math>. This can be seen from the fact that <math>\sum_{k=0}^{n}10^{k}a_k \equiv \sum_{k=0}^{n}a_k \pmod{9}</math>. Thus, if <math>S(n) = 1274</math>, then <math>n \equiv 5 \pmod{9}</math>, and thus <math>n+1 \equiv S(n+1) \equiv 6 \pmod{9}</math>. The only answer choice that | + | Note that <math>n \equiv S(n) \pmod{9}</math>. This can be seen from the fact that <math>\sum_{k=0}^{n}10^{k}a_k \equiv \sum_{k=0}^{n}a_k \pmod{9}</math>. Thus, if <math>S(n) = 1274</math>, then <math>n \equiv 5 \pmod{9}</math>, and thus <math>n+1 \equiv S(n+1) \equiv 6 \pmod{9}</math>. The only answer choice that satisfies <math>n+1 \equiv 6 \pmod{9}</math> is <math>\boxed{\textbf{(D)} 1239}</math>. |
==Solution 2== | ==Solution 2== | ||
− | One divisibility rule that we can use for this problem is that a multiple of <math>9</math> will always have its digits sum to a multiple of <math>9</math>. We can find out that the least number of digits the number <math>n</math> has is <math>142</math>, with <math>141</math> <math>9</math>'s and <math>1</math> <math>5</math>, assuming the rule above. No matter what arrangement or different digits we use, the | + | One divisibility rule that we can use for this problem is that a multiple of <math>9</math> will always have its digits sum to a multiple of <math>9</math>. We can find out that the least number of digits the number <math>n</math> has is <math>142</math>, with <math>141</math> <math>9</math>'s and <math>1</math> <math>5</math>, assuming the rule above. No matter what arrangement or different digits we use, the divisibility rule stays the same. To make the problem simpler, we can just use the <math>141</math> <math>9</math>'s and <math>1</math> <math>5</math>. By randomly mixing the digits up, we are likely to get: <math>9999</math>...<math>9995999</math>...<math>9999</math>. By adding <math>1</math> to this number, we get: <math>9999</math>...<math>9996000</math>...<math>0000</math>. |
− | Knowing that <math>n+1</math> is divisible by <math>9</math> when <math>6</math> | + | Knowing that <math>n+1</math> is divisible by <math>9</math> when <math>6</math>, we can subtract <math>6</math> from every available choice, and see if the number is divisible by <math>9</math> afterwards. |
After subtracting <math>6</math> from every number, we can conclude that <math>1233</math> (originally <math>1239</math>) is the only number divisible by <math>9</math>. | After subtracting <math>6</math> from every number, we can conclude that <math>1233</math> (originally <math>1239</math>) is the only number divisible by <math>9</math>. | ||
So our answer is <math>\boxed{\textbf{(D)}\ 1239}</math>. | So our answer is <math>\boxed{\textbf{(D)}\ 1239}</math>. | ||
Line 22: | Line 22: | ||
Based on what we have done for evaluating the previous two answer choices, we can create an equation we can use to evaluate the final three possibilities. Notice that if <math>S(n+1)=N</math>, then <math>n</math> must be a number whose initial digits sum to <math>N-1</math>, and whose other, terminating digits, are all <math>9</math>. Thus, we can evaluate the three final possibilities by seeing if the equation <math>(N-1)+9x=1274</math> has an integer solution. | Based on what we have done for evaluating the previous two answer choices, we can create an equation we can use to evaluate the final three possibilities. Notice that if <math>S(n+1)=N</math>, then <math>n</math> must be a number whose initial digits sum to <math>N-1</math>, and whose other, terminating digits, are all <math>9</math>. Thus, we can evaluate the three final possibilities by seeing if the equation <math>(N-1)+9x=1274</math> has an integer solution. | ||
− | The equation does not have an integer solution for <math>N=12</math>, so <math>C</math> is not correct. However, the equation does have an integer solution for <math>N=1239</math> (<math>x=4</math>), so <math>\boxed{D}</math> is the answer. | + | The equation does not have an integer solution for <math>N=12</math>, so <math>C</math> is not correct. However, the equation does have an integer solution for <math>N=1239</math> (<math>x=4</math>), so <math>\boxed{\textbf{(D)} ~1239}</math> is the answer. |
+ | |||
==Solution 4 (Intuition)== | ==Solution 4 (Intuition)== | ||
If adding <math>1</math> to <math>n</math> does not carry any of its digits, then <math>S(n+1)=S(n)+1</math> (ex: <math>25+1=26</math>. Sum of digits <math>7 \rightarrow 8</math>). But since no answer choice is <math>1275</math>, that means <math>n</math> has some amount of <math>9</math>'s from right to left. | If adding <math>1</math> to <math>n</math> does not carry any of its digits, then <math>S(n+1)=S(n)+1</math> (ex: <math>25+1=26</math>. Sum of digits <math>7 \rightarrow 8</math>). But since no answer choice is <math>1275</math>, that means <math>n</math> has some amount of <math>9</math>'s from right to left. | ||
Line 29: | Line 30: | ||
Since <math>S(n) \equiv 5 \pmod{9}</math>, that means <math>S(n+1) \equiv 6 \pmod{9}</math>. The only answer choice that meets this requirement is <math>\boxed{\textbf{(D) } 1239}.</math> | Since <math>S(n) \equiv 5 \pmod{9}</math>, that means <math>S(n+1) \equiv 6 \pmod{9}</math>. The only answer choice that meets this requirement is <math>\boxed{\textbf{(D) } 1239}.</math> | ||
+ | |||
+ | ==Solution 5 (Answer choices and luck)== | ||
+ | We note quickly from the given value of <math>S(n)</math> that the form of n is likely going to be of the form <math>999999999...X9...9999</math> | ||
+ | where X is a natural number between 1 and 9 inclusive | ||
+ | |||
+ | This allows us to create the following equation | ||
+ | |||
+ | |||
+ | <math>S(n+1)=1273 - 9y= A </math> | ||
+ | |||
+ | where <math>A</math> is an answer choice and <math>y</math> is any natural number | ||
+ | |||
+ | Plugging in answer choices for <math>A</math> we quickly see that | ||
+ | <math>\boxed{\textbf{(D) } 1239}.</math> is our answer | ||
+ | |||
+ | <math>\textbf{Note}</math>: we do have a second possible form for <math>n</math> which is | ||
+ | |||
+ | <math>99999...993</math> | ||
+ | |||
+ | and thus <math>n+1 = 99999...994</math> and <math>S(n+1)=1273</math> | ||
+ | |||
+ | but since <math>1273</math> is not an answer choice we can disregard this case | ||
~BakedPotato66 | ~BakedPotato66 |
Latest revision as of 21:45, 22 July 2024
Contents
Problem
Let equal the sum of the digits of positive integer . For example, . For a particular positive integer , . Which of the following could be the value of ?
Solution 1
Note that . This can be seen from the fact that . Thus, if , then , and thus . The only answer choice that satisfies is .
Solution 2
One divisibility rule that we can use for this problem is that a multiple of will always have its digits sum to a multiple of . We can find out that the least number of digits the number has is , with 's and , assuming the rule above. No matter what arrangement or different digits we use, the divisibility rule stays the same. To make the problem simpler, we can just use the 's and . By randomly mixing the digits up, we are likely to get: ....... By adding to this number, we get: ....... Knowing that is divisible by when , we can subtract from every available choice, and see if the number is divisible by afterwards. After subtracting from every number, we can conclude that (originally ) is the only number divisible by . So our answer is .
Solution 3
The number can be viewed as having some unique digits in the front, following by a certain number of nines. We can then evaluate each potential answer choice.
If is correct, then must be some number , because when we add one to we get . Thus, if is the correct answer, then the equation must have an integer solution (i.e. must be divisible by ). But since it does not, is not the correct answer.
If is correct, then must be some number , because when we add one to , we get . Thus, if is the correct answer, then the equation must have an integer solution. But since it does not, is not the correct answer.
Based on what we have done for evaluating the previous two answer choices, we can create an equation we can use to evaluate the final three possibilities. Notice that if , then must be a number whose initial digits sum to , and whose other, terminating digits, are all . Thus, we can evaluate the three final possibilities by seeing if the equation has an integer solution.
The equation does not have an integer solution for , so is not correct. However, the equation does have an integer solution for (), so is the answer.
Solution 4 (Intuition)
If adding to does not carry any of its digits, then (ex: . Sum of digits ). But since no answer choice is , that means has some amount of 's from right to left.
When , some 's will bump to 0, not affected its. But the first non-9 digit (from right to left) will be bumped up by 1. So . For example, , and the sum of digits .
Since , that means . The only answer choice that meets this requirement is
Solution 5 (Answer choices and luck)
We note quickly from the given value of that the form of n is likely going to be of the form where X is a natural number between 1 and 9 inclusive
This allows us to create the following equation
where is an answer choice and is any natural number
Plugging in answer choices for we quickly see that is our answer
: we do have a second possible form for which is
and thus and
but since is not an answer choice we can disregard this case
~BakedPotato66
Video Solution
https://youtu.be/zfChnbMGLVQ?t=3996
~ pi_is_3.14
Video Solution
See Also
2017 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 19 |
Followed by Problem 21 | |
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 |
2017 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 17 |
Followed by Problem 19 |
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 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.