Alfik0 wrote:There's one more method to get 127 and I think it's the one meaned(ofc I can't be sure, but...)

You have to double both amount of pennies and number of square, so it will look like it:

square 1 - 1

square 2 - 2

square 3 - 0

square 4 - 4

squares 5 to 7 - 0

square 8 - 8

square 16 - 16

square 32 -32

square 64 - 64

what in total gives 127

i think you're right, thanks! i completely overlooked this.

1 penny on the 1st square, 2 pennies on the 2nd, 4 on 4th, 8 on 8th, 16 on 16th, 32 on 32nd and 64 on 64th gives 1.27$

still, i think it would've been funnier if he had just gone with the arithmetic sequence and given him 20$.