OFFSET
2,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 2..1000
EXAMPLE
a(3) = 10 since 2^10=1024 >= 10^3=1000. a(4) = 16 since 2^16=65536 >= 16^4=65536.
MAPLE
Digits:= 500: f := k->2^x=x^k; seq(ceil(fsolve(f(n), x, 2..infinity)), n=2..20); # for n >= 2
MATHEMATICA
f[n_]:=Module[{k=2}, While[2^k<k^n, k++]; k]; Join[{0, 0}, Array[f, 60, 2]] (* Harvey P. Dale, Jan 15 2012 *)
PROG
(Haskell)
a054028 n = head [k | k <- [2..], 2^k >= k^n] :: Integer
-- Reinhard Zumkeller, Jul 24 2013
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Asher Auel, Feb 28 2000
STATUS
approved