Professional Documents
Culture Documents
Thinh D. Nguyen∗
Moscow State University
kosmofarmer@gmail.com
Quadratic residue modulo an odd prime power has been studied for cen-
turies. Many mathematical tools have been devised to deal with those odd
prime power. The left moduli of powers of 2 are thus naturally the subject
of this article. We set the objectives of showing some intriguing properties
of quadratic residues modulo an even prime power. Though humble in its
significance, our results are achieved after years of reading Prasolov’s and I. F.
Sharygin’s maths books.
∗ Perebor
1
Quadratic residue modulo a power of 2 • July 2018
Claim: Restricted to odd residues, the squaring function is 4−to−1 and the
range is the set of residues congruent to 1 modulo 8.
Proof: All that is left to prove the claim is that every residue congruent to 8 is
a quadratic one.
Indeed, by induction, we can prove the existence of a square root of any residue
congruent to 1 modulo 8. The case n = 3 is easy to check; if x2 ≡ a mod 2n then
x2 = a + 2n k for some integer k; it is easy to see that x is odd and that
2
( x + 2n−1 k) = a + 2n k (1 + x ) + 2n+1 k2 2n−3 ≡ a mod 2n+1 (1)
Q.E.D
References
[1] Michael R. Garey, David S. Johnson, Computers and Intractability: A Guide
to the Theory of NP-Completeness
[2] Robertson, N.; Seymour, P. D.; Graph Minors. XIII. The Disjoint Paths
Problem, Elsevier Jan. 1995
[3] Phan Dinh Dieu, Le Cong Thanh, Le Tuan Hoa, Average Polynomial Time
Complexity of Some NP-Complete Problems. Theor. Comput. Sci. 46(3):
219-237 (1986)