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.

A060592 Square table by antidiagonals of minimum number of moves between two positions in the Tower of Hanoi (with three pegs: 0,1,2), where with position n written in base 3, 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 1
3 1
4 0
5 1
6 3
7 1
8 1
9 3
10 3
11 3
12 0
13 3
14 3
15 2
16 3
17 2
18 2
19 3
20 2
21 3
22 2
23 2
24 0
25 2
26 2
27 3
28 2
29 2
30 1
31 1
32 1
33 1
34 2
35 2
36 3
37 1
38 3
39 1
40 0
41 1
42 3
43 1
44 3
45 7
46 2
47 2
48 1
49 1
50 1
51 1
52 2
53 2
54 7
55 6
56 6
57 3
58 2
59 2
60 0
61 2
62 2
63 3
64 6
65 6
66 7
67 5
68 7
69 2
70 3
71 2
72 2
73 3
74 2
75 7
76 5
77 7
78 6
79 6
80 6
81 6
82 3
83 3
84 0
85 3
86 3
87 6
88 6
89 6
90 6
91 7
92 5
93 7
94 5
95 5
96 3
97 1
98 1
99 3
100 5
101 5
102 7
103 5
104 7

List of values

[0, 1, 1, 1, 0, 1, 3, 1, 1, 3, 3, 3, 0, 3, 3, 2, 3, 2, 2, 3, 2, 3, 2, 2, 0, 2, 2, 3, 2, 2, 1, 1, 1, 1, 2, 2, 3, 1, 3, 1, 0, 1, 3, 1, 3, 7, 2, 2, 1, 1, 1, 1, 2, 2, 7, 6, 6, 3, 2, 2, 0, 2, 2, 3, 6, 6, 7, 5, 7, 2, 3, 2, 2, 3, 2, 7, 5, 7, 6, 6, 6, 6, 3, 3, 0, 3, 3, 6, 6, 6, 6, 7, 5, 7, 5, 5, 3, 1, 1, 3, 5, 5, 7, 5, 7]