OFFSET
1,1
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..208
M. Hassani, On the decomposition of n! into primes, arXiv:math/0606316.
FORMULA
Let k = number of prime divisors of n! counted with multiplicity; b = number of distinct prime divisors of n!. Then n is in sequence if k/b is an integer.
EXAMPLE
S(4!) = bigomega(4!) / omega(4!) = 4/2 = 2 so 4 is 3rd term in the sequence.
MATHEMATICA
ointQ[n_]:=Module[{f=n!}, IntegerQ[PrimeOmega[f]/PrimeNu[f]]]; Select[Range[ 2, 6000], ointQ] (* Harvey P. Dale, Dec 07 2013 *)
Omega = Nu = 0; a = {}; Do[If[PrimeQ[n], Nu++]; Omega += PrimeOmega[n];
If[Divisible[Omega, Nu], AppendTo[a, n]], {n, 2, 6000}]; a (* Ivan Neretin, Mar 14 2017 *)
PROG
(PARI) for(x=2, 10000, x1=x!; y=bigomega(x1)/omega(x1); if(y==floor(y), print1((x)", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 16 2003
STATUS
approved