Monday, 14 September 2026

Exercise (8.2).6

Find all the incongruent solutions of

$$ x^2 + y^2 \equiv −1 \pmod {19} $$

See Example 8.7.


The following table shows the calculation of $n^2 \pmod {19}$ and $-1-^2 \pmod {19}$ for $0 \le n \le 18$.

nn^2 mod 19-1-n^2 mod 19
0018
1117
2414
399
4162
5612
6171
7117
8711
9513
10513
11711
12117
13171
14612
15162
1699
17414
18117

We can read off the pairs of solutions $(x,y)$ to $x^2 \equiv -1 - y^2 \pmod {19}$ as follows:

$$ (1, 6), (1, 13), (18, 6), (18, 13) $$

$$ (3, 3), (3, 16), (16,3), (16,16) $$

$$ (6, 1), (6, 18), (13, 1), (13, 18) $$

$$ (7, 8), (7, 11), (12, 8), (12, 11) $$

$$ (8, 7), (8, 12), (11, 7), (11, 12) $$


The authors solution takes the previously determined solutions $(x,y)$ and uses that if $a$ is a solution so is $-a$, to generate additional solutions $(-x,y), (x, -y), (-x, -y)$.