a(n+1)+1=2an+2
=2(an+1)
所以a(n+1)+1/an+1=2
an+1为公比=2的等比数列
a1=1
a1+1=2
{an+1}=2×2的n-1次幂
=2的n次幂
an=2的n次幂-1