is a positive integer with the property that if its last digit is taken and shifted to the first digit's place, the resulting number is . Assuming that the leading digit of cannot be zero, what is the minimum value of .
Note :
Take number , taking the last digit and shifting to first digit's place would result in .
Even if were , it would be an invalid answer as should not be written as .
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.
N = 1 0 a + b where b is a non-zero single digit positive integer and a is an m digits positive integer
If we shift b to the first digit's place we get
2 N = 1 0 m b + a
Combining the two equations
1 0 m b + a = 2 0 a + 2 b ⟺ 1 9 a = 1 0 m b − 2 b
⟹ a = 1 9 b ( 1 0 m − 2 )
Since a is an integer, 1 9 must divide the numerator of the fraction. Since 1 ≤ b ≤ 9 , 1 9 must divide 1 0 m − 2
The smallest m such that 1 0 m ≡ 2 m o d 1 9 is 1 7 , plugging in
a = 1 9 b ( 1 0 1 7 − 2 ) = 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 b
Since a is a 1 7 digits number, b is at least 2 . b = 2 gives
a = 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 ⋅ 2 = 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4
This is a solution since
N = 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2
2 N = 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4
So the smallest N is
1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2