To a number I subtract the sum of its digits, and of the resulting number I extract a digit in such a way that the sum of the remaining digits of the resulting number is 2018. What digit have I extracted?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let the number be n and let its sum of digits is denoted by S ( n ) , then we have that n − S ( n ) is divisible by 9 .
According to the question, if you extract one number from it, the sum of its digits is 2 0 1 8 , therefore we must have an integer 0 ≤ x ≤ 9 such that 2 0 1 8 + x is divisible by 9 .
We see that the only such number is 7 , since 2 0 2 5 is divisible by 9 .