MA522, Fall 2021, Homework 6: (due Tue Nov 23, 11:59pm, by email or upload on Moodle; you can send/upload cell phone photos of your handwritten solution). Problem 1 [Zassenhaus, J. Number Theory, vol. 1, 1969]: Let a \equiv b^2 (mod p) for a not equal 0, p a prime >= 3. We wish to factor x^2 - a in \ZZ_p[x]. (i) prove that for at least (p-1)/2 residues r in \ZZ_p, the residues r+b mod p and r-b mod p have opposite quadratic residuosity. [Hint: consider the range of the affine function z -> (z+b)/(z-b) [[Rabin]].] (ii) prove that for at least (p-1)/2 residues r in \ZZ_p the GCD GCD( (x+r)^2 - a, (x^{(p-1)/2} - 1) mod ((x+r)^2 - a) ) in \ZZ_p[x] is nontrivial, hence x+r+b or x+r-b, yielding b for a random r with probability no less than 1/2 - 1/(2p). Can the GCD be computed as GCD( y^2 - a, ( (y - r)^{(p-1)/2} - 1 ) mod (y^2 - a) ) in \ZZ_p[y]? ======================================================================