x^2 = 71 mod 77 has four answers as x = 15 mod 77, x = 29 mod 77 , x= −15 mod 77 and x = −29 mod 77. According to the formula when we know the solutions we can try to factorize n as follows:
x = ±a,±b of x2 = y mod n where n = p × q
a = b mod p and a = −b mod q.
However when I plug in a's and b's to the formula it doesnt give me the result ?