Beruflich Dokumente
Kultur Dokumente
1. #15 Let p be an odd prime number and let a be a quadratic residue modulo
p.
Prove that a is also a quadratic residue modulo p if and only if p 1 mod 4.
I will use the following a theorem.
Theorem 1. Let p be an odd prime number. Then
(
1, if p 1 mod 4
1
= (1)(p1)/2 =
1, if p 3 mod 4.
p
Solution:
Assume the hypothesis. Since a is a quadratic residue we have pa = 1.
This gives
a
1 a
1
1
=
=
.
(1) =
p
p
p
p
p
Thus a is a quadratic residue modulo p if and only if 1 is a quadratic
residue modulo p.
Finally, by Theorem 1, 1 is a quadratic residue modulo p if and only if p
1 mod 4.
2. #16
a) Does there exist a positive integer n such that n 2 + 1 is evenly divisible
by 7? Prove your assertion.
Solution:
No. Since n 2 +1 is divisible by 7 ifand only if n 2 +1 0 mod 7 if and only
if n 2 1 mod 7 if and only if 1
7 = 1 which is false by Theorem 1 above
1
since 7 1 mod 4 implies 7 = 1.
b) Does there exist a positive integer n such that n 2 + 1 is evenly divisible
by 13? Prove your assertion.
Solution:
2
Yes. Again we can think of this problem
1 as a congruence. That is n + 1
is
divisible by 13 if and only if 13 = 1. From Theorem 1 we have
1evenly
= 1 since 13 1 mod 4.
13
c) Find a necessary and sufficient condition on an odd prime number p for
there to exist a positive integer n such that n 2 +1 is evenly divisible by p.
Solution:
2
The pattern is clear to see. n + 1 is evenly divisible by p if and only if
1
p
4. #19 Let p be an odd prime number. Prove that if a and b are both quadratic
residues modulo p, then the quadratic congruence ax 2 b mod p is solvable.
What happens if a and b are both quadratic nonresidues modulo p? What
happens if one of a and b is a quadratic residue modulo p and the other is a
quadratic nonresidue modulo p?
Solution:
Assume the
Since a and b are both quadratic residues modulo p
hypothesis.
we have
a
p
b
p
= 1.
5. #23 Let p be an odd prime number and let n be a quadratic nonresidue modulo p. Prove that
X
d (p1)/2 0 mod p.
d |n,d >0
Solution:
P
d |n,d >0
Let (n) =
P
d |n,d >0
d
p
d (p1)/2 =
P
d |n,d >0
d
.
p
Since dp is multiplicative (that is ab
= pa pb ) we know that (n) is multip
plicative.
a
Since we know that np = 1, at least one of the a i , from the prime power
factorization, must be odd. Otherwise, if all a i were even, n would be a perfect
square and we would have a contradiction. So lets consider just one of the
factors q a where q is prime and a is an odd positive integer since we know at
least one must exist.
a a
q
q
q
Since a is odd and p = p = 1 it must be the case that p = 1 since if
q
q a
=
1
we
would
have
= 1, a contradiction.
a
a
Thus we have
q
Note that
to 0.
a
P
n=0
a n
a n
a
X
X
X
d
q
q
(1)n 0 mod p.
n=0 p
n=0 p
n=0
d |q a ,d >0 p
X