OFFSET
0,2
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(2), after ...6014, seem to converge to a(16)=1, a(17)=5.
LINKS
Stanislav Sykora, PARI/GP scripts for primes-related functions, see function AltSum1DivPrimePwr(x,eps), with instructions.
Eric Weisstein's World of Mathematics, Prime Sums
Eric Weisstein's World of Mathematics, Prime Zeta Function
Wikipedia, Prime Zeta Function
EXAMPLE
0.1628162466636014...
MATHEMATICA
k = 1; p = 2; s = 0; While[p < 1000000000, s = N[s + (-1)^k/p^2, 40]; k = Mod[++k, 2]; p = NextPrime@ p]; s (* takes ~30 minutes on an average laptop to 18 decimal digits *)(* Robert G. Wilson v, Dec 30 2017 *)
PROG
(PARI) See Sykora link.
CROSSREFS
KEYWORD
AUTHOR
Stanislav Sykora, May 14 2014
STATUS
approved