How to solve a polynomial congruence when you can't factor?

130 Views Asked by At

I'm trying to find the values that are solutions of the following congruence $$x^3 +4x^2+14x+9 = 0 \mod 19$$ I tried to factor it but couldn't. Factoring is the only way I know.

1

There are 1 best solutions below

0
On

For N that small you can simply test all values, it so happens that $(x-3)$ is a factor ($3^3+4*3^2+14*3+9 = 8+17+4+9 = 0$). After that, $x^3+4x^2+14x+9 = (x-3)(x^2+7x+16)=(x-3)(x-5)(x-7)$.