11+21+2+31+…+41+…+51·2/22·3/23·4/24·5/25·6/2…0101P(1)01P(2)01P(3)01P(4)P(5)1P(k): 1+…+k = k(k+1)/221+…+k + (k+1)3= k(k+1)/2 + (k+1)4= (k+1)(k+2)/2
Cells: the left side (back) and the formula (front) for n = 1 to 5Lamps: a lit lamp means P(n) is proven; a lit wire passes the truth onCalculator: checks the base case and counts the chainProof card: the algebra of the inductive step, line by lineThe claim P(n): 1 + 2 + … + n = n(n+1)/2, shown for n = 1 to 5. The back row adds up the left side, the row in front of it works out the formula, and they match: 1, 3, 6, 10, 15. Matching examples are not a proof. The proof by induction has two parts. Base case: the calculator checks P(1), 1 = 1, and the first lamp lights. Inductive step: the proof card shows that P(k) gives P(k + 1) for any k. Then the lamps light one after another, like falling dominoes, and the wire runs on past P(5) for every n. A second proof: write the sum forwards and backwards and add the two rows. Each of the n columns adds up to n + 1, which gives twice the sum, so the sum is n(n+1)/2. For n = 100 that is 5050.

The claim

  1. A proof shows a claim is true in every case. Our claim, called P(n): 1 + 2 + … + n = n(n+1)/2 for every whole number n ≥ 1. The formula row works out the right side for n = 1 to 5.

Base case

Inductive step

Every n

Try it in the Python prompt

;; step 1/9 · A claim for every n
>>> def f(n):
...     return n * (n + 1) // 2
...
>>> [f(n) for n in range(1, 6)]
[1, 3, 6, 10, 15]

The dots in 1 + 2 + … + n mean "keep adding every whole number up to n". The inductive hypothesis is not circular: we assume P(k) and show P(k + 1), but we never assume P(k + 1) itself. The base case can start anywhere: to prove a claim for every n ≥ 4, check P(4) first and the chain runs from there.