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.

A091093 In ternary representation: minimal number of editing steps (delete, insert or substitute) to transform n into n^2.

Table of values

n a(n)
0 0
1 0
2 2
3 1
4 1
5 2
6 3
7 2
8 3
9 2
10 2
11 4
12 2
13 4
14 3
15 3
16 4
17 4
18 4
19 4
20 5
21 3
22 4
23 3
24 4
25 3
26 4
27 3
28 3
29 4
30 3
31 3
32 3
33 5
34 3
35 5
36 3
37 3
38 5
39 5
40 5
41 6
42 4
43 3
44 4
45 4
46 4
47 5
48 5
49 4
50 4
51 5
52 5
53 5
54 5
55 5
56 6
57 5
58 5
59 5
60 6
61 4
62 5
63 4
64 4
65 5
66 5
67 4
68 5
69 4
70 5
71 5
72 5
73 4
74 6
75 4
76 5
77 4
78 5
79 4
80 5
81 4
82 4
83 5
84 4
85 4
86 4
87 5
88 5
89 5
90 4
91 4
92 6
93 4
94 5
95 4
96 4
97 5
98 5
99 5
100 5
101 6

List of values

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