Liouville function

In number theory, the Liouville function, named after French mathematician Joseph Liouville and denoted , is an important arithmetic function. Its value is if is the product of an even number of prime numbers, and if it is the product of an odd number of prime numbers.