Let P(n) : Pn + 1 + (p + 1)2n - 1 is divisible by p2 + p + 1.
For n = 1, P(1): p2 +(p+1)1
which is divisible by p2 + p + 1
.'. P (1)is true.
Let P (k) be true. ie,
.'. P (k+ 1) is divisibleby p2 + p + 1
.'. P (k + 1) is true.
Hence, by mathematical induction P (n) is true for all n ∈ N.