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.

A145576 a(n) is the smallest prime with both exactly an n number of 0's and exactly an n number of 1's in its binary representation. a(n) = 0 if no such prime exists.

Table of values

n a(n)
1 2
2 0
3 37
4 139
5 541
6 2141
7 8287
8 33119
9 131519
10 525247
11 2098687
12 8391679
13 33561599
14 134242271
15 536895487
16 2147548159
17 8590061567
18 34360196863
19 137439412223
20 549756861439
21 2199026663423
22 8796097216447
23 35184380411903

List of values

[2, 0, 37, 139, 541, 2141, 8287, 33119, 131519, 525247, 2098687, 8391679, 33561599, 134242271, 536895487, 2147548159, 8590061567, 34360196863, 137439412223, 549756861439, 2199026663423, 8796097216447, 35184380411903]