login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A103187 a(n) = second term in continued fraction of n-th harmonic number. 0
2, 1, 12, 3, 2, 1, 1, 1, 1, 50, 9, 5, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 36, 17, 11, 8, 6, 5, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 483, 71, 38, 26, 20, 16, 13, 12, 10, 9, 8, 7, 7, 6, 6, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

LINKS

Table of n, a(n) for n=2..99.

FORMULA

a(n) = floor(1/(H(n) - floor(H(n)))), where H(n) = sum{k=1 to n} 1/k.

MATHEMATICA

f[n_] := Block[{h = HarmonicNumber[n]}, Floor[1/(h - Floor[h])]]; Table[ f[n], {n, 2, 99}] (* Robert G. Wilson v, Mar 19 2005 *)

Table[ContinuedFraction[HarmonicNumber[n]][[2]], {n, 2, 100}] (* Harvey P. Dale, May 07 2018 *)

CROSSREFS

Sequence in context: A211099 A058734 A213057 * A286670 A288433 A288010

Adjacent sequences:  A103184 A103185 A103186 * A103188 A103189 A103190

KEYWORD

nonn

AUTHOR

Leroy Quet, Mar 18 2005

EXTENSIONS

More terms from Robert G. Wilson v, Mar 19 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 04:52 EST 2021. Contains 349562 sequences. (Running on oeis4.)