Recently, I stumbled upon this problem, Solve $x^2$ $mod$ $23 = 7^2$, both here at MSE and somewhere surfing the web. I tried to solve it but don't know how. Although I can't remember where I found it, I doremember the question saying to solve the equation for $x$ rather than to determine whether some sort of solution existed. So by that, I presume that there is a such solution that I am not seeing.
I tried the following: $1^2$ mod $23$, $2^2$ mod $23$, $3^2$ mod $23$, $...$ , $22^2$ mod $23$. Following this procedure did not yield an answer of $49$. Can anyone show me how a solution is determined because it has been over 2 days and it is driving me crazy from my inability to see the solution.
modthe latter is meant almost always (and $x^2\equiv7^2\pmod {23}$ surely has solutions $x\equiv\pm7$). Many programmers have note heard of the latter meaning, and only know of the remainder operation. $a\bmod b$ that returns an integer with absolute value less than $|b|$. – Jyrki Lahtonen Dec 10 '13 at 04:41