Penny doubled every day

From SQL Server Wiki
Jump to: navigation, search
Day Amount Running Amount
1 0.01 0.01
2 0.02 0.03
3 0.04 0.07
4 0.08 0.15
5 0.16 0.31
6 0.32 0.63
7 0.64 1.27
8 1.28 2.55
9 2.56 5.11
10 5.12 10.23
11 10.24 20.47
12 20.48 40.95
13 40.96 81.91
14 81.92 163.83
15 163.84 327.67
16 327.68 655.35
17 655.36 1,310.71
18 1,310.72 2,621.43
19 2,621.44 5,242.87
20 5,242.88 10,485.75
21 10,485.76 20,971.51
22 20,971.52 41,943.03
23 41,943.04 83,886.07
24 83,886.08 167,772.15
25 167,772.16 335,544.31
26 335,544.32 671,088.63
27 671,088.64 1,342,177.27
28 1,342,177.28 2,684,354.55
29 2,684,354.56 5,368,709.11
30 5,368,709.12 10,737,418.23
31 10,737,418.24 21,474,836.47