1,1
Table of n, a(n) for n=1..104.
Eric Weisstein's World of Mathematics, Continued Fraction.
Eric Weisstein's World of Mathematics, Harmonic Mean.
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.
A107918[n_]:=Length[ContinuedFraction[HarmonicMean[{n, Prime[n]}]]]
Cf. A107919.
Sequence in context: A137779 A191246 A248222 * A242392 A002963 A046677
Adjacent sequences: A107915 A107916 A107917 * A107919 A107920 A107921
nonn
Zak Seidov, May 28 2005
approved