Quantcast

Documentation Center

  • Trial Software
  • Product Updates

numlib::Omega

Number of prime divisors (with multiplicity)

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

numlib::Omega(a)

Description

numlib::Omega(a) returns, for a given positive integer a, the finite sum , where p runs through all primes, and α(p, a) denotes the highest exponent for which pα divides a.

Examples

Example 1

In contrast to numlib::numprimedivisors, the prime factor 2 of 120 is counted thrice:

numlib::Omega(120)

The same happens here:

numlib::Omega(8)

Parameters

a

Positive integer

Return Values

numlib::Omega returns a positive integer.

See Also

MuPAD Functions

Was this topic helpful?