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!)
A110021 Final term of the simple continued fraction for prime(n+1)/prime(n). 5
2, 2, 2, 3, 2, 4, 2, 3, 5, 2, 6, 4, 2, 3, 5, 5, 2, 6, 3, 2, 6, 3, 5, 8, 4, 2, 3, 2, 4, 14, 3, 5, 2, 9, 2, 6, 6, 3, 5, 5, 2, 10, 2, 4, 2, 2, 2, 3, 2, 4, 5, 2, 10, 5, 5, 5, 2, 6, 4, 2, 3, 13, 3, 2, 4, 4, 6, 3, 2, 4, 5, 7, 6, 6, 3, 5, 2, 4, 8, 9, 2, 10, 2, 6, 3, 5, 8, 4, 2, 3, 11, 7, 3, 2, 3, 5, 2, 2, 18, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Prime(6)/prime(5) = 13/11 = 1 + 1/(5 + 1/2). So a(5) = 2.
MATHEMATICA
Table[Last[ContinuedFraction[Prime[n + 1]/Prime[n]]], {n, 100}] (* Ray Chandler, Sep 18 2005 *)
CROSSREFS
Sequence in context: A318583 A076709 A307774 * A036013 A256587 A249616
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 03 2005
EXTENSIONS
Extended by Ray Chandler, Sep 18 2005
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 March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)