Let us define f and g by f(x)=x5+5x4+5x3+5x2+1, g(x)=x5+5x4+3x3−5x2−1.
Determine all prime numbers p such that, for at least one integer x,0≤x<p−1, both f(x) and g(x) are divisible by p. For each such p, find all x with this property. polynomialprimesdividesalgebra