OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 1245375 is a term because 1245375 = 3^5 * 5^3 * 41 and 1245376 = 2^6 * 11 * 29 * 61 each have 9 prime factors, counted with multiplicity.
MAPLE
with(priqueue):
R:= NULL: count:= 0:
initialize(Q); r:= 0:
insert([-2^9, [2$9]], Q);
while count < 40 do
T:= extract(Q);
if -T[1] = r + 1 then
R:= R, r; count:= count+1;
fi;
r:= -T[1];
p:= T[2][-1];
q:= nextprime(p);
for i from 9 to 1 by -1 while T[2][i] = p do
insert([-r*(q/p)^(10-i), [op(T[2][1..i-1]), q$(10-i)]], Q);
od
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Feb 04 2024
STATUS
approved