OFFSET
1,1
COMMENTS
a(n) >= A175587(n).
First differences: 5, 5, 7, 5, 7, 5, 11, 13, 3, 17, 3, 37, 7, 5, 7, 5, 13, 7, 3, 37, 3, 5, 3, 37, 5, 3, 3, 13, 11, 13, 3, 29, 5, 7, 19, 17, 11, 5, 5, 19, 5, 19, 5, 3, 17, 7, 3, 61, 3 (all odd primes).
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
MATHEMATICA
NestList[(p = 3; While[2 != PrimeOmega[q = # + p], p = NextPrime[p]]; q) &, 4, 50]
nxt[n_]:=Module[{k=n+1}, While[PrimeOmega[k]!=2||!PrimeQ[k-n]||EvenQ[k-n], k++]; k]; NestList[nxt, 4, 50] (* Harvey P. Dale, Feb 14 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jan 25 2017
STATUS
approved