OFFSET
0,1
COMMENTS
The asymptotic density of numbers which have an odd number of the trailing zeros in their primorial base representation (A342050). - Amiram Eldar, Feb 28 2021
LINKS
Paolo P. Lava, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Pierce Expansion.
FORMULA
Equals Sum_{i>=1} (-1)^(i+1)/A002110(i).
EXAMPLE
0.3623062223664980487986263722240934618111798585344209997599510170278418863068...
MAPLE
Digits := 80 : a := 0 : for i from 1 to 100 do a := a+(-1.0)^(i-1)/mul(ithprime(j), j=1..i) ; print(a) ; od:
PROG
(PARI) P=1; -sumalt(n=1, (-1)^n/P*=prime(n)) \\ Charles R Greathouse IV, Oct 03 2016
CROSSREFS
KEYWORD
cons,nonn
AUTHOR
R. J. Mathar, Oct 31 2007
EXTENSIONS
Corrected last entry by Paolo P. Lava, May 28 2013
STATUS
approved