Interactive picture of proof by induction for the sum 1 + 2 + … + n = n(n+1)/2, with a base case view that substitutes n = 1 and an inductive step view where the term k + 1 joins the assumed sum

Checking n = 1 to 5 proves five cases. One line of algebra proves them all

Testing a formula on a handful of values is not a proof: the next value could still break it. Induction verifies n = 1 once, then takes an unspecified k, assumes the formula there, and shows the next term carries it to k + 1. Switch to the inductive step and watch the term k + 1 join the assumed sum; then change k and notice the algebra never changes.

Sum 1 to n = n(n+1)/2 Base case
Switch to the inductive step and watch the next term join the assumed sum.
Which part of the proof
n = 1: both sides equal 1 ✓
Illustrative k (any k)k = 4
1 4 7 10
Left side at n = 1, added up
1
Right side 1×2/2 from formula
1
Go deeper