OFFSET
1,1
COMMENTS
The smallest term with 4 digits is a(230) = 9901 and the smallest with 6 digits is a(23025) = 999901.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 47 because 47 is the smallest n such that n, n^2 and n^3 (here 47, 2209 and 103823) have an even number of digits.
MATHEMATICA
a[n_] := a[n] = Block[{k = If[n == 1, 10, a[n-1]]}, While[! And @@ EvenQ[ IntegerLength[ k^Range[n]]], k++]; k]; Array[a, 100]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Mar 27 2014
STATUS
approved