OFFSET
1,1
COMMENTS
First differences: 81, 24, 24, 36, 24, 36, 24, 56, 24, 16, 36, 36, 24, 24, 24, 56, 16, 24, 54, 36, 24,...
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
A[1]:= 2: p:= 2: n:= 1:
while n < 60 do
p:= nextprime(p);
if numtheory:-bigomega(p-A[n]) = 4 then n:= n+1; A[n]:= p; fi
od:
seq(A[i], i=1..60); # Robert Israel, Nov 28 2019
MATHEMATICA
NestList[Module[{p = NextPrime@ #}, While[PrimeOmega[p - #] != 4, p = NextPrime@ p]; p] &, 2, 52] (* Michael De Vlieger, Apr 25 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 24 2017
STATUS
approved