Given number:
$$\frac{\cos{\left(\pi n \right)}}{5^{n}}$$
It is a series of species
$$a_{n} \left(c x - x_{0}\right)^{d n}$$
- power series.
The radius of convergence of a power series can be calculated by the formula:
$$R^{d} = \frac{x_{0} + \lim_{n \to \infty} \left|{\frac{a_{n}}{a_{n + 1}}}\right|}{c}$$
In this case
$$a_{n} = \cos{\left(\pi n \right)}$$
and
$$x_{0} = -5$$
,
$$d = -1$$
,
$$c = 0$$
then
$$\frac{1}{R} = \tilde{\infty} \left(-5 + \lim_{n \to \infty} \left|{\frac{\cos{\left(\pi n \right)}}{\cos{\left(\pi \left(n + 1\right) \right)}}}\right|\right)$$
Let's take the limitwe find
$$\frac{1}{R} = \tilde{\infty} \left(-5 + \lim_{n \to \infty} \left|{\frac{\cos{\left(\pi n \right)}}{\cos{\left(\pi \left(n + 1\right) \right)}}}\right|\right)$$
$$R = 0 \left(-5 + \lim_{n \to \infty} \left|{\frac{\cos{\left(\pi n \right)}}{\cos{\left(\pi \left(n + 1\right) \right)}}}\right|\right)^{-1}$$