Determine when
factors, and give the factorisation.
Test to decide whether is a factor. By the factor theorem, divides the expression exactly when substituting gives zero:
So the parity of decides everything, and it does so for a single clean reason.
Write the identity for odd . When is odd,
The alternating signs cause every middle term to cancel when the product is expanded. Verified exactly for across integer pairs each ✓.
See the small odd cases.
The cofactor always has terms, all of total degree , and its signs alternate starting and ending with a plus.
Understand the even case. For even there is no factorisation valid for all such : is irreducible over the reals, and numerically while — so is genuinely not a factor ✓.
Exploit odd factors hidden inside an even . If is even but divisible by an odd number , write and treat the expression as , which then factors by the odd rule. For with , :
When is a power of two () no odd factor exists, and is irreducible over — although special forms such as still factor via Sophie Germain's identity.
Need to solve a different problem like this? Open the solver →