login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165509 Continued fraction expansion of sum of reciprocals of primorial numbers: 1/2 + 1/6 + 1/30 + 1/210 + ... . 2
0, 1, 2, 2, 1, 1, 4, 1, 2, 1, 1, 6, 13, 1, 4, 1, 16, 6, 1, 1, 4, 5, 8, 1, 1, 5, 1, 22, 1, 1, 1, 2, 2, 1, 1, 46, 1, 1, 4, 1, 53, 1, 3, 2, 1, 3, 1, 2, 1, 2, 2, 8, 11, 1, 7, 1, 28, 1, 3, 1, 2, 2, 4, 7, 16, 5, 1, 1, 2, 1, 2, 1, 1, 2, 1, 5, 3, 17, 1, 7, 2, 3, 66, 1, 1, 4, 1, 27, 12, 2, 1, 1, 3, 9, 1, 12, 14, 2, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Harry J. Smith, Table of n, a(n) for n = 0..20000

EXAMPLE

0.705230171791800965147431682... = 0 + 1/(1 + 1/(2 + 1/(2 + 1/(1 + ...))))

MATHEMATICA

ContinuedFraction[Sum[1/Product[Prime[i], {i, n}], {n, 80}], 120] (* G. C. Greubel, Oct 21 2018 *)

PROG

(PARI) { allocatemem(932245000); default(realprecision, 21000); p=1; s=x=0; for (k=1, 10^9, p*=prime(k); s+=1.0/p; if (s==x, break); x=s ); x=contfrac(s); for (n=0, 20000, write("b165509.txt", n, " ", x[n+1])) }

(MAGMA) SetDefaultRealField(RealField(100)); ContinuedFraction( (&+[1/(&*[NthPrime(j):j in [1..n]]): n in [1..80]]) ); // G. C. Greubel, Oct 21 2018

CROSSREFS

Cf. A064648 (decimal expansion).

Sequence in context: A046079 A319700 A279104 * A100996 A232504 A292201

Adjacent sequences:  A165506 A165507 A165508 * A165510 A165511 A165512

KEYWORD

cofr,nonn

AUTHOR

Harry J. Smith, Sep 21 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 26 09:29 EDT 2021. Contains 346294 sequences. (Running on oeis4.)