a+ax+ax2++axn-1=a(1-xn)1-x,