Given the function f(x)=−2x+4f(x) = -2x + 4f(x)=−2x+4, let
If the inequality anSn<an+1Sn+1\frac{a^n}{S_n} < \frac{a^{n+1}}{S_{n+1}}Snan< holds for all , find the range of the real number .