login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A211673
Least prime number prime(k) such that prime(n+k) - prime(k) is a power of 2.
3
2, 3, 3, 13, 7, 3, 47, 29, 5, 199, 109, 73, 67, 37, 19, 7, 3, 659, 443, 281, 239, 179, 113, 83, 7027, 53, 23, 4261, 11, 3, 1621, 1153, 1117, 1021, 1033, 673, 727, 463, 313, 307, 397, 24281, 163, 211, 103, 97, 13781, 61, 16007, 37, 13, 7, 6899, 6947, 7577, 4271
OFFSET
1,1
EXAMPLE
For n = 4, we have prime(10) - prime(6) = 2^4.
For n = 5, we have prime(9) - prime(4) = 2^4.
MATHEMATICA
Table[k = 1; While[!IntegerQ[Log[2, Prime[n+k] - Prime[k]]], k++]; Prime[k], {n, 100}]
CROSSREFS
Sequence in context: A275212 A370554 A127003 * A184178 A350531 A039793
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 23 2012
STATUS
approved