The first day you will earn 1/10 of a penny. The second day you earn twice as much (2/10 of a cent). The third day you earn double of what you earned the previous day. This payment pattern will continue for the month.

What are some formulas I could use to figure out the total. I know that the end total you would earn is 205,891,132,095. Thanks for the help, and have fun with it!

.1(2)^n

Does n = 28, 30 or 31?