Proofs · Chapter 14

Sum Formulas

A penny on day one, doubling every day, adds up to 2n − 1 cents. Add up any pattern, test your formula, and see the step proved for every k.

Home › Calculators › Proofs › Sum Formulas

Opens on Chapter 14’s example: the doubling jar: 1¢ on day 1, 2¢ on day 2, 4¢, … for 20 days.

Enter your own case, then press Work it out.

How it works

Guess a formula from small cases (the differences of the totals help), then let induction check it: base case, and total(k) + term(k + 1) = total(k + 1) multiplied out exactly. The cases in the table are a test; the step’s algebra is the proof.

From the book, Chapter 14. After 20 days the jar holds 1,048,575¢ = $10,485.75; day 20 alone is $5,242.88, and 30 days make $10,737,418.23. Hanoi with 10 discs takes 1,023 moves; with 64, at a move a second, about 585 billion years. Ten layers of oranges: 385. Six weeks of volunteers: 364. 1³ + … + 10³ = 3,025 = 55². A decagon has 35 diagonals. The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.