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.

A043555 Number of runs in base-3 representation of n.

Table of values

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

List of values

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