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.

A177718 a(n) = |(number of 1's in binary representation of prime(n)) - (number of 0's in binary representation of prime(n))|.

Table of values

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

List of values

[0, 2, 1, 3, 2, 2, 1, 1, 3, 3, 5, 0, 0, 2, 4, 2, 4, 4, 1, 1, 1, 3, 1, 1, 1, 1, 3, 3, 3, 1, 7, 2, 2, 0, 0, 2, 2, 0, 2, 2, 2, 2, 6, 2, 0, 2, 2, 6, 2, 2, 2, 6, 2, 6, 5, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 3, 3, 1, 3, 5, 3, 5, 7, 1, 1, 1, 1, 1, 1, 5, 1, 5, 5, 1, 1, 3, 5, 3, 7, 5, 5, 5, 7, 7, 4, 2, 0, 2, 0, 0, 0, 2]