PrimeOmega

PrimeOmega[n]

gives the number of prime factors counting multiplicities in n.

Details and Options

  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • For a number with a unit and primes, PrimeOmega[n] returns k1++km.
  • PrimeOmega[n,GaussianIntegers->True] gives the number of Gaussian prime factors in n.
  • PrimeOmega is a completely additive number theoretic function.

Examples

open allclose all

Basic Examples  (2)

gives the number of prime factors counting multiplicities:

In[1]:=
Click for copyable input
Out[1]=

Plot the sequence:

In[1]:=
Click for copyable input
Out[1]=

Scope  (4)

Options  (1)

Properties & Relations  (3)

See Also

PrimeNu  LiouvilleLambda  FactorInteger

Introduced in 2008
(7.0)