[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A107918 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Length of continued fraction for the harmonic mean of n and n-th prime.
(history; published version)
#5 by Russ Cox at Fri Mar 30 17:26:16 EDT 2012
AUTHOR

_Zak Seidov (zakseidov(AT)yahoo.com), _, May 28 2005

Discussion
Fri Mar 30
17:26
OEIS Server: https://oeis.org/edit/global/139
#4 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
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.

KEYWORD

nonn,new

nonn

#3 by N. J. A. Sloane at Sun Jun 29 03:00:00 EDT 2008
LINKS

Eric W. Weisstein, 's World of Mathematics, <a href="http://mathworld.wolfram.com/ContinuedFraction.html">Continued Fraction</a>.

Eric W. Weisstein, 's World of Mathematics, <a href="http://mathworld.wolfram.com/HarmonicMean.html">Harmonic Mean</a>.

KEYWORD

nonn,new

nonn

#2 by N. J. A. Sloane at Fri Feb 24 03:00:00 EST 2006
MATHEMATICA

A107918[n_]:=Length[ContinuedFraction[HarmonicMean[{n, Prime[n]}]]]

KEYWORD

nonn,new

nonn

#1 by N. J. A. Sloane at Tue Jul 19 03:00:00 EDT 2005
NAME

Length of continued fraction for the harmonic mean of n and n-th prime.

DATA

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

OFFSET

1,1

LINKS

Eric W. Weisstein, <a href="http://mathworld.wolfram.com/ContinuedFraction.html">Continued Fraction</a>.

Eric W. Weisstein, <a href="http://mathworld.wolfram.com/HarmonicMean.html">Harmonic Mean</a>.

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.

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), May 28 2005

STATUS

approved