login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A171396 as a simple table

na(n)
00
11
22
3100
4111
5112
6200
7211
8222
910000
1010101
1110102
1211100
1311111
1411112
1511200
1611211
1711222
1820000
1920101
2020202
2121100
2221111
2321212
2422200
2522211
2622222
271000000
281001001
291001002
301010100
311010200
321011111
331011112
341011211

[0,1,2,100,111,112,200,211,222,10000,10101,10102,
 11100,11111,11112,11200,11211,11222,20000,20101,
 20202,21100,21111,21212,22200,22211,22222,1000000,
 1001001,1001002,1010100,1010200,1011111,1011112,
 1011211]