

A107919


Sum of terms of continued fraction for the harmonic mean of n and nth 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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Cf. A107918


LINKS

Table of n, a(n) for n=1..64.
Eric Weisstein's World of Mathematics, Continued Fraction.
Eric Weisstein's World of Mathematics, Harmonic Mean.


EXAMPLE

a(10)=26 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 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
Adjacent sequences: A107916 A107917 A107918 * A107920 A107921 A107922


KEYWORD

nonn


AUTHOR

Zak Seidov, May 28 2005


STATUS

approved



