OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 34 because 34 = 2 * 17 is the first even semiprime > a(2) = 25.
MAPLE
N:= 100: # for a(1) .. a(N)
V:= Vector(N): V[1]:= 4: x:= 4:
for i from 2 to N do
for y from x+1 by 2 do
if numtheory:-bigomega(y) = 2 and numtheory:-bigomega(y-x) = 2 then
x:= y; V[i]:= y; break
fi
od od:
convert(V, list);
MATHEMATICA
s={4}; Do[k = s[[-1]] + 1; While[{2, 2} != PrimeOmega[ {k, k - s[[-1]]}], k = k + 2]; AppendTo[s, k], {30}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Feb 22 2024
STATUS
approved