Factoring a fourth power plus four
Prove that n^4 + 4 is composite for every integer n greater than or equal to 2.
Hint
Add and subtract 4n^2 to form a difference of squares.
Show answer and methods 2 methods
Answer
It equals (n^2 - 2n + 2)(n^2 + 2n + 2), with both factors greater than 1.
Method 1 Complete a square
Topics usedCompleting the squareSophie Germain identity
Write n^4 + 4 = (n^2 + 2)^2 - (2n)^2. Factoring gives (n^2 - 2n + 2)(n^2 + 2n + 2). The smaller factor is (n-1)^2 + 1, at least 2 when n >= 2. The larger is even greater. The number is therefore a product of two integers greater than 1.
Method 2 Find a proper divisor by modular arithmetic
Topics usedModular arithmeticProper divisors
For even n the number is divisible by 4 and exceeds 4. For odd n>=3, take d=(n-1)^2+1. Modulo d we have (n-1)^2=-1 and hence n^2=(n-1)^2+2(n-1)+1=2(n-1). Squaring gives n^4=4(n-1)^2=-4 modulo d. Thus d divides n^4+4. Since 1<d<n^2<n^4+4, it is a proper divisor, proving compositeness.