OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 46 is a term because 46 = 2 * 23 is a semiprime, A001358(46) = 141, and 141 - 46 = 95 = 5 * 19 and 141 + 46 = 187 = 11 * 17 are semiprimes.
MAPLE
k:= 0: K:= NULL: count:= 0:
for s from 1 while count < 100 do
if numtheory:-bigomega(s) = 2 then
k:= k+1;
if andmap(t -> numtheory:-bigomega(t) = 2, [k, s-k, s+k]) then
K:= K, k; count:= count+1;
fi
fi;
od:
K;
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Apr 27 2025
STATUS
approved
