cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A055662 Successive positions in Tower of Hanoi (with three pegs {0,1,2}) where xyz means smallest disk is on peg z, second smallest is on peg y, third smallest on peg x, etc. and leading zeros indicate largest disks are all on peg 0.

Table of values

n a(n)
0 0
1 1
2 21
3 22
4 122
5 120
6 110
7 111
8 2111
9 2112
10 2102
11 2100
12 2200
13 2201
14 2221
15 2222
16 12222
17 12220
18 12210
19 12211
20 12011
21 12012
22 12002
23 12000
24 11000
25 11001
26 11021
27 11022
28 11122
29 11120
30 11110
31 11111
32 211111
33 211112
34 211102
35 211100
36 211200

List of values

[0, 1, 21, 22, 122, 120, 110, 111, 2111, 2112, 2102, 2100, 2200, 2201, 2221, 2222, 12222, 12220, 12210, 12211, 12011, 12012, 12002, 12000, 11000, 11001, 11021, 11022, 11122, 11120, 11110, 11111, 211111, 211112, 211102, 211100, 211200]