OFFSET
2,1
FORMULA
EXAMPLE
a(4) = 36 because 4! = 24 = 2^3 * 3 and 36 = 2^2 * 3^2 both have 4 prime factors, counted with multiplicity, and no numbers between 24 and 36 have exactly 4 prime factors.
MAPLE
f:= proc(n) local x, t;
t:= numtheory:-bigomega(n);
for x from n!+1 do
if numtheory:-bigomega(x) = t then return x fi
od
end proc:
map(f, [$2..16]);
MATHEMATICA
s={}; Do[i=n!+1; ponf=PrimeOmega[n!]; While[!ponf==PrimeOmega[i], i++]; AppendTo[s, i] , {n, 2, 14}]; s (* James C. McMahon, Sep 23 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Sep 22 2024
STATUS
approved