Ratio test (source code)

= Ratio test
{wiki}

For nonzero terms, if
$$
\limsup_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|<1,
$$
then $\sum a_n$ converges absolutely. If the ratio has a limit greater than one, the terms do not tend to zero and the series diverges.