The king went broke long before the 64th day. The girl took over the palace and declared herself Queen of Seedonia. She ended up with
18,446,744,073,709,551,616 Seedos.
If the king had looked at the pattern that was emerging, he would have seen that he was headed for big trouble:
1, 2, 4, 8, 16, 32 . . .
These are the powers of 2. The sequence may be written:
20, 21, 22, 23, 24, 25. . .
After 64 days, we have
264 = 18,446,744,073,709,551,616 Seedos.
Actually, the girl was being modest in her request. In another version of this puzzle, the money is left on each square instead of being removed. In this case the total would equal:
20 + 21 + 22 + 23 + 24 + 25 + . . . + 262 + 263 + 264
The moral of the story is: Beware of exponential deals.