设公比为q则a1+a4=a1(1+q^3)=18,a2+a3=a1(q+q^2)=12两个方程解得:a1=2,q=2S8=2^9-2
设公比为q,则有 a1*(1+q^3)=18 a1*q*(1+q)=12两式相比得, (q^2-q+1)/q=3/2, 2q^2-5q+2=0,解得q1=2,q2=1/2(舍去)则a1=18/(1+2^3)=2,S8=a1(1-2^8)/(1-2)=510