Math 322: Number Theory
Solutions for Section 9.1

Oops, I typed out the solution to problem 1 instead of problem 2. For problem 2, you do exactly the same thing. Since the  modulii are not  prime, quadratic residues must be relatively prime to the modulus.

1. There are several ways to determine the quadratic residues. Either you can square the least positive residues and see what results - or - you can compute the Legendre symbol (a/p) and the quadratic residues will correspond to 1. I'll take the first approach (mostly because it is easier to type!)

x
x2
 (c) x2 mod 13
(d) x2 mod 19
1
1
1
1
2
4
4
4
3
9
9
9
4
16
3
16
5
25
12
6
6
36
10
17
7
49
10
11
8
64
12
7
9
81
3
5
10
100
9
5
11
121
4
7
12
144
1
11
13
169
 
17
14
196
 
6
15
225
 
16
16
256
 
9
17
289
 
4
18
324
 
1
1(c). The quadratic residues modulo 13 are 1, 3, 4, 9, 10, 12.
1(d). The quadratic residues modulo 19 are 1, 4, 5, 6, 7, 9, 11, 16, 17.

2(c). You will find that only 1 and 4 are quadratic residues modulo 15.
2(d). You will find that only 1, 7, and 13 are quadratic residues modulo 18.

5.(a) To evaluate the Legendre symbol (7/11) using Euler's criterion we compute

7 (11-1)/2  716807 -1 mod 11.

   (b). Using Gauss' Lemma, we first need to find how many of the least positive residues listed below are greater than 11/2=5.5.
 

7k
     7 
2(7)=14
3(7)=21
4(7)=28
5(7)=35
7k  mod 11
 7
3
10
6
2

There are 3 least positive residues greater than 5.5, so the Legrendre symbol (7/11) = (-1)3 = -1.

7. The Legendre symbol (-2/p) = (-1/p)(2/p).

If p1 mod 8, then (-2/p) = (1)(1) = 1.
If p3 mod 8, then (-2/p) = (-1)(-1) = 1.
If p-1 mod 8, then (-2/p) = (-1)(1) = -1.
If p-3 mod 8, then (-2/p) = (1)(-1) = -1.

So (-2/p)= 1 whenever p1 mod 8 or p3 mod 8 and (-2/p)= -1 for  p-1 mod 8 or p-3 mod

8.

13. Let's use the discriminant (as described in problem 12) to determine how many solutions to expect for each problem. Then it's time to dust off our factoring caps.

(a). d = b2-4ac = 1 -4(1)(1)= -34 mod 7. An 4 is definitely a quadratic residue modulo 7, so we expect 2 incongruent solutions. Notice that  x2+x+1  (x -2)(x +3) mod 7. So the solutions to x2+x+1  0 mod 7 are x  2 mod 7 and x  -3 mod 7 (or  x  4 mod 7).

(b). d = b2-4ac = 25 -4(1)(1)= 21 0 mod 7.
So we expect a single solution.  Notice that (x + 6)2 x2 + 5x + 1 mod  7. So the solution to x2 + 5x + 10 mod 7  is x  6  mod 7.

19. Any solution to x2 1 mod 15 must simultaneously satisfy  x2 1 mod 3 and x2 1 mod 5.

The solutions modulo 3 are x(1 or 2) mod 3 and the solutions modulo 5 are x(1 or 4) mod 5.
This gives us 4 posssible solutions. Use the Chinese Remainder Theorem to find them all.
 

Solution 1: 

x1 mod 3
x1 mod 5

x1 mod 15

Solution 2: 

 x1 mod 3
x4 mod 5

x4 mod 5

Solution 3:

x2  mod 3
x1 mod 5

x11 mod 15

Solution 4:

x2 mod 3
x4 mod 5

x14 mod 15

22 .  If x0 is a solution to x2 a (mod pe), then (- x0)2a (mod pe) and  x0 does not equal - x0 since  p does not divide 2x0. Si if there is one solutions, there must be two. Now suppose that x0 and x1 are solutions. Then x02x12a (mod pe). So  pe |(x02-x12)=(x0 -x1)(x0 + x1).  Notice that p cannot divide both factors because then p| (x0 -x1) + (x0 + x1) = 2x0 which is impossible since (a,p)=1. So we must have either pe | (x0 -x1)   or  pe | (x0 + x1). Hence x0 +/- x1 mod  pe. So there are at most 2 solutions.
 

Return to Main Page
Class Tasks
Class Mailing List
Number Theory Links
Progress Check
Professor Quinn: 
Email  - Home
Office Hours