Exercise 500Logic, sets and proofs › Proof techniques › InductionHigh schoolAdded 3 Nov 2026
Sum of squares by induction
#induction#sum of squares#integers
Statement
Prove by induction that for all .
Hint
Base case ; inductive step: add and simplify.
Show solutionHide solution
Solution
Base case. : . ✓
Inductive step. Assume the formula for . Then
Factor :
Factor :
This is the formula for .
Conclusion. By induction, the formula holds.