OFFSET
1,2
FORMULA
a(n) = minimal positive integer k such that n^k does not belong to A005349.
For m>=0, a(10^m) = 0.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Max Alekseyev, Sep 24 2011
STATUS
approved