login
A107919
Sum of terms of continued fraction for the harmonic mean of n and n-th prime.
4
4, 6, 7, 16, 14, 16, 21, 21, 28, 26, 25, 32, 29, 36, 33, 34, 37, 47, 41, 43, 41, 48, 89, 52, 58, 53, 53, 60, 57, 59, 68, 63, 66, 75, 69, 75, 74, 78, 75, 110, 78, 83, 88, 102, 85, 92, 100, 349, 111, 104, 97, 101, 103, 109, 104, 119, 115, 119, 111, 119, 112, 126, 127, 124
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Continued Fraction.
Eric Weisstein's World of Mathematics, Harmonic Mean.
EXAMPLE
a(10)=26 because the 10th prime is 29, the harmonic mean of 10 and 29 is 580/39 and the continued fraction for 580/39 has terms {14,1,6,1,4} and sum of terms 26.
MATHEMATICA
A107919[n_]:=PLus@@ContinuedFraction[HarmonicMean[{n, Prime[n]}]]
CROSSREFS
Cf. A107918.
Sequence in context: A054063 A112917 A102141 * A165404 A270887 A213034
KEYWORD
nonn
AUTHOR
Zak Seidov, May 28 2005
STATUS
approved