I have a 4-digit positive integer that doesn't have a 0 in it. If I rearrange the digits of the number to make the smallest possible number, then this new number is 4338 less than the original number. Similarly, if I rearrange the digits to make the greatest possible number, then this new number is 3834 more than the original number.
What is my number?
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 unknown number be N and the four digits be a ≤ b ≤ c ≤ d . Then the smallest number is a b c d and the greatest number is d c b a .
{ N − a b c d = 4 3 3 8 d c b a − N = 3 8 3 4 . . . ( 1 ) . . . ( 2 )
( 1 ) + ( 2 ) : d c b a − a b c d 9 9 9 ( d − a ) + 9 0 ( c − b ) 1 1 1 ( d − a ) + 1 0 ( c − b ) = 8 1 7 2 = 8 1 7 2 = 9 0 8 Divide both sides by 9
A solution to the above equation is d − a = 8 and c − b = 2 . Then the only solutions for d and a are d = 9 and a = 1 . Let N = u v w x . Then, from ( 1 ) :
u v w x − 1 b c 9 ⟹ u − 1 ⟹ 1 0 + x − 9 = 4 3 3 8 = 5 = 8 ⟹ u = 5 ⟹ x = 7
Since c − b = 2 , ⟹ c = b + 2 ⟹ u = b = 5 and x = c = 7 . From 5 v w 7 − 1 5 7 9 = 4 3 3 8 ⟹ v = d = 9 , w = a = 1 and N = 5 9 1 7 .