login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A226763 Greatest k such that 1/k >= mean{1, 1/2, 1/3,..., 1/n}. 2
1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = ceiling(n/{sum{1/k, k = 1..n}).
EXAMPLE
1/3 < mean{1,1/2,1/3,...,1/9} < 1/4, so that a(9) = 4.
MATHEMATICA
f[n_] := Mean[Table[1/k, {k, 1, n}]]
Table[Floor[1/f[n]], {n, 1, 120}] (* A226762 *)
Table[Ceiling[1/f[n]], {n, 1, 120}] (* A226763 *)
CROSSREFS
Cf. A226762.
Sequence in context: A172263 A337635 A140437 * A050500 A076885 A274024
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 19 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 19:19 EDT 2024. Contains 375173 sequences. (Running on oeis4.)