Assuming a 30 day month...we have
Sum =
Beginning amount in cents * [ 1 - (ratio beween terms)^no. of days ] / [1 - ratio beween terms ] =
1 * [ 1 - 2^30 ] / [1 - 2] = 1073741823 cents = $1,073,741,823
This simplifies to : 2n - 1 = 230 - 1 = 1073741823 cents = $1,073,741,823
The second is obviously easier to deal with....!!!
Also....." n" can be any number of "doubling" days......
