b1=4*0.5^1-1=4
b2=4*0.5^2-1=2
q=1/2
sn=(b1(1-q^n))/(1-q)
S6=4(1-0.5^6)/1-0.5=4(63/64)/0.5=(63/6)/0.5=63/8=7.875