OFFSET
1,3
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
EXAMPLE
a(9) = 5 because 1 + 1/2 + 1/3 + 1/4 < log(9) < 1 + 1/2 + 1/3 + 1/4 + 1/5.
MATHEMATICA
z = 80; f[n_] := 1/n; Do[s = 0; a[n] = NestWhile[# + 1 &, 1, ! (s += f[#]) > Log[n] &], {n, 1, z}]; m = Map[a, Range[z]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 30 2013
STATUS
approved