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.

A160385 Number of nonzero digits in base-4 representation of n.

Table of values

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

List of values

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