If I take any 2 natural numbers: $a$ and $b$, such that $a \gt b$
How to solve this type of congruence equation to find $x$?: $$ a-x^2 \equiv 0\bmod{b} $$
Give me an example.
What properties of modular arithmetic can I use?
If I take any 2 natural numbers: $a$ and $b$, such that $a \gt b$
How to solve this type of congruence equation to find $x$?: $$ a-x^2 \equiv 0\bmod{b} $$
Give me an example.
What properties of modular arithmetic can I use?
So, basically you are looking for quadratic residue. There is no concrete way you can solve your equation for all such $a$ and $b$. But it is helpful to know the Legendre symbol when you deal with such type of equations.
I can provide one example of how you can approach (simple) problem: Solve equation $15-x^2 \equiv 0 \ (mod \ 7)$. Solution: $15-x^2 \equiv 0 \ (mod \ 3) \implies x^2 \equiv 15 \ (mod \ 7) \implies x^2 \equiv15-7\cdot2 \ (mod \ 7) \implies x^2 \equiv 1 \ (mod \ 7) \implies x^2-1 \equiv 0 \ (mod \ 7) \implies 3|(x-1)(x+1) \implies x \equiv\pm1 \ (mod \ 7)$.
You can post your exact problem, it will make it easier to understand.