PrimeNu

PrimeNu[n]
gives the number of distinct primes in n.

Details and OptionsDetails and Options

  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • For a number with a unit and primes, PrimeNu[n] returns m.
  • PrimeNu[n,GaussianIntegers->True] gives the number of distinct Gaussian primes in n.
  • PrimeNu also works for rational numbers.
  • PrimeNu is an additive number theoretic function.
Introduced in 2008
(7.0)