Home /
Expert Answers /
Computer Science /
find-the-flaw-in-this-induction-proof-let-p-n-be-the-statement-that-n2-n-11-is-prime-where-n1-pa502
(Solved): Find the flaw in this induction proof. Let P(n) be the statement that n2+n+11 is prime where n1 ...
Find the flaw in this induction proof. Let P(n) be the statement that n2+n+11 is prime where n≥1 is an integer. Step 1: P(1) is true because 12+1+11=13 is prime. Step 2: Assume P(k) is true for some integer k≥1, that is, k2+k+11 is prime for some integer k≥1. Step 3: By algebra, (k+1)2+(k+1)+11==(k2+2k+1)+(k+1)+11==(k2+k+11)+2k+2. Step 4: By the inductive hypothesis, k2+k+11 is prime. Step 5: Therefore (k2+k+11)+2k+2 is also prime. Step 6: So (k+1)2+(k+1)+11 is prime and P(k+1) is true. The flaw is in Step