OFFSET
2,1
FORMULA
a(n) = floor(n/log(2, n)); n^a(n) <= 2^n <= n^(1+a(n)).
EXAMPLE
For n = 10, 1000 < 1024 < 10000, so a(10) = 3; a(1) is indeterminate, since 1^j < 2^1.
MATHEMATICA
Table[Floor[n/Log[2, n]], {n, 2, 89}] (* Stefano Spezia, Dec 07 2021 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Apr 11 2001
STATUS
approved