Assume that is a 2-digit integer, where and are positive integers. If the positive difference between the integer and the sum of its digits can be expressed in the form of , solve for the positive value of in which .
Additional Note:
Challenge : Prove that for any 2-digit integer, having the same rule as above, the value of is always the same.
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.
Solution for the first question
Let us assume that the number is 2 8 , therefore a = 2 , b = 8 .
28 - (2 + 8) = 18 [We get m = 1 , n = 8 ]
S 2 = m + n
S 2 = 9
S = 3 , S = − 3
But because the question says the positive value of S , S = 3
Challenge Solution
From the information, we get the equation:
( 1 0 a + b ) − ( a + b ) = ( 1 0 m + n )
[Simplify] 9 a = 1 0 m + n
9 a = m + n + 9 m
9 a = S 2 + 9 m
S 2 = 9 ( a − m )
Now we need to solve for the value of a − m ,
The maximum possible number is 99, where 9 0 + 9 − 9 − 9 = 8 1
The minimum possible number is 11, where \(10+1-1-1 = 9)
If we observe, the difference between the 'ones' digit of the first (a) and the second (m) has a range of \(1-9\), and does not exceeds 9 (e.g. 10). Thus, we can conclude that the difference between the 'tens' digit is always 1
Finally, we get S 2 = 9 ( 1 ) -> S 2 = 9 [PROVEN]