Show that $a^3+a^2b+ab^2+b^3$ is not a prime, if a and b are positive integers

84 Views Asked by At

I approached it by attempting to factor it and then show that one factor can't be one and the other can't be prime. This gets nowhere, as you can't factor this expression. Is there another way to do it?

3

There are 3 best solutions below

2
On

Hint: $a^3+a^2b+ab^2+b^3=(a^2 + b^2)(a + b)$.

0
On

$a^3+b^3+a^2b+ab^2\\=(a+b)(a^2-ab+b^2)+a^2b+ab^2\\=(a+b)(a^2-ab+b^2)+ab(a+b)\\=(a+b)(a^2-ab+b^2+ab)\\=(a+b)(a^2+b^2)$

0
On

Hint: $(a-b)(a^3+a^2b+ab^2+b^3) = a^4-b^4=(a^2-b^2)(a^2+b^2)=(a-b)(a+b)(a^2+b^2)$