Answer:
Step-by-step explanation:
The number of grains of wheat on the n(th) square is 2^(n-1), or 2 to
the power of n-1. This is because the first square has 2^0 = 1 grain,
the second has 2^1 = 2, and the n(th) square has twice as many as the
previous. Thus the total number of grains of wheat is
S = 1 + 2 + 4 + 8 + ... + 2^63.
Since this is a geometric sequence with common ratio 2, the sum is
2^64 - 1
S = -------- = 2^64 - 1 = 18446744073709551615.
2 - 1