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.

A160384 Number of nonzero digits in the base-3 representation of n.

Table of values

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

List of values

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