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.

A081603 Number of 2's in ternary representation of n.

Table of values

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

List of values

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