The Liouville function, denoted by λ(n) and named after Joseph Liouville, is an important function in number theory.
If n is a positive integer, then λ(n) is defined as:
,
where Ω(n) is the number of prime factors of n, counted with multiplicity. (SIDN A008836).
λ is completely multiplicative since Ω(n) is additive. We have Ω(1)=0 and therefore λ(1)=1. The Liouville function satisfies the identity:
if n is a perfect square, and:
otherwise.
The Liouville function is related to the Riemann zeta function by the formula
Polya conjectured that
for n>1. This turned out to be false, n=906150257 being a counterexample. It is not known as to whether L(n) changes sign infinitely often.
Also, if we define,
, the fact that
is equivalent to the Riemann hypothesis.