using mathematical induction...
help please
thank you
It's a pity to use induction
n²+n+2 = (n+1)² - n + 1
n odd => (n+1)² even => (n+1)² - n + 1 even
n even => (n+1)² odd => (n+1)² - n + 1 even
By induction
Easy for n=0
If right for n then n²+n+2 even
(n+1)²+(n+1)+2 = n²+2n+1 + n + 3 = n²+n+2 +2n+2= n²+n+2 +2(n+1)
Hello, NeedHelp18!
Prove by induction: .$\displaystyle n^2 + n + 2$ is even.
Verify $\displaystyle S(1)\!:;\;1^2 + 1 + 2 :=\:4$ . . . even!
Assume $\displaystyle S(k)\!:\;\;k^2 + k + 2 \:=\:2a\;\text{ for some integer }a$
Add $\displaystyle 2k+2$ to both sides: .$\displaystyle (k^2+k+2) + (2k+2) \;=\;2a + (2k+2)$
We have: .$\displaystyle k^2+3k + 4 \;=\;2a + 2k+2$
. . $\displaystyle (k^2 + 2k + 1) + (k + 1) + 2 \;=\;2a + 2k + 2$
. . $\displaystyle \underbrace{(k+1)^2 + (k+1) + 2}_{S(k+1)} \;=\;\underbrace{2(a + k + 1)}_{\text{even}}$
And we have proved $\displaystyle S(k+1)$ . . . The inductive proof is complete.