Möbius function/Definition

Arithmetic function which takes the values -1, 0 or +1 depending on the prime factorisation of its input n.