login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242301 Decimal expansion of C(2), where C(x) = -Sum{k>=1} (-1)^k/prime(k)^x. 15
1, 6, 2, 8, 1, 6, 2, 4, 6, 6, 6, 3, 6, 0, 1, 4 (list; constant; graph; refs; listen; history; text; internal format)
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

Table of n, a(n) for n=0..15.

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

Cf. A078437 (x=1), A242302 (x=3), A242303 (x=4), A242304 (x=5).

Cf. A085548.

Sequence in context: A270138 A177889 A086744 * A256129 A019692 A031259

Adjacent sequences: A242298 A242299 A242300 * A242302 A242303 A242304

KEYWORD

nonn,cons,hard,more

AUTHOR

Stanislav Sykora, May 14 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 21:00 EST 2022. Contains 358648 sequences. (Running on oeis4.)