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.

A160382 Number of 2's in base-4 representation of n.

Table of values

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

List of values

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