Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.3.34* (Primes of the form $m^4 + 4^n$)
Exercise 1.3.34* (Primes of the form $m^4 + 4^n$)
Shows that if is prime, then is odd and is even, except when .
Answers
beginproof Assume that is prime, with and .
For the sake of contradiction, suppose that is even. Then is even. If , is even, so is even. This is possible only if , which gives . This proves that is odd, except when .
Now suppose that is odd, so that for some integer. Then
(For instance, if , then .)
Moreover . If , then is odd, so , therefore . This proves that is composite.
If , then , and is composite, unless (see Exercise 32).
To conclude, if is prime, then is odd and is even, except when .