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.

A361071 Let c1(p) be the number of primes <= p with an odd number of 1's in base 2, and let c2(p) be the number of primes <= p with an even number of 1's in base 2. a(n) is the least prime p such that abs(c1(p) - c2(p)) >= n.

Table of values

n a(n)
1 2
2 13
3 41
4 61
5 67
6 79
7 109
8 131
9 137
10 173
11 179
12 181
13 191
14 193
15 211
16 223
17 227
18 229
19 233
20 239
21 241
22 251
23 587
24 613
25 617
26 641
27 653
28 659
29 661
30 719
31 727
32 733
33 761
34 769
35 829
36 953
37 967
38 971
39 1009
40 1021
41 1039
42 1069
43 1087
44 1193
45 1201
46 1213
47 1697
48 1721
49 1753
50 1759
51 1777
52 1783
53 1787

List of values

[2, 13, 41, 61, 67, 79, 109, 131, 137, 173, 179, 181, 191, 193, 211, 223, 227, 229, 233, 239, 241, 251, 587, 613, 617, 641, 653, 659, 661, 719, 727, 733, 761, 769, 829, 953, 967, 971, 1009, 1021, 1039, 1069, 1087, 1193, 1201, 1213, 1697, 1721, 1753, 1759, 1777, 1783, 1787]