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.

A374402 Least number that is the lesser of two consecutive primes p and q whose binary expansions have the same length and agree at exactly n digit positions, or -1 if no such prime pair exists.

Table of values

n a(n)
1 2
2 5
3 23
4 17
5 41
6 67
7 137
8 269
9 521
10 1049
11 2081
12 4111
13 8233
14 16417
15 32771
16 65537
17 131113
18 262147
19 524309
20 1048609
21 2097257
22 4194389
23 8388617
24 16777289
25 33554501
26 67109123
27 134217929
28 268435459
29 536871017
30 1073741827
31 2147484041
32 4294967497
33 8589934627
34 17179869731

List of values

[2, 5, 23, 17, 41, 67, 137, 269, 521, 1049, 2081, 4111, 8233, 16417, 32771, 65537, 131113, 262147, 524309, 1048609, 2097257, 4194389, 8388617, 16777289, 33554501, 67109123, 134217929, 268435459, 536871017, 1073741827, 2147484041, 4294967497, 8589934627, 17179869731]