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.

A061295 Minimal number of steps to get from 0 to n by (a) adding 1 or (b) subtracting 1 or (c) multiplying by 3.

Table of values

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

List of values

[0, 1, 2, 2, 3, 4, 3, 4, 4, 3, 4, 5, 4, 5, 6, 5, 6, 5, 4, 5, 6, 5, 6, 6, 5, 6, 5, 4, 5, 6, 5, 6, 7, 6, 7, 6, 5, 6, 7, 6, 7, 8, 7, 8, 7, 6, 7, 8, 7, 8, 7, 6, 7, 6, 5, 6, 7, 6, 7, 8, 7, 8, 7, 6, 7, 8, 7, 8, 8, 7, 8, 7, 6, 7, 8, 7, 8, 7, 6, 7, 6, 5, 6, 7, 6, 7, 8, 7, 8, 7, 6, 7, 8, 7, 8, 9, 8, 9, 8, 7, 8, 9, 8, 9, 8]