OFFSET
0,2
FORMULA
From Thomas Scheuerle, Nov 30 2022: (Start)
a(n) ~ ceiling(exp(n + digamma(1+n)) - (1/2) - n).
floor(digamma(a(n)+n+1) - digamma(n+1)) = n. (End)
EXAMPLE
For n=0, a single term suffices: S = 1/1 > n = 0.
For n=1, a(1) = 3 terms suffice: S = 1/2 + 1/3 + 1/4 > n = 1.
For n=2, a(3) = 17 terms suffice: S = 1/3 + ... + 1/19 > 2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Gil Broussard, Oct 20 2022
EXTENSIONS
a(18)-a(27) from Jon E. Schoenfield, Nov 30 2022
STATUS
approved