2076 4

CSC165 ยท 2076 ยท 5 marks

Prove that for every positive integer nโ‰ฅ1,n2+nn \geq 1, n^2 + nnโ‰ฅ1,n2+n is even integer using mathematical induction.

Prove that for every positive integer nโ‰ฅ1,n2+nn \geq 1, n^2 + nnโ‰ฅ1,n2+n is even integer using mathematical induction. [5]

Discrete StructuresChapter 4: Induction and Recursionmathematical Induction

An integer is even if it can be written in the form 2k for some integer k. Also note that: $$n^2 + n = n(n+1)$$ This is the product of two consecutive integers, which will be useful in each step. --- Substitute n = 1: $$n^2 + n = (1)^2 + (1) = 1 + 1 = 2$$ Since 2 = 2(1), which is of the form 2k, ...