OFFSET
1,1
COMMENTS
Aside from the first two terms, all terms are 7 mod 12. - Charles R Greathouse IV, Dec 07 2022
EXAMPLE
2 + 7 = 9 = 3*3 and 3 + 7 = 10 = 2*5 are semiprimes.
MATHEMATICA
Do[While[MemberQ[s, p] || 2 != PrimeOmega[s[[-2]] + p] || 2 != PrimeOmega[s[[-1]] + p], p = NextPrime[p]]; AppendTo[s, p], {60}]; s
PROG
(PARI) issp(n) = bigomega(n) == 2; \\ A001358
lista(nn) = my(va = vector(nn)); va[1] = 2; va[2] = 3; for (n=3, nn, my(p=nextprime(va[n-1]+1)); while (!issp(va[n-2]+p) || !issp(va[n-1]+p), p = nextprime(p+1)); va[n] = p; ); va; \\ Michel Marcus, Nov 14 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 27 2022
STATUS
approved