Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.2.23* (Sum of the odd divisors of $n$)
Exercise 4.2.23* (Sum of the odd divisors of $n$)
Show that the sum of the odd divisors of is , and that this is where is defined to be if is not an integer.
Answers
Proof.
- (a)
-
For every positive integer
, we define
the sum of odd divisors of , and
We show that and are multiplicative functions.
-
Let be a positive integer. We write in the form , where and is an odd integer.
Every divisor of is odd, so is an odd divisor of . Conversely, every odd divisor of satisfies , thus . This shows that the set of odd divisors of is the set of divisors of , therefore
If and are such that (so or ), then , where is odd and , thus
So is a multiplicative function.
-
By definition,
If ,
The following array compares the values and in every case.
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 , except if are both even. But and , where are relatively prime, thus are not both even, so for every such pair of divisors in (2). Therefore
(Since , every divisor of is in an unique way the product , where .)
So is a multiplicative functions.
Now we compare and , where is a prime number.
-
If ,
and
-
If ,
and
because if and if .
In both cases, . Since and are multiplicative functions for every positive integer , so
-
- (b)
-
We write
, where
is an odd integer.
-
If is odd, then , and . Here is not an integer, so , and
-
If is even, then , and since is a multiplicative function,
In both cases,
(Alternatively, if is even,
and if is odd
In both cases,
-