Nice, Number Theory lets go harder.
—
NUMBER THEORY PROBLEM (Challenging)
Find all integers such that:
x^2 – 5x + 6 equiv 0 pmod{7}
—
Solution
We solve this using Modular Arithmetic.
—
Step 1: Work modulo 7
We test values of from to (since modulo 7 repeats).
—
Step 2: Try values
Substitute into:
x^2 – 5x + 6 pmod{7}
:
:
:
:
:
:
:
—
Step 3: Solutions modulo 7
x equiv 2 pmod{7}, quad x equiv 3 pmod{7}
—
Final Answer
All integers of the form:
x = 7k + 2 quad text{or} quad x = 7k + 3
where is any integer
Leave a Reply
You must be logged in to post a comment.