OFFSET
1,2
COMMENTS
Infinitely many integers are missing, starting 3, 7, 18, 50, 140; their ratios tend to e. - Charles R Greathouse IV, Aug 21 2011
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = floor(n^(1+1/n)). - M. F. Hasler, Nov 03 2014
MATHEMATICA
Table[Floor[n^((n+1)/n)], {n, 80}] (* Harvey P. Dale, Jul 22 2019 *)
PROG
(PARI) { for (n=1, 1000, write("b059921.txt", n, " ", floor(n^((n + 1)/n))); ) } \\ Harry J. Smith, Jun 30 2009
(PARI) A059921(n)=n^(1+1/n)\1 \\ M. F. Hasler, Nov 03 2014
(Python)
from sympy import integer_nthroot
def A059921(n): return integer_nthroot(n**(n+1), n)[0] # Chai Wah Wu, Sep 04 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Fabian Rothelius, Feb 09 2001
STATUS
approved