login
A038586
Write n in ternary then sort the digits.
0
0, 1, 2, 1, 11, 12, 2, 12, 22, 1, 11, 12, 11, 111, 112, 12, 112, 122, 2, 12, 22, 12, 112, 122, 22, 122, 222, 1, 11, 12, 11, 111, 112, 12, 112, 122, 11, 111, 112, 111, 1111, 1112, 112, 1112, 1122, 12, 112, 122, 112, 1112, 1122, 122, 1122, 1222, 2, 12, 22, 12, 112
OFFSET
0,3
CROSSREFS
Cf. A038573.
Sequence in context: A052037 A213302 A308846 * A140316 A295852 A088587
KEYWORD
nonn,easy,base
AUTHOR
EXTENSIONS
More terms from Erich Friedman.
STATUS
approved