Proof Techniques & Number Theory


Shared context
S(n)=0+1+⋯+n for natural numbers including 0. Prove S(m+n)=S(m)+S(n)+mn.
Answer & solution
Answer: S(m+n)=S(m)+S(n)+mn for all m,n≥0. (no official key was published)
1. Fix an arbitrary natural number m and induct on n. This proves the statement for all n for each m, and hence for all pairs.
2. Base n=0: S(m+0)=S(m), while S(m)+S(0)+m·0=S(m).
3. Inductive hypothesis: assume S(m+n)=S(m)+S(n)+mn. By the defining sum, S(m+n+1)=S(m+n)+(m+n+1).
4. Substitute the hypothesis and regroup: S(m+n+1)=S(m)+S(n)+mn+m+n+1 = S(m)+[S(n)+(n+1)]+m(n+1) = S(m)+S(n+1)+m(n+1).
5. This proves the induction step without assuming the closed form n(n+1)/2. Since m was arbitrary, the required two-variable identity follows.