PrimeNu
The number of distinct prime factors of n.
Wikipedia
Prime omega functionMathWorldDistinctPrimeFactorsWikidataQ55630466DLMF27.2.i.p1OEISA001221Wolfram LanguagePrimeNu✓PrimeNu(n)number of distinct prime factors of Details
- Counts distinct primes only --
, not 5. - Equal to the length of FactorInteger
. : 1 has no prime factors. - Always
, with equality exactly when is squarefree. See PrimeOmega.
Examples
See also: PrimeOmega, FactorInteger