Assume given statement
Let given statement be
P(n),i.e.,P(n)=1+2+22+...+2n=2n+1−1∀nϵN
Check that statement is true for n=1
We observe that P(n) is true for n=1,
Since, 1+2=21+1−1
Assume P(k) to be true and then prove P(k+1) is true.
Assume that P(n) is true for n=k
⇒1+2+22+...+2k=2k+1−1…(1)
To prove: 1+2+22+....+2k+1=2k+2−1
LHS =1+2+22+...+2k+2k+1
LHS =2k+1−1+2k+1
=2.2k+1−1
=2k+1+1−1
=2k+2−1=RHS
Thus,P(k+1) is true whenever P(k) is true.
Hence, By Principle of mathematical Induction P(n) is true for all natural numbers n.