这里有这样的题目了:
Digit Switch – 6-digit Num3er ABCDEF * 6 = DEFABC | Fun With Num3ers
Let ABC = x and DEF = y
We can then write: ABCDEF = 1000*x + y
So, 6 * ABCDEF = 6*(1000*x + y)
And, 6 * ABCDEF = DEFABC and DEFABC = 1000*y + x
So, 6*(1000*x + y) = 1000*y + x
So, 5999*x – 994*y = 0 or y = 857*x / 142
The solution: x = 142 and y = 857 and the number is 142857
142857 × 6 = 857142