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.

A265157 Number of 2's in the base-3 representation of 2^n - 1.

Table of values

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

List of values

[0, 0, 0, 1, 1, 0, 1, 1, 0, 3, 2, 3, 3, 2, 2, 5, 5, 4, 3, 6, 4, 6, 5, 3, 1, 4, 2, 7, 8, 6, 9, 8, 8, 6, 7, 7, 4, 5, 8, 8, 11, 10, 7, 10, 10, 7, 9, 7, 8, 9, 11, 15, 13, 9, 9, 11, 13, 15, 12, 12, 15, 14, 11, 14, 16, 13, 14, 11, 14, 14, 14, 15]