If you moved the 3 at the end of a certain large number to the beginning, it would be the same as multiplying it by 3. What is the number?
(In reply to
re(2): Standard solution by Charlie)
You confirm my finding for 2,2 and length prediction for 6,6 and do much more! Your program is really simple, although I still don't understand why it works. The 4,4 case is interesting for the fact that the answer is so short compared to the others. Generalizing so the multiplier is different from the digit moved was something that would never have ocurred to me. Good show.
|
Posted by Richard
on 2004-03-02 11:50:29 |