miamivince
New member
- Joined
- Jan 25, 2013
- Messages
- 23
A code has an unknown number of digits. When the first 2 digits are put @ the end of a new number and the remaining digits move to the front, the new number is double the first. What is the number ?
The soln is 142857 , 285714. I let the first 2 digits be x. The remaining digits are y.
2 ( x10 ^ n+ 2 + y10 ^ n) = y10 ^ n+ 2 + 10x .
Am I on the correct path ? Thanks.
The soln is 142857 , 285714. I let the first 2 digits be x. The remaining digits are y.
2 ( x10 ^ n+ 2 + y10 ^ n) = y10 ^ n+ 2 + 10x .
Am I on the correct path ? Thanks.