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.

A081742 a(1)=1; then if n is a multiple of 3, a(n) = a(n/3) + 1; if n is not a multiple of 3 but even, a(n) = a(n/2) + 1; a(n) = a(n-1) + 1 otherwise.

Table of values

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

List of values

[1, 2, 2, 3, 4, 3, 4, 4, 3, 5, 6, 4, 5, 5, 5, 5, 6, 4, 5, 6, 5, 7, 8, 5, 6, 6, 4, 6, 7, 6, 7, 6, 7, 7, 8, 5, 6, 6, 6, 7, 8, 6, 7, 8, 6, 9, 10, 6, 7, 7, 7, 7, 8, 5, 6, 7, 6, 8, 9, 7, 8, 8, 6, 7, 8, 8, 9, 8, 9, 9, 10, 6, 7, 7, 7, 7, 8, 7, 8, 8, 5, 9, 10, 7, 8, 8, 8, 9, 10, 7, 8, 10, 8, 11, 12, 7, 8, 8, 8, 8, 9, 8]