Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A136616
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A136616 a(n) = largest m with H(m) - H(n) <= 1, where H(i) = sum{j=1 to i} 1/j, the i-th harmonic number, H(0)=0. +0
4
1, 3, 6, 9, 11, 14, 17, 19, 22, 25, 28, 30, 33, 36, 38, 41, 44, 47, 49, 52, 55, 57, 60, 63, 66, 68, 71, 74, 76, 79, 82, 85, 87, 90, 93, 96, 98, 101, 104, 106, 109, 112, 115, 117, 120, 123, 125, 128, 131, 134, 136, 139, 142, 144, 147, 150, 153, 155, 158, 161, 163, 166 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n) = floor( e*n + (e-1)/2 + (e - 1/e)/(24*(n + 1/2))), after a suggestion by David Cantrell

EXAMPLE

a(3) = 9 because H(9)-H(3) = 1/4+...+1/9 < 1 < 1/4+...+1/10 = H(10)-H(3)

MAPLE

A136616 := n -> floor( e*n + (e-1)/2 + (e - 1/e)/(24*(n + 1/2)));

CROSSREFS

Cf. A002387, A004080, A079353, A096618, A115515, A014537, A055980.

Adjacent sequences: A136613 A136614 A136615 this_sequence A136617 A136618 A136619

Sequence in context: A094740 A047400 A054414 this_sequence A121384 A151926 A145283

KEYWORD

easy,nonn

AUTHOR

Rainer Rosenthal (r.rosenthal(AT)web.de), Jan 13 2008

EXTENSIONS

Definition corrected by David W. Cantrell, Apr 14 2008

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 8 07:45 EST 2009. Contains 166143 sequences.


AT&T Labs Research