OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 41 is a term because it is prime, the next prime is 43, and 41*43 + 43 - 41 = 1765 = 5*363 is a semiprime.
MAPLE
q:= 2: R:= NULL: count:= 0:
while count < 100 do
p:= q; q:= nextprime(q);
s:= p*q+q-p;
if numtheory:-bigomega(s)=2 then
count:= count+1; R:= R, p;
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 30 2021
STATUS
approved