OFFSET
-1,1
COMMENTS
The alternating series of reciprocal powers of prime numbers converges for any x > 0 (absolutely so if x > 1) but is hard to compute.
The next digits of C(4), after ...20007, seem to converge to a(24)=0, a(25)= 5.
LINKS
Stanislav Sykora, PARI/GP scripts for primes-related functions, see function AltSum1DivPrimePwr(x,eps), with instructions.
EXAMPLE
0.05137830516674828257520007...
MATHEMATICA
next = 0; ndigits = 13; epsilon = 10^-(2 ndigits); k = 1;
While[test = 1/Prime[k + 1]^4 - 1/Prime[k]^4; -test > epsilon,
next = next + test; k += 2];
First[RealDigits[-next, 10, ndigits]] (* Robert Price, Sep 07 2019 *)
PROG
(PARI) See Sykora link.
CROSSREFS
KEYWORD
AUTHOR
Stanislav Sykora, May 14 2014
STATUS
approved