OFFSET
0,2
COMMENTS
Sum (-1)^k log(k) / k is a conditionally convergent sequence that converges to gamma log(2) - (log 2)^2 / 2. But the sum of the absolute values diverges.
EXAMPLE
The sum of the first 4 terms is 1.059351276782648539882313867..., just >= 1, so a(1) = 4.
MATHEMATICA
f[n_] := Block[{s = 0, k = 1}, While[s = N[s + Log[k]/k, 128]; s < n, k++ ]; k]; Table[ f[n], {n, 0, 47}] (* Robert G. Wilson v, Apr 15 2004 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 13 2004
EXTENSIONS
More terms from Robert G. Wilson v and Don Reble, Apr 15 2004
STATUS
approved