UserManual

multiplicative

Module for multiplicative number theory functions.

Functions

euler(n)

Euler totient function.
It returns the number of relatively prime numbers to n smaller than n.

moebius(n)

Moebius function. It returns:

sigma(m, n)

Return the sum of m-th powers of the factors of n.
(new in 0.4.0)


Last-modified: 2005-12-18 (Æü) 17:45:35