OFFSET
1,2
EXAMPLE
1 is replaced by 1 because 1 is the only number that can be formed with the digits in 1.
10 is replaced by 1, 10 because these are the only distinct, nonzero numbers that can be formed with the digits in 10 (0 is not nonzero; 01=1 so it is not distinct).
12 is replaced by 1, 2, 12, 21.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Dominick Cancilla, Aug 02 2010
STATUS
approved