Consider the series
,
where
is an arbitrary real number and
is the
th
prime. That is, the series
.
Equivalently, this series can be written as
,
where
.
For what values of
does this series converge?
Clearly,
,
so by the direct comparison test the series must converge absolutely
wherever the geometric series
converges absolutely. That is, the series converges absolutely
.
If
,
then
,
so the series diverges. If
,
then the series becomes
,
diverging to
.
if
,
then the series becomes
,
diverging to
.
We conclude that
,
converges on
and nowhere else on the real line.
We can now define a function
as
.
Here is the graph of
,
with
approximated up to the
term:
Based on this graph, it would appear that
is continuous, that
is
,
and that
is
.
It also appears that the function is increasing for
-values
from the left edge of the domain to about -0.5, then decreasing up to
about zero, then increasing again up to the right edge of the domain. Let
us see how many of these properties we can prove.
Since
is defined by a convergent power series, it is an analytic function,
which implies, among other things, that it is continuous. The derivative
of
is
,
or
.
Since all primes besides 2 are odd, every term in this series except the
first is of even order. For
,
all the even-order terms in the definition of
are positive and the single odd-order term is negative. Whether
is decreasing or increasing, therefore, depends on whether
.
Approximately, it seems that
is increasing on (-1, -0.457) and decreasing on (-0.457, 0).
For
,
each term is positive, so
is positive, so
is increasing.
At the moment I am unable to find proofs of the one-sided limits at 1 and
-1.