OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
4 + 6 = 10 = 2*5, 10 + 15 = 25 = 5*5, 25 + 21 = 46 = 2*23.
MATHEMATICA
s = {4}; t = 4; Do[While[2 != PrimeOmega[n] || 2 != PrimeOmega[t + n] , n++]; AppendTo[s, n]; t = t + n; n++, {50}]; s
PROG
(PARI) issemi(n)=bigomega(n)==2;
first(n)=my(v=vector(n), s, t); s=v[1]=4; for(k=2, n, t=v[k-1]; while(!issemi(t++) || !issemi(s+t), ); s+=v[k]=t); v; \\ Charles R Greathouse IV, Oct 02 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 28 2021
STATUS
approved