0

I looked at this topic How can I solve quadratic equations using modular arithmetic, but it still didn't answer my question.

$$n^2 + n + 8 \equiv 0 \pmod {18}$$

According to the discussion mentioned earlier, we need to complete the square and then solve it. Also, if the linear term is odd, then we can add a multiple of the modulus to make it even. This only works if the modulus is odd. However, in this case modulus is even. How do I solve this equation?

lulu
  • 70,402
py_math
  • 302

0 Answers0