Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

numlib::Omega

Number of prime divisors (with multiplicity)

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

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?