OFFSET
1,1
EXAMPLE
17387, 17389, 17393, 17401 and 17417 are 5 consecutive primes with gaps 2, 4, 8 and 16, so 17387 is in the sequence.
MATHEMATICA
First /@ Parallelize[
Select[Table[NextPrime[Prime@i, Range@5], {i, 10^6}],
Differences@# == {2, 4, 8, 16} &]] (* Mikk Heidemaa, Apr 25 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Apr 24 2024
STATUS
approved