The function
is defined by
.

where
and
.
The coefficients are
.
If
then the series
is divergent since the general term of the series does not convergent to
when
.
For every
we have that
and
which are both geometric series with ratio
, hence they converge for all real
such that
and diverge for
with
and
.
Now observe the
.

for all real
such that
.
The interval of convergence of
is
and
.