Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 4.2.17 ($q$ is prime if and only if $\sigma(q) = q+1$)

Exercise 4.2.17 ($q$ is prime if and only if $\sigma(q) = q+1$)

Prove that an integer q is prime if and only if σ ( q ) = q + 1 .

Answers

Proof. Let q be a positive integer.

If q is prime, the only divisors of q are 1 and q , where q 1 , thus σ ( q ) = q + 1 .

Conversely, suppose that σ ( q ) = q + 1 . Since σ ( 1 ) = 1 , q 1 . Assume, for the sake of contradiction, that q is not prime. Then, by definition of a prime number, q has a divisor d > 0 , where d 1 , d q . Therefore

σ ( q ) 1 + q + d > 1 + q .

This contradicts σ ( q ) = q + 1 . This proves that q is prime.

In conclusion, q is prime if and only if σ ( q ) = q + 1 . □

User profile picture
2025-01-15 11:06
Comments