$a^n+ b^n$ is not a prime number when $n$ is not a power of $2$.

87 Views Asked by At

Suppose $a, b$ and $n$ are positive integers, $a+b>2$, and $n$ is not a power of $2$. Prove that $a^n+ b^n$ is not a prime number.

2

There are 2 best solutions below

2
On

You can't "assume $n$ to be odd", but you can say that it has an odd factor $> 1$.

2
On

You can not assume it's odd, but you can assume it contains an odd factor.

Consider $n=2^k\cdot x$ where $x$ is odd.

$$a^n+b^n=a^{2^k\cdot x}+b^{2^k\cdot x}=(a^{2^k}+b^{2^k})(a^{2^k\cdot(x-1)}-a^{2^k\cdot(x-2)}b^{2^k}+...-b^{2^k\cdot(x-2)}a^{2^k}+b^{2^k\cdot(x-1)})$$

Since both brackets are greater than $1$, $a^n+b^n$ is composite.