OFFSET
0,2
COMMENTS
Binary expansion is given in A071986(n) = pi(n) mod 2.
FORMULA
EXAMPLE
0.148809550788776224969568467866796531982224132808217067371770000563313912...
MATHEMATICA
RealDigits[Sum[(-1)^(k+1)*1/2^Prime[k], {k, 1, 1000}], 10, 100]
PROG
(PARI) suminf(k=1, (-1)^(k+1) * 1/2^prime(k)) \\ Michel Marcus, Mar 20 2019
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Alexander Adamchuk, Aug 22 2006
EXTENSIONS
Offset corrected by R. J. Mathar, Feb 05 2009
Edited by Michel Marcus, Mar 20 2019
STATUS
approved