OFFSET
1,2
COMMENTS
Note that 1/log((1 + k)^(1/k)) = 1/Hypergeometric2F1(1,1,2,-z).
Smallest positive integer k such that k > n*log(1 + k). - Peter Munn, Mar 21 2017
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 1000 terms from Indranil Ghosh)
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Mar 24 2017
MATHEMATICA
a = {}; k = 1; Do[If[N[((1/n) Log[1 + n])^(-1)] > k, AppendTo[a, n]; k = k + 1], {n, 1, 1010}]; a
PROG
(PARI) a(n) = {my(k=1); while(1, if((1/log((1 + k)^(1/k))) > n, return (k), k++)); };
for(n=1, 100, print1(a(n), ", ")) \\ Indranil Ghosh, Mar 23 2017
(PARI) a(n)=my(k=solve(x=n*log(n), n^2, n*log(x+1)-x)\1); while(k <= n*log(k+1), k++); k \\ Charles R Greathouse IV, Mar 24 2017
(Python)
import math
def a(n):
k=1
while True:
if (1/math.log((1 + k)**(1/k))) > n: return k
else: k+=1
print([a(n) for n in range(1, 101)]) # Indranil Ghosh, Mar 23 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 24 2008
STATUS
approved