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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036248 Denominator of fraction equal to the continued fraction [ 2, 3, 5, ..., prime(n) ]. 5
1, 3, 16, 115, 1281, 16768, 286337, 5457171, 125801270, 3653694001, 113390315301, 4199095360138, 172276300080959, 7412079998841375, 348540036245625584, 18480034001016997327, 1090670546096248467877, 66549383345872173537824 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(1) = 1, a(2) = 3, a(n) = A000040(n) * a(n-1) + a(n-2). - Daniel Suteu, Dec 20 2016
EXAMPLE
Prime(4) = 7, and 2+1/(3+1/(5+1/7)) = 266/115, so a(4) = 115. - Jon E. Schoenfield, Dec 20 2016
PROG
(PARI) a(n)=if(n<0, 0, contfracpnqn(vector(n, i, prime(i)))[2, 1])
CROSSREFS
Cf. A036247.
Sequence in context: A177402 A036244 A011818 * A111555 A336293 A355718
KEYWORD
frac,easy,nonn
AUTHOR
EXTENSIONS
More terms from Benoit Cloitre, May 25 2003
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 April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)