NumberTheory - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Numbers : NumberTheory/NumberOfPrimeFactors

NumberTheory

  

NumberOfPrimeFactors

  

number of prime factors counted with multiplicity

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

NumberOfPrimeFactors(n)

Omega(n)

Parameters

n

-

non-zero integer

Description

• 

The NumberOfPrimeFactors command computes the number of prime factors of the integer n counted with multiplicity.

• 

Omega is an alias of NumberOfPrimeFactors.

Examples

withNumberTheory:

NumberOfPrimeFactors5

1

(1)

NumberOfPrimeFactors9

2

(2)

Ω57

2

(3)

Si=1nΩfi

Si=1nNumberTheory:-Omegafi

(4)

evalS,f=k→2k+1,n=15

21

(5)

Compatibility

• 

The NumberTheory[NumberOfPrimeFactors] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory