OFFSET
2,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 2..200
FORMULA
a(n) = n^x, where x is floor(n/log_2(n)).
EXAMPLE
n=2: 4 <= 2^2 = 4;
n=3: 3 < 8 < 9;
n=4: 16 <= 16 < 32;
...
n=20: 20^4 = 160000 < 1048576 = 2^20 < 3200000; etc.
MATHEMATICA
Table[n^Floor[Log[n, 2^n]], {n, 2, 40}] (* Harvey P. Dale, May 31 2014 *)
PROG
(PARI) { default(realprecision, 100); t=log(2); for (n=2, 200, x=floor(n*t/log(n)); write("b060509.txt", n, " ", n^x); ) } \\ Harry J. Smith, Jul 06 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 11 2001
STATUS
approved