OFFSET
1,2
COMMENTS
a(n) = the smallest n-digit number of the form p^6 (p = prime), a(n) = 0 if no such number exists.
FORMULA
A000005(a(n)) = 7.
MAPLE
MATHEMATICA
Transpose[If[#[[1]]==#[[2]], {0, #[[2]]}, #]&/@Partition[ Table[ NextPrime[ Surd[10^n, 6]]^6, {n, 0, 40}], 2, 1]][[1]](* Harvey P. Dale, Oct 05 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Nov 27 2010
STATUS
approved