B1=3
S6=b1(1-q^6)/(1-q)=b1(1-q^3)(1+q^3)/(1-q)=b1(1-q)(1+q+q^2)(1+q^3)/(1-q)=b1(1+q+q^2)(1+q^3)
S3=b1(1-q^3)/(1-q)=b1(1-q)(1+q+q^2)/(1-q)=b1(1+q+q^2)
S6=17*S3
b1(1+q+q^2)(1+q^3)=17*b1(1+q+q^2)
1+q^3=17
q^3=16
bn=b1*q^(n-1)
b7=b1*q^6=b1*(q^3)^2=3*16*16=768
Ответ: 768