Exercise 4.2.20 (Liouville's lambda function)

For any positive integer let λ ( n ) = ( 1 ) Ω ( n ) . This is Liouville’s lambda function. Prove that λ ( n ) is totally multiplicative, and that

d n λ ( d ) = { 1 if  n  is a perfect square 0 otherwise.

Answers

Proof.

(a)
Let n , m be positive integers. We write n = p 1 α 1 p 2 α 2 p l α l , m = p 1 β 1 p 2 β 2 p l β l , nm = p 1 γ 1 p 2 γ 2 p l γ l

the prime decompositions of n , m , nm , where α i 0 , β i 0 , γ i 0 , and γ i = α i + β i , i = 1 , 2 , , l .

Then

Ω ( n ) = i = 1 l α i , Ω ( m ) = i = 1 l β i ,

and

Ω ( nm ) = i = 1 l γ i = i = 1 l α i + i = 1 l β i = Ω ( n ) + Ω ( m ) .

Therefore

λ ( nm ) = ( 1 ) Ω ( nm ) = ( 1 ) Ω ( n ) + Ω ( m ) = ( 1 ) Ω ( n ) ( 1 ) Ω ( m ) = λ ( n ) λ ( m ) .

This shows that λ is totally multiplicative.

(b)
We define F ( n ) = d n λ ( n ) . Since λ is multiplicative, by Theorem 4.4, F is also multiplicative.

Using λ ( p a ) = ( 1 ) a for p prime and a , we obtain for every α ,

F ( p α ) = d p α λ ( d ) = a = 0 α λ ( p a ) = a = 0 α ( 1 ) a

Therefore

F ( p α ) = 1 ( 1 ) α 2 = { 1 if  α  is even , 0 otherwise.

If n = p 1 α 1 p 2 α 2 p l α l is any positive integer, since F is multiplicative,

F ( n ) = 1 ( 1 ) α 1 2 1 ( 1 ) α 2 2 1 ( 1 ) α l 2 = { 1 if  α 1 , , α n  are even , 0 otherwise.

Since n is a perfect square if and only if all exponents α i are even, we obtain

d n λ ( d ) = { 1 if  n  is a perfect square 0 otherwise.

User profile picture
2025-01-20 09:15
Comments