OFFSET
0,3
COMMENTS
omega(x!) = number of primes <= x or Pi(x)
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
FORMULA
omega(x): number of distinct prime divisors of x. bigomega(x): number of prime divisors of x, counted with multiplicity.
MAPLE
p:= 0: w:= 0: R:= 0:
for n from 1 to 100 do
if isprime(n) then p:= p+1 fi;
w:= w+numtheory:-bigomega(n);
R:= R, p+w
od:
R; # Robert Israel, Nov 21 2024
PROG
(PARI) omegafactpbigomegafact(n) = { local(x); for(x=0, n, print1(omega(x!)+bigomega(x!)", ") ) }
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Cino Hilliard, Jan 29 2006
STATUS
approved