Question: square numbers (mod x)

hi, i have been trying to solve this. x^2 = 670 (mod 291). or x^2 - 291*y = 670. I have been trying to find x^2 manually, but it is taking a lot of time. is there any program that could go through the square numbers from 1, 2, ..., 291 to find x^2 = 670 (mod 291). many thanx, antonio
Please Wait...