OFFSET
1,1
MATHEMATICA
sp=Select[Range[1000], PrimeOmega[#]==2&]; seq={}; Do[s=0; Until[PrimeOmega[sp[[s]]+2n]==2, s++]; AppendTo[seq, sp[[s]]], {n, 92}]; seq (* James C. McMahon, Dec 30 2024 *)
PROG
(PARI) a(n) = for (k=1, oo, if ((bigomega(k)==2) && bigomega(2*n+k)==2, return(k))); \\ Michel Marcus, Dec 30 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Jan 02 2007
STATUS
approved