Question 1033160
sum for i=1:29 (2^i) = 1073741822 cents or $10,737,418.22
*
2^0+2^1+2^2 ...+2^29
Notice that she gets 2^0 cents the first day, 2^1 cents the second
day and so forth.
sum for i=1:29 (2^i) was calculated using www.wolframalpha.com