Exercise 4.2.23* (Sum of the odd divisors of $n$)

Show that the sum of the odd divisors of n is d n ( 1 ) n d d , and that this is σ ( n ) 2 σ ( n 2 ) where σ ( a ) is defined to be 0 if a is not an integer.

Answers

Proof.

(a)
For every positive integer n , we define S ( n ) = d n , 2 d d

the sum of odd divisors of n , and

T ( n ) = d n ( 1 ) n d d .

We show that S and T are multiplicative functions.

  • Let n be a positive integer. We write n in the form n = 2 α n , where α 0 and n is an odd integer.

    Every divisor of n is odd, so is an odd divisor of n . Conversely, every odd divisor d of n satisfies d 2 α n , d 2 α = 1 , thus d n . This shows that the set of odd divisors of n is the set of divisors of n , therefore

    S ( n ) = σ ( n ) , ( n = 2 α n , 2 n ) .

    If n = 2 α n and m = 2 β m are such that m n = 1 (so α = 0 or β = 0 ), then nm = 2 α + β m n , where m n is odd and m n = 1 , thus

    S ( n ) S ( m ) = σ ( n ) σ ( m ) = σ ( n m ) = S ( nm ) .

    So S is a multiplicative function.

  • By definition,

    T ( n ) = d n ( 1 ) n d d = δ n ( 1 ) δ n d ( δ = n d ) .

    If n m = 1 ,

    T ( n ) T ( m ) = d 1 n ( 1 ) d 1 n d 1 d 2 n ( 1 ) d 2 m d 2 (1) = d 1 n , d 2 m ( 1 ) d 1 + d 2 nm d 1 d 2 . (2)

    The following array compares the values ( 1 ) d 1 + d 2 and ( 1 ) d 1 d 2 in every case.

    d 1 mod 2 d 2 mod 2 d 1 + d 2 mod 2 d 1 d 2 mod 2 ( 1 ) d 1 + d 2 ( 1 ) d 1 d 2
    0 0 0 0 1 -1
    0 1 1 0 -1 -1
    1 0 1 0 -1 -1
    1 1 0 1 1 1

    This shows that ( 1 ) d 1 + d 2 = ( 1 ) d 1 d 2 , except if d 1 , d 2 are both even. But d 1 n and d 2 m , where m , n are relatively prime, thus d 1 , d 2 are not both even, so ( 1 ) d 1 + d 2 = ( 1 ) d 1 d 2 for every such pair of divisors in (2). Therefore

    T ( n ) T ( m ) = d 1 n , d 2 m ( 1 ) d 1 d 2 nm d 1 d 2 = d nm ( 1 ) d nm d = T ( nm ) .

    (Since n m = 1 , every divisor d of nm is in an unique way the product d = d 1 d 2 , where d 1 n , d 2 m .)

    So T is a multiplicative functions.

Now we compare S ( p α ) and T ( p α ) , where p is a prime number.

  • If p 2 ,

    S ( p α ) = σ ( p α ) = p α + 1 1 p 1 ,

    and

    T ( n ) = i = 0 α ( 1 ) p α i p i = i = 0 α p i = p α + 1 1 p 1
  • If p = 2 ,

    S ( n ) = 1 ,

    and

    T ( n ) = i = 0 α ( 1 ) 2 α i 2 i = 2 α i = 0 α 1 2 i = 1 ,

    because ( 1 ) 2 α i = 1 if α = i and ( 1 ) 2 α i = 1 if 0 i α 1 .

In both cases, S ( p α ) = T ( p α ) . Since S and T are multiplicative functions , S ( n ) = T ( n ) for every positive integer n , so

S ( n ) = d n , 2 d d = d n ( 1 ) n d d .

(b)
We write n = 2 α n , where n is an odd integer.
  • If n is odd, then α = 0 , and S ( n ) = σ ( n ) = σ ( n ) . Here n 2 is not an integer, so σ ( n 2 ) = 0 , and

    S ( n ) = σ ( n ) 2 σ ( n 2 ) .

  • If n is even, then α 1 , and since σ is a multiplicative function,

    σ ( n ) 2 σ ( n 2 ) = σ ( 2 α n ) 2 σ ( 2 α 1 n ) = ( 2 α + 1 1 ) σ ( n ) 2 ( 2 α 1 ) σ ( n ) = σ ( n ) = S ( n ) .

In both cases,

S ( n ) = σ ( n ) 2 σ ( n 2 ) .

(Alternatively, if n is even,

S ( n ) = d n , 2 d d = d n d d n , 2 d d = d n d δ n 2 ( 2 δ ) ( d = 2 δ ) = σ ( n ) 2 σ ( n 2 ) ,

and if n is odd

S ( n ) = d n , 2 d d = d n d = σ ( n ) .

In both cases,

S ( n ) = σ ( n ) 2 σ ( n 2 ) . )

User profile picture
2025-01-22 10:03
Comments