Moebius function

Known as: Moebius function

▪ The value is 1 if n is not divisible by a square and has an even number of prime factors.

▪ The value is −1 if n is not divisible by a square and has an odd number of prime factors.

▪ The value is 0 if n is divisible by a square.

The first 77 terms (starting from n=1) are:

1 -1 -1 0 -1 1 -1 0 0 1 -1 0 -1 1 1 0 -1 0 -1 0 1 1 -1 0 0 1 0 0 -1 -1 -1 0 1 1 1 0 -1 1 1 0 -1 -1 -1 0 0 1 -1 0 0 0 1 0 -1 0 1 0 1 1 -1 0 -1 1 0 0 1 -1 -1 0 1 -1 -1 0 -1 1 0 0 1