Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A004796
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A004796 n-th positive integer k such that if 2 <= j < k then the fractional part of the k-th partial sum of harmonic series is < the fractional part of the j-th partial sum of the harmonic series. +0
2
4, 11, 83, 616, 1674, 4550, 12367, 33617, 91380, 248397, 1835421, 4989191, 13562027, 36865412, 272400600, 740461601 (list; graph; listen)
OFFSET

1,1

COMMENT

n such that H(n) sets a new record for being a tiny bit greater than an integer, where H(n)=sum_{k=1..n} 1/k. For proofs that H(n) is non-integral and almost always a non-terminating decimal see Havil reference.

Assuming that H(n) ~= Ln(n) + gamma + 1/(2n), the next several entries should be 2012783315, 5471312310 and 40427833596; 14872568831 and 109894245429 are not included. - Robert G. Wilson v.

REFERENCES

Julian Havil, "Gamma: Exploring Euler's Constant", Princeton University Press, Princeton and Oxford, pp. 24-25, 2003.

LINKS

T. Sillke, The Harmonic Numbers and Series

Eric Weisstein's World of Mathematics, Harmonic Series.

EXAMPLE

a(2)=11 because H(11) = 3.0198773...; a(3)=83 because H(83) = 5.0020682...

MATHEMATICA

s = 0; a = 1; Do[ s = N[s + 1/n, 50]; If[ FractionalPart[s] < a, a = FractionalPart[s]; Print[n]], {n, 2, 1378963718}]

PROGRAM

(PARI) H(n) = sum(k=1, n, 1/k)+0.; { hr(m)=local(rec); rec=0.5; for(n=2, m, if(frac(H(n))<rec, rec=frac(H(n)); print1(n", "))) }

CROSSREFS

Subset of A002387.

Sequence in context: A032110 A054234 A000850 this_sequence A125888 A167418 A055979

Adjacent sequences: A004793 A004794 A004795 this_sequence A004797 A004798 A004799

KEYWORD

more,nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

EXTENSIONS

Edited and extended by Jason Earls (zevi_35711(AT)yahoo.com), Jun 30 2003

Extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 14 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research