cn=2^(kn+b)=2^[k(n-1)+k+b]=2^(b+k)*2^[k(n-1)]=2^(b+k)*(2^k)^(n-1)
c1=2^(b+k),q=2^k
Sn=c1*(1-q^n)/(1-q)=2^(b+k)*[1-(2^k)^n]/(1-2^k)
cn=2^(kn+b)=2^[k(n-1)+k+b]=2^(b+k)*2^[k(n-1)]=2^(b+k)*(2^k)^(n-1)
c1=2^(b+k),q=2^k
Sn=c1*(1-q^n)/(1-q)=2^(b+k)*[1-(2^k)^n]/(1-2^k)