OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4) = 27 because a(3) = 18, 27 = 3^3 is a triprime, and 27 - 18 = 9 = 3^2 is a semiprime.
MAPLE
R:= 8: count:= 1: x:= 8:
for i from 9 while count < 100 do
if numtheory:-bigomega(i) = 3 and numtheory:-bigomega(i-x) = 2 then
R:= R, i; count:= count+1; x:= i;
fi
od:
R;
MATHEMATICA
s = {8, 12, 18, m=27}; Do[n = m + 4; While[3 != PrimeOmega[n] || 2
!= PrimeOmega[n - m], n++]; AppendTo[s, m = n], {100}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Aug 06 2023
STATUS
approved