OFFSET
2,1
COMMENTS
One would have a(0) = 0 (= 0^1), but a(1) is undefined.
The similar sequence defined as "...exactly one digit 0..." would be ill-defined for all powers of 100, 1001, and others.
FORMULA
a(n) >= n, with equality iff n is in A011540 \ {0} = {10, 20, ..., 100, 101, ...}.
PROG
(PARI) apply( A305941(n)=for(k=1, oo, vecmin(digits(n^k))||return(n^k)), [2..20])
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
M. F. Hasler, Jun 19 2018
STATUS
approved