OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 3013 is a term because 3013 = 23 * 131 has 2 prime factors counted by multiplicity, 3014 = 2 * 11 * 137 has 3, 3015 = 3^2 * 5 * 67 has 4, and 3016 = 2^3 * 13 * 29 has 5.
MAPLE
R:= NULL: state:= 0: count:= 0:
for x from 1 while count < 50 do
v:= numtheory:-bigomega(x);
if v = 2 then state:= 2
elif v = state+1 and state >= 2 then state:=state+1
else state:= 0
fi;
if state = 5 then count:= count+1; R:= R, x-3;
fi;
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
_Zak Seidov_ and _Robert Israel_, Jun 23 2023
STATUS
approved