OFFSET
0,1
COMMENTS
The only case where two successive terms are even is 4, 6 at the start, since if 2*p and 2*q are semiprimes where p and q are odd primes, 2*p + 2*q is divisible by 4.
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
EXAMPLE
a(2) = 6 because 6 = 2 * 3 and 4 + 6 = 10 = 2 * 5 are semiprimes.
a(3) = 9 because 9 = 3 * 3 and 6 + 9 = 15 = 3 * 5 are semiprimes.
a(4) = 25 because 25 = 5 * 5 and 9 + 25 = 34 = 2 * 17 are semiprimes.
MAPLE
R:= 4: x:= 4: count:= 1:
for y from 5 do
if numtheory:-bigomega(y) = 2 and numtheory:-bigomega(x+y) = 2 then
R:= R, y; x:= y; count:= count+1;
if count = 100 then break fi
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Jan 02 2024
STATUS
approved