OFFSET
1,1
COMMENTS
For n!=2, it appears that the first step in the trajectory is always to a power of 10, so that the task would be to find the shortest and lexicographically smallest partition of a power of 10 into parts 1^n,...,9^n.
EXAMPLE
a(1) = 19 since 1^1 + 9^1 = 10 and 1^1 + 0^1 = 1.
a(3) = 112 since 1^3 + 1^3 + 2^3 = 10 and 1^3 + 0^3 = 1.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Simon R Blow, Aug 07 2023
EXTENSIONS
a(6), a(8), and a(9) corrected by, and a(10) and a(11) from Jon E. Schoenfield, Aug 10 2023
Definition clarified by N. J. A. Sloane, Sep 15 2023
STATUS
approved