Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.3.16 (Solve $x^3 -9x^2 + 23 x - 15 \equiv 0 \pmod {503}$)
Exercise 2.3.16 (Solve $x^3 -9x^2 + 23 x - 15 \equiv 0 \pmod {503}$)
Solve the congruence by observing that is a prime and that the polynomial factors into .
Answers
Proof. All is said in the sentence.
Since is prime, the congruence is equivalent to
□
With Sage:
sage: p = 503 sage: p.is_prime() True sage: R.<x> = GF(p)[] sage: p = x^3 - 9*x^2 + 23*x - 15 sage: p.factor() (x + 498) * (x + 500) * (x + 502) sage: p == (x-1)*(x-3)*(x-5) True
2024-08-12 18:54