login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071867 Maximum element in the continued fraction for prime(n+1)/prime(n). 0
2, 2, 2, 3, 5, 4, 8, 4, 5, 14, 6, 9, 20, 10, 7, 8, 29, 10, 16, 35, 12, 19, 13, 11, 24, 50, 25, 53, 27, 14, 31, 21, 68, 13, 74, 25, 26, 40, 27, 28, 89, 18, 95, 48, 98, 16, 17, 55, 113, 57, 38, 119, 24, 41, 42, 43, 134, 45, 69, 140, 28, 20, 76, 155, 78, 22, 55, 33, 173, 87, 58 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..71.

EXAMPLE

prime(5)/prime(4) = 11/7 11/7 continued fraction is [1, 1, 1, 3] hence a(4)=3.

MATHEMATICA

Table[Max[ContinuedFraction[Prime[n+1]/Prime[n]]], {n, 80}] (* Harvey P. Dale, Dec 24 2015 *)

PROG

(PARI) for(n=1, 200, print1(vecmax(contfrac(prime(n+1)/prime(n))), ", "))

CROSSREFS

Sequence in context: A182534 A165918 A114639 * A126337 A322261 A304718

Adjacent sequences:  A071864 A071865 A071866 * A071868 A071869 A071870

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre, Jun 09 2002

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 September 20 05:51 EDT 2019. Contains 327212 sequences. (Running on oeis4.)