0

I need to prove that:

$$(6 + x^2) \mod 7 = 4$$

is not possible for $x\in \mathbb{N}$.

I know the proof would be by contradiction (i.e. assume we have a value of $x$ that solves this equation and reach a contradiction), but I'm not sure here to go from there. Any help would be appreciated.

2 Answers2

6

Note that $$(x^2+6) \pmod{7} = 4 \iff x^2 \pmod{7} \equiv 5 \pmod7$$ Now we have $$ x^2 \equiv \begin{cases} 0\pmod7 & \text{if } x \equiv 0 \pmod7\\ 1\pmod7 & \text{if } x \equiv \pm 1 \pmod7\\ 4\pmod7 & \text{if } x \equiv \pm 2 \pmod7\\ 2\pmod7 & \text{if } x \equiv \pm 3 \pmod7\\ \end{cases} $$ Hence, $x^2 \pmod{7} \equiv 5 \pmod7$ has no solution.

5

HINT: If $6+x^2\bmod 7=4$, then $x^2\bmod 7=5$.

Brian M. Scott
  • 616,228