\(S=3+\frac{3}{2}+\frac{3}{2^2}+....+\frac{3}{2^9}\)
\(S\cdot\frac{1}{3}=1+\frac{1}{2}+\frac{1}{2^2}+...+\frac{1}{2^9}\)
\(S\cdot\frac{2}{3}=2+1+\frac{1}{2}+...+\frac{1}{2^8}\)
\(S\cdot\frac{2}{3}-S\cdot\frac{1}{3}=2+1+\frac{1}{2}+...+\frac{1}{2^8}-1-\frac{1}{2}-...-\frac{1}{2^9}\)
\(S\cdot\frac{1}{3}=2-\frac{1}{2^9}\)
\(S=\left(2-\frac{1}{2^9}\right):\frac{1}{3}\)
\(S=\left(2-\frac{1}{2^9}\right)\cdot3\)
\(S=6-\frac{3}{2^9}\)
\(S=\frac{6\cdot2^9-3}{2^9}\)