We shall prove by inducting over n.
When n=1 .
A(1,1)=2=21.
We see that it is true for n=1.
Suppose it is true for some n=k≥1 . That is, A(1,k)=2k .
We shall prove that it holds for n=k+1 . Since k≥1⟹k+1≥2 .
So,
A(1,k+1)=A(1−1,A(1,k+1−1))A(1,k+1)=A(0,A(1,k))
Recall that A(1,k)=2k .
⟹A(1,k+1)=A(0,2k)=2.2k=2k+1 .
Therefore, A(1,k+1)=2k+1 .
This shows that it is true for n=k+1 . Hence, A(1,n)=2n whenever n≥1 .
Comments
Leave a comment