OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 34 because a(2) = 21 (odd), the next even semiprimes are 22 = 2 * 11, 26 = 2 * 13 and 34 = 2 * 17, but 21 + 22 = 45 = 3^2 * 5 and 21 + 26 = 47 are not semiprimes and 21 + 34 = 55 = 5 * 11 is a semiprime.
MAPLE
R:= 4: x:= 4: y:= 3: count:= 0:
while count < 100 do
y:= y+2;
if numtheory:-bigomega(y) = 2 and numtheory:-bigomega(x+y) = 2 then
R:= R, y; count:= count+1; x:= y; y:= x-1
fi
od:
R;
MATHEMATICA
s = {k1 = 4}; Do[k = k1 + 1; While[2 != PrimeOmega[k] || 2 != PrimeOmega[k1 + k],
k = k + 2]; AppendTo[s, k1 = k], {200}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Sep 04 2023
STATUS
approved