Discrete math. Prove the following fact by induction: For every non-negative integ

hexacordoK

hexacordoK

Answered question

2021-08-12

Discrete math.
Prove the following fact by induction:
For every non-negative integer n, 2 evenly divides n27n+4.

Answer & Explanation

dieseisB

dieseisB

Skilled2021-08-13Added 85 answers

Step 1
Let the statement is P(n): 2 evenly divides n27n+4.
For n=1,n27n+4=2 which is divisible by 2.
So, the Statement P(n) is true for n=1.
Let the Statement P(n) is true for n=k, where k is a non-negative integer.
We have to prove that the Statement P(n) is also true for n=k+1.
Since P(k) is true, let k27k+4=2p , for some integer p.
Step 2
Now, (k+1)27(k+1)+4
=k25k2
=k27k+4+2k6
=2p+2(k3)
=2(p+k3)
Since p and k both are integers then (p+k3) is also an integer.
This shows that P(k+1) is true.
Thus P(1) is true and (k+1) is true if P(k) is true, then using principle of mathematical induction we can conclude that P(n) is true for all non-negative integer n.
So, 2 evenly divides n27n+4, for all non-negative integer n.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?