This site is supported by donations to The OEIS Foundation.

 Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A107918 Length of continued fraction for the harmonic mean of n and n-th prime. 2
 2, 3, 3, 2, 3, 4, 3, 4, 3, 5, 3, 3, 5, 3, 5, 8, 5, 5, 6, 6, 8, 5, 2, 5, 4, 8, 7, 6, 5, 7, 4, 8, 4, 7, 6, 4, 6, 8, 5, 6, 8, 7, 4, 7, 7, 8, 4, 3, 6, 5, 6, 7, 5, 5, 8, 7, 5, 6, 7, 7, 8, 5, 6, 6, 9, 6, 7, 4, 3, 7, 5, 5, 5, 3, 7, 7, 6, 9, 3, 8, 5, 9, 4, 9, 7, 5, 5, 10, 5, 9, 6, 9, 6, 8, 9, 7, 5, 8, 6, 6, 7, 9, 5, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Eric Weisstein's World of Mathematics, Continued Fraction. Eric Weisstein's World of Mathematics, Harmonic Mean. EXAMPLE a(10)=5 because 10th prime is 29, harmonic mean of 10 and 29 is 580/39 and continued fraction for 580/39 has terms {14,1,6,1,4} and length 5. MATHEMATICA A107918[n_]:=Length[ContinuedFraction[HarmonicMean[{n, Prime[n]}]]] CROSSREFS Cf. A107919. Sequence in context: A137779 A191246 A248222 * A242392 A002963 A046677 Adjacent sequences:  A107915 A107916 A107917 * A107919 A107920 A107921 KEYWORD nonn AUTHOR Zak Seidov, May 28 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 15 01:20 EST 2018. Contains 318141 sequences. (Running on oeis4.)