abx^2-(a^2+b^2)x-(a^2-b^2)=(ax+a-b)*(bx-a-b)
x^9+x^6+x^3-3
=(x^9-1)+(x^6-1)+(x^3-1)
=(x^3-1)*(x^6+x^3+1)+(x^3+1)*(x^3-1)+(x^3-1)
=(x^3-1)*(x^6+2x^3+3)
=(x-1)*(x^2+x+1)*(x^6+2x^3+3)
很久不做是不行啊……
abx^2-(a^2+b^2)x-(a^2-b^2)=(ax+a-b)*(bx-a-b)
x^9+x^6+x^3-3
=(x^9-1)+(x^6-1)+(x^3-1)
=(x^3-1)*(x^6+x^3+1)+(x^3+1)*(x^3-1)+(x^3-1)
=(x^3-1)*(x^6+2x^3+3)
=(x-1)*(x^2+x+1)*(x^6+2x^3+3)
很久不做是不行啊……