NT_MU

NT_MU Möbius mu function

Synopsis

NT_MU(n)

Arguments

n: positive integer

Description

NT_MU function (Möbius mu function) returns 0 if n is divisible by the square of a prime. Otherwise, if n has an odd number of different prime factors, NT_MU returns -1, and if n has an even number of different prime factors, it returns 1. If n = 1, NT_MU returns 1.

See also

ITHPRIME, NT_PHI, NT_SIGMA, NT_D.