- Get link
- X
- Other Apps
Problem:
Find the smallest positive number that doubles when you move the last digit to the front.
Solution:
The answer is 105263157894736842, and the solution is similar to Twisty Temperature. Let this number be x=xn⋅10n−1+...+x1⋅101+x0 with 0<xn<10, then after moving the last digit to the front we get y=x0⋅10n−1+(x−x0)/10. We also have that y=2x, so our equation becomes 19⋅x=x0⋅(10n−1). Now 10 is a primitive root modulo 19, and so it follows that x is integral if and only if n is of the form 18⋅m. Also note that we need 2≤x0≤9 since we require 0<xn<10. When m=1 and x0=2 we get x=105263157894736842; when m=2 and x0=2 we get 2(1036−1)/19=105263157894736842105263157894736842. That this number indeed doubles when you move the last digit to the front can be verified by WolframAlpha.
Comments
Post a Comment