Lời giải:
Xét tử số:
$X=1+2+2^2+2^3+...+2^{2008}$
$2X=2+2^2+2^3+2^4+....+2^{2009}$
$\Rightarrow 2X-X=(2+2^2+2^3+2^4+....+2^{2009})-(1+2+2^2+...+2^{2008})$
$\Rightarrow X=2^{2009}-1$
$\Rightarrow S=\frac{X}{1-2^{2009}}=\frac{2^{2009}-1}{-(2^{2009}-1)}=-1$