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.

A374178 a(n) is the least prime p such that p and the next prime > p have exactly n common 1's in their binary expansion.

Table of values

n a(n)
1 2
2 5
3 19
4 29
5 181
6 359
7 379
8 983
9 3821
10 3581
11 8179
12 16111
13 81901
14 98297
15 131059
16 131063
17 524269
18 917471
19 3145679
20 4128763
21 16744423
22 16776187
23 58720223
24 117440381
25 266330047
26 468713467
27 536870879
28 1073741309
29 2147483629
30 4294967231
31 8589410287
32 33285865469

List of values

[2, 5, 19, 29, 181, 359, 379, 983, 3821, 3581, 8179, 16111, 81901, 98297, 131059, 131063, 524269, 917471, 3145679, 4128763, 16744423, 16776187, 58720223, 117440381, 266330047, 468713467, 536870879, 1073741309, 2147483629, 4294967231, 8589410287, 33285865469]