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.
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.
Terms
- a(0) =2a(1) =5a(2) =23a(3) =17a(4) =41a(5) =67a(6) =137a(7) =269a(8) =521a(9) =1049a(10) =2081a(11) =4111a(12) =8233a(13) =16417a(14) =32771a(15) =65537a(16) =131113a(17) =262147a(18) =524309a(19) =1048609a(20) =2097257a(21) =4194389a(22) =8388617a(23) =16777289a(24) =33554501a(25) =67109123a(26) =134217929a(27) =268435459a(28) =536871017a(29) =1073741827
External references
- oeis: A374402