Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.2.12 (When $d(n)$ and $\sigma_k(n)$ are odd?)
Exercise 4.2.12 (When $d(n)$ and $\sigma_k(n)$ are odd?)
Prove that the number of divisors of is odd if and only if is a perfect square. If the integer , prove that is odd if and only is a square or double a square.
Answers
beginproof
- (a)
-
Let
be a positive integer.
-
Suppose that is odd, where is the canonical prime decomposition of . Then
is odd, therefore every factor is odd, thus is even for all . This shows that is a perfect square.
-
Conversely, suppose that is a perfect square, where . By the unique factorization theorem, every exponent is even, so , where is an integer, and . Then
is a product of odd numbers, so is odd.
The number of divisors of is odd if and only if is a perfect square
-
- (b)
-
Let
be a positive integer.
-
Suppose that is odd. We write the canonical prime decomposition of , where and the are odd prime numbers. By Problem 8,
Since is odd, each factor is odd, so is odd for every . Moreover
is the sum of odd numbers, therefore is odd, so for some integers . Then
So is a square or double a square.
-
Conversely, suppose that or for some integer . We write the canonical prime decomposition of , where the are odd primes. Then
where and or . The formula of Problem 8 gives
Since and , is odd, and is odd, where , thus is an odd integer. Moreover for every ,
is the sum of odd integers, thus is odd for every . This shows that is odd.
In conclusion, is odd if and only is a square or double a square.
-