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.

A332025 Sum of the lengths of the longest runs of 0, 1, and 2 in the ternary expression of n.

Table of values

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

List of values

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