1.4.2. The Legendre symbol

This section is based on part of [BUR11, Sec. 9.2].

We aim to turn Euler’s Criterion (Corollary 1.4.1.10) into an algorithmic criterion.

Definition 1.4.2.1.

Let pp be an odd prime and a∈ℤ{a\in\mathbb{Z}} with gcd⁡(a,p)=1{\gcd(a,p)=1}. The Legendre symbol of aa modulo pp is

(ap)≔{1a is a quadratic residue modulo p−1a is a quadratic non-residue modulo p.\Big{(}\frac{a}{p}\Big{)}\coloneqq\begin{cases}1&\text{$a$ is a quadratic % residue modulo $p$}\\ -1&\text{$a$ is a quadratic non-residue modulo $p$.}\end{cases}
Remark 1.4.2.2.

Let pp be an odd prime and a∈ℤ{a\in\mathbb{Z}} be such that p∣a{p\mid a}. It is convenient to define

(ap)≔0.\Big{(}\frac{a}{p}\Big{)}\coloneqq 0.

With this convention, the map a↦(ap){a\mapsto(\tfrac{a}{p})} is defined for all a∈ℤ{a\in\mathbb{Z}}.

Example 1.4.2.3.

Let p=13{p=13}. We have seen in Example 1.4.1.12 that 22 is a quadratic non-residue modulo 1313 and that 33 is a quadratic residue modulo 1313. Therefore,

(213)=−1and(313)=1.\Big{(}\frac{2}{13}\Big{)}=-1\qquad\text{and}\qquad\Big{(}\frac{3}{13}\Big{)}=1.

The Legendre symbol has the following properties.

Proposition 1.4.2.4.

Let pp be an odd prime and a,b∈ℤ{a,b\in\mathbb{Z}} with gcd⁡(a,p)=1{\gcd(a,p)=1} and gcd⁡(b,p)=1{\gcd(b,p)=1}. The following statements hold:

  1. (1)
    ​

    If a≡b(modp){a\equiv b{\pmod{p}}}, then (ap)=(bp){(\tfrac{a}{p})=(\tfrac{b}{p})}.

  2. (2)
    ​

    (a2p)=1{(\tfrac{a^{2}}{p})=1}.

  3. (3)
    ​

    a(p−1)/2≡(ap)(modp){a^{(p-1)/2}\equiv(\tfrac{a}{p}){\pmod{p}}}.

  4. (4)
    ​

    (a⁢bp)=(ap)⁢(bp){(\tfrac{ab}{p})=(\tfrac{a}{p})(\tfrac{b}{p})}.

  5. (5)
    ​

    (1p)=1{(\tfrac{1}{p})=1} and (−1p)=(−1)(p−1)/2{(\tfrac{-1}{p})=(-1)^{(p-1)/2}}.

Proof.

We provide a proof of all statements for the sake of completeness.

(2) The integer aa is a solution of the congruence x2≡a2(modp){x^{2}\equiv a^{2}{\pmod{p}}}.

(3) This is the content of Euler’s Criterion (Corollary 1.4.1.10).

(4) Since

(a⁢b)(p−1)/2=a(p−1)/2⁢b(p−1)/2,(ab)^{(p-1)/2}=a^{(p-1)/2}b^{(p-1)/2},

the claim follows from statement (3) since 11 and −1{-1} are non-congruent modulo pp.

(5) The equality (1p)=1{(\tfrac{1}{p})=1} is trivial since 1=12{1=1^{2}}. Setting a=−1{a=-1}, statement (3) yields the congruence

(−1p)≡(−1)(p−1)/2(modp).\Big{(}\frac{-1}{p}\Big{)}\equiv(-1)^{(p-1)/2}{\pmod{p}}.

Since 11 and −1{-1} are non-congruent modulo pp, we must have (−1p)=(−1)(p−1)/2{\Big{(}\frac{-1}{p}\Big{)}=(-1)^{(p-1)/2}}. This finishes the proof. ∎

Corollary 1.4.2.5.

Let pp be an odd prime and a,b∈ℤ{a,b\in\mathbb{Z}} with gcd⁡(a,p)=1{\gcd(a,p)=1} and gcd⁡(b,p)=1{\gcd(b,p)=1}. Then

(a⁢b2p)=(ap).\Big{(}\frac{ab^{2}}{p}\Big{)}=\Big{(}\frac{a}{p}\Big{)}.
Proof.

Using Proposition 1.4.2.4(4) and Proposition 1.4.2.4(2),

(a⁢b2p)=(ap)⁢(b2p)=(ap)⋅1=(ap).∎\Big{(}\frac{ab^{2}}{p}\Big{)}=\Big{(}\frac{a}{p}\Big{)}\Big{(}\frac{b^{2}}{p}% \Big{)}=\Big{(}\frac{a}{p}\Big{)}\cdot 1=\Big{(}\frac{a}{p}\Big{)}.\qed
Corollary 1.4.2.6.

Let pp be an odd prime. Then

(−1p)={1p≡1(mod4)−1p≡−1(mod4).\Big{(}\frac{-1}{p}\Big{)}=\begin{cases}1&p\equiv 1{\pmod{4}}\\ -1&p\equiv-1{\pmod{4}}.\end{cases}
Proof.

By Proposition 1.4.2.4(5), the equality

(−1p)=(−1)(p−1)/2(\tfrac{-1}{p})=(-1)^{(p-1)/2}

holds. Since pp is odd, it is congruent to either 11 or 33 modulo 44. In the first case, p=4⁢k+1{p=4k+1} for some k∈ℤ{k\in\mathbb{Z}}, so that

p−12=4⁢k2=2⁢k\frac{p-1}{2}=\frac{4k}{2}=2k

is even. In the second case, p=4⁢ℓ+3{p=4\ell+3} for some ℓ∈ℤ{\ell\in\mathbb{Z}}, so that

p−12=4⁢ℓ+22=2⁢ℓ+1\frac{p-1}{2}=\frac{4\ell+2}{2}=2\ell+1

is odd. The claim readily follows. ∎

The following theorem illustrates the utility of Corollary 1.4.2.6.

Theorem 1.4.2.7.

There are infinitely many primes congruent to 11 modulo 44, that is, of the form 4⁢k+1{4k+1} for some integer k>0{k>0}.

Exercise. The proof will be added later.

Our next aim is to determine the precise number of quadratic residues modulo a given odd prime (Theorem 1.4.2.9).

Proposition 1.4.2.8.

Let pp be an odd prime and rr a primitive root of pp; in particular, gcd⁡(r,p)=1{\gcd(r,p)=1}. Then

(rp)=−1,\Big{(}\frac{r}{p}\Big{)}=-1,

that is, rr is a quadratic non-residue modulo pp.

Proof.

Suppose that rr is a quadratic residue modulo pp. By Euler’s Criterion (Corollary 1.4.1.10),

r(p−1)/2≡1(modp).r^{(p-1)/2}\equiv 1{\pmod{p}}.

But then ordp⁡(r)≤(p−1)/2{\operatorname{ord}_{p}(r)\leq(p-1)/2}, which contradicts the fact that

ordp⁡(r)=φ⁢(p)=p−1.∎\operatorname{ord}_{p}(r)=\varphi(p)=p-1.\qed
Theorem 1.4.2.9.

Let pp be an odd prime. The following statements hold:

  1. (1)
    ​

    We have

    ∑a=1p−1(ap)=0.\sum_{a=1}^{p-1}\Big{(}\frac{a}{p}\Big{)}=0.

    Hence, among the integers 1,2,…,p−1{1,2,\ldots,p-1}, there are exactly (p−1)/2{(p-1)/2} quadratic residues modulo pp and exactly (p−1)/2{(p-1)/2} quadratic non-residues modulo pp.

  2. (2)
    ​

    Let rr be a primitive root of pp (Theorem 1.3.3.7). Then an integer aa with gcd⁡(a,p)=1{\gcd(a,p)=1} is a quadratic residue modulo pp if and only if there exists an even integer 1≤k<p{1\leq k<p} such that a≡rk(modp){a\equiv r^{k}{\pmod{p}}}.

Proof.

We prove both statements at once. Let rr be a primitive root of pp, which exists by Theorem 1.3.3.7. Since φ⁢(p)=p−1{\varphi(p)=p-1}, by Theorem 1.3.2.5, for each 1≤a<p{1\leq a<p} there exists a unique integer 1≤k<p{1\leq k<p} such that

a≡rk(modp).a\equiv r^{k}{\pmod{p}}.

Therefore, by Proposition 1.4.2.4(1),

∑a=1p−1(ap)=∑k=1p−1(rkp).\sum_{a=1}^{p-1}\Big{(}\frac{a}{p}\Big{)}=\sum_{k=1}^{p-1}\Big{(}\frac{r^{k}}{% p}\Big{)}.

The claim follows from the following statements:

  • •
    ​

    The sum ∑k=1p−1(rkp)\sum_{k=1}^{p-1}(\tfrac{r^{k}}{p}) has the even number p−1{p-1} of summands.

  • •
    ​

    By Proposition 1.4.2.4(4), we have (rkp)=(rp)k{(\tfrac{r^{k}}{p})=(\tfrac{r}{p})^{k}}. Hence,

    ∑k=1p−1(rkp)=∑k=1p−1(rp)k.\sum_{k=1}^{p-1}(\tfrac{r^{k}}{p})=\sum_{k=1}^{p-1}(\tfrac{r}{p})^{k}.
  • •
    ​

    By Proposition 1.4.2.8 we have (rp)=−1{(\tfrac{r}{p})=-1}.

Combining the above statements, we obtain

∑a=1p−1(ap)=(−1+1)+⋯+(−1+1)⏟p−12⁢ pairs=0.\sum_{a=1}^{p-1}\Big{(}\frac{a}{p}\Big{)}=\underbrace{(-1+1)+\cdots+(-1+1)}_{% \tfrac{p-1}{2}\text{ pairs}}=0.

Finally, the above argument shows that, considered modulo pp, the quadratic residues modulo pp are the integers of the form rkr^{k} with 1≤k<p{1\leq k<p} an even integer. In particular, there are exactly (p−1)/2{(p-1)/2} quadratic residues modulo pp and exactly (p−1)/2{(p-1)/2} quadratic non-residues modulo pp. This finishes the proof. ∎

We now aim to obtain a criterion for determining whether 22 is a quadratic residue modulo a given odd prime (Theorem 1.4.2.12). For this, we need the following interpretation of the Legendre symbol.

Theorem 1.4.2.10 (Gauß’ Lemma).

Let pp be an odd prime and a∈ℤ{a\in\mathbb{Z}} with gcd⁡(a,p)=1{\gcd(a,p)=1}. Set

S≔{a,2⁢a,3⁢a,…,p−12⋅a}S\coloneqq\{a,2a,3a,\ldots,\tfrac{p-1}{2}\cdot a\}

and

n≔#⁢{b∈S:the remainder of b upon division by p is >p/2}.n\coloneqq\#\{b\in S\colon{\text{the remainder of $b$ upon division by $p$ is % }>p/2}\}.

Then

(ap)=(−1)n.\Big{(}\frac{a}{p}\Big{)}=(-1)^{n}.
Proof.

Each b∈S{b\in S} is of the form b=k⁢a{b=ka} with 1≤k<p{1\leq k<p}. Since gcd⁡(a,p)=1{\gcd(a,p)=1} and gcd⁡(k,p)=1{\gcd(k,p)=1}, we have gcd⁡(b,p)=1{\gcd(b,p)=1}, so that

b≢0(modp).b\not\equiv 0{\pmod{p}}.

Moreover, by Corollary 1.2.1.11, for k,ℓ∈ℤ{k,\ell\in\mathbb{Z}} we have

k⁢a≡ℓ⁢a(modp)⟺k≡ℓ(modp).ka\equiv\ell a{\pmod{p}}\quad\Longleftrightarrow\quad k\equiv\ell{\pmod{p}}.

Let r1,…,rmr_{1},\ldots,r_{m} be the remainders of elements of SS upon division by pp such that 0<ri<p/2{0<r_{i}<p/2}, and let s1,…,sns_{1},\ldots,s_{n} be those remainders with p/2<si<p{p/2<s_{i}<p}. The previous observation implies that the integers r1,…,rm,s1,…,snr_{1},\dots,r_{m},s_{1},\dots,s_{n} are distinct. Thus,

m+n=p−12,0<ri<p/2,0<p−si<p/2.m+n=\frac{p-1}{2},\qquad 0<r_{i}<p/2,\qquad 0<p-s_{i}<p/2.

We claim that rj≠p−si{r_{j}\neq p-s_{i}} for all i,ji,j. Suppose instead that rj=p−si{r_{j}=p-s_{i}} for some i,ji,j. Since rjr_{j} and sis_{i} are the remainders of a pair of elements of SS when divided by pp, there exist integers

1≤u,v≤p−121\leq u,v\leq\tfrac{p-1}{2}

such that

si≡u⁢a(modp)andrj≡v⁢a(modp).s_{i}\equiv ua{\pmod{p}}\qquad\text{and}\qquad r_{j}\equiv va{\pmod{p}}.

Then, since rj=p−si{r_{j}=p-s_{i}} and p−si≡−si(modp){p-s_{i}\equiv-s_{i}{\pmod{p}}},

−si≡v⁢a(modp).-s_{i}\equiv va{\pmod{p}}.

Equivalently, si≡(−v)⁢a(modp){s_{i}\equiv(-v)a{\pmod{p}}}. Consequently,

u⁢a≡(−v)⁢a(modp).ua\equiv(-v)a{\pmod{p}}.

Equivalently, (u+v)⁢a≡0(modp){(u+v)a\equiv 0{\pmod{p}}}. By the previous observation, we must have u+v≡0(modp){u+v\equiv 0{\pmod{p}}}, but this is impossible since 0<u+v<p{0<u+v<p}. This proves the claim.

Therefore, the (p−1)/2{(p-1)/2} distinct integers

r1,…,rm,p−s1,…,p−snr_{1},\dots,r_{m},p-s_{1},\dots,p-s_{n}

are the integers 1,2,…,(p−1)/2{1,2,\dots,(p-1)/2} in some order. Hence, the factorial of the integer t≔(p−1)/2{t\coloneqq(p-1)/2} is

t!=r1⁢⋯⁢rm⁢(p−s1)⁢⋯⁢(p−sn).t!=r_{1}\cdots r_{m}(p-s_{1})\cdots(p-s_{n}).

We obtain the congruence

t!≡(−1)n⁢r1⁢⋯⁢rm⁢s1⁢⋯⁢sn(modp).t!\equiv(-1)^{n}r_{1}\cdots r_{m}s_{1}\cdots s_{n}{\pmod{p}}.

On the other hand,

a⋅2⁢a⁢⋯⁢p−12⋅a=t!⋅a(p−1)/2.a\cdot 2a\cdots\tfrac{p-1}{2}\cdot a=t!\cdot a^{(p-1)/2}.

Since each of the integers r1,…,rm,s1,…,snr_{1},\dots,r_{m},s_{1},\dots,s_{n} is congruent modulo pp to exactly one element of SS,

r1⁢⋯⁢rm⁢s1⁢⋯⁢sn≡a⋅2⁢a⁢⋯⁢p−12⋅a(modp).r_{1}\cdots r_{m}s_{1}\cdots s_{n}\equiv a\cdot 2a\cdots\tfrac{p-1}{2}\cdot a{% \pmod{p}}.

Combining the above congruences,

t!≡(−1)n⁢t!⋅a(p−1)/2(modp).t!\equiv(-1)^{n}t!\cdot a^{(p-1)/2}{\pmod{p}}.

Since p∤t!{p\nmid t!}, Corollary 1.2.1.11 yields the congruence

1≡(−1)n⁢a(p−1)/2(modp).1\equiv(-1)^{n}a^{(p-1)/2}{\pmod{p}}.

Equivalently,

(−1)n≡a(p−1)/2(modp).(-1)^{n}\equiv a^{(p-1)/2}{\pmod{p}}.

By Euler’s Criterion (Corollary 1.4.1.10),

a(p−1)/2≡(ap)(modp),a^{(p-1)/2}\equiv\Big{(}\frac{a}{p}\Big{)}{\pmod{p}},

and therefore

(ap)≡(−1)n(modp).\Big{(}\frac{a}{p}\Big{)}\equiv(-1)^{n}{\pmod{p}}.

Since both sides of the latter congruence equal 11 or −1{-1}, the equality

(ap)=(−1)n\Big{(}\frac{a}{p}\Big{)}=(-1)^{n}

must hold. This finishes the proof. ∎

We illustrate Gauß’ Lemma (Theorem 1.4.2.10) in an example.

Example 1.4.2.11.

Not covered in the lectureLet p=13{p=13}.

  • •
    ​

    Let a=2{a=2}. Then

    S={1⋅2, 2⋅2, 3⋅2, 4⋅2, 5⋅2, 6⋅2}={2,4,6,8,10,12}.S=\{1\cdot 2,\ 2\cdot 2,\ 3\cdot 2,\ 4\cdot 2,\ 5\cdot 2,\ 6\cdot 2\}=\{2,4,6,% 8,10,12\}.

    Since all b∈S{b\in S} satisfy 1≤b≤12{1\leq b\leq 12}, they are themselves the remainders of division by 1313. The elements of SS that are larger than p/2=13/2{p/2=13/2} are the integers 8,10,128,10,12, so that n=3{n=3} in this case. We obtain

    (213)=(−1)3=−1,\Big{(}\frac{2}{13}\Big{)}=(-1)^{3}=-1,

    in agreement with Example 1.4.2.3.

  • •
    ​

    If we now take a=3{a=3}, then

    S={1⋅3, 2⋅3, 3⋅3, 4⋅3, 5⋅3, 6⋅3}={3,6,9,12,15,18}.S=\{1\cdot 3,\ 2\cdot 3,\ 3\cdot 3,\ 4\cdot 3,\ 5\cdot 3,\ 6\cdot 3\}=\{3,6,9,% 12,15,18\}.

    The remainders of elements of SS upon division by 1313 are, in order,

    3,6,9,12,2,5.3,6,9,12,2,5.

    The elements of SS whose remainder upon division by 1313 is larger than p/2=13/2{p/2=13/2} are therefore the integers 9,129,12, so that n=2{n=2} in this case. We obtain

    (313)=(−1)2=1,\Big{(}\frac{3}{13}\Big{)}=(-1)^{2}=1,

    in agreement with Example 1.4.2.3.

Theorem 1.4.2.12.

Not covered in the lecture Let pp be an odd prime. Then

(2p)={1p≡1,7(mod8)−1p≡3,5(mod8).\Big{(}\frac{2}{p}\Big{)}=\begin{cases}1&p\equiv 1,7{\pmod{8}}\\ -1&p\equiv 3,5{\pmod{8}}.\end{cases}
Proof.

By Gauß’ Lemma (Theorem 1.4.2.10),

(2p)=(−1)n\Big{(}\frac{2}{p}\Big{)}=(-1)^{n}

where nn is the number of integers in the set

S={2,2⋅2,3⋅2,…,p−12⋅2}S=\{2,2\cdot 2,3\cdot 2,\ldots,\tfrac{p-1}{2}\cdot 2\}

whose remainder upon division by pp is larger than p/2p/2. Since all the elements of SS are less than pp in this case, they are their own remainders. Therefore, it suffices to determine the number of elements in SS that are larger than p/2p/2.

For 1≤k≤(p−1)/2{1\leq k\leq(p-1)/2},

2⁢k<p2⟺1≤k<p/4.2k<\frac{p}{2}\quad\Longleftrightarrow\quad 1\leq k<p/4.

Hence,

n=p−12−⌊p4⌋.n=\tfrac{p-1}{2}-\lfloor{\tfrac{p}{4}}\rfloor.

Here, the symbol ⌊x⌋\lfloor{x}\rfloor denotes the largest integer mm such that m≤x{m\leq x}. Since the prime pp is odd, it is congruent modulo 88 to exactly one of the integers 1,3,5,71,3,5,7. We analyse these four cases separately:

  • •
    ​

    If p=8⁢b+1{p=8b+1} for some b∈ℤ{b\in\mathbb{Z}}, then ⌊p4⌋=2⁢b{\lfloor{\tfrac{p}{4}}\rfloor=2b} and

    n=8⁢b+1−12−2⁢b=2⁢bn=\frac{8b+1-1}{2}-2b=2b

    is even.

  • •
    ​

    If p=8⁢b+3{p=8b+3} for some b∈ℤ{b\in\mathbb{Z}}, then ⌊p4⌋=2⁢b{\lfloor{\tfrac{p}{4}}\rfloor=2b} and

    n=8⁢b+3−12−2⁢b=2⁢b+1n=\frac{8b+3-1}{2}-2b=2b+1

    is odd.

  • •
    ​

    If p=8⁢b+5{p=8b+5} for some b∈ℤ{b\in\mathbb{Z}}, then ⌊p4⌋=2⁢b+1{\lfloor{\tfrac{p}{4}}\rfloor=2b+1} and

    n=8⁢b+5−12−(2⁢b+1)=2⁢b+1n=\frac{8b+5-1}{2}-(2b+1)=2b+1

    is odd.

  • •
    ​

    If p=8⁢b+7{p=8b+7} for some b∈ℤ{b\in\mathbb{Z}}, then ⌊p4⌋=2⁢b+1{\lfloor{\tfrac{p}{4}}\rfloor=2b+1} and

    n=8⁢b+7−12−(2⁢b+1)=2⁢b+2n=\frac{8b+7-1}{2}-(2b+1)=2b+2

    is even.

This finishes the proof. ∎

Corollary 1.4.2.13.

Not covered in the lecture Let pp be an odd prime. Then

(2p)=(−1)(p2−1)/8.\Big{(}\frac{2}{p}\Big{)}=(-1)^{(p^{2}-1)/8}.
Proof.

We have

p2−18=(p−1)⁢(p+1)8.\frac{p^{2}-1}{8}=\frac{(p-1)(p+1)}{8}.

Suppose that p≡1,7(mod8){p\equiv 1,7{\pmod{8}}} or, equivalently, p≡1,−1(mod8){p\equiv 1,-1{\pmod{8}}} since we have 7≡−1(mod8){7\equiv-1{\pmod{8}}}. In both cases we have p=8⁢b±1{p=8b\pm 1} for some b∈ℤ{b\in\mathbb{Z}}. Consequently,

p2−18=(p−1)⁢(p+1)8=(8⁢b−2)⁢8⁢b8=(8⁢b−2)⁢b=2⁢b⁢(4⁢b−1)\frac{p^{2}-1}{8}=\frac{(p-1)(p+1)}{8}=\frac{(8b-2)8b}{8}=(8b-2)b=2b(4b-1)

or

p2−18=(p−1)⁢(p+1)8=8⁢b⁢(8⁢b+2)8=b⁢(8⁢b+2)=2⁢b⁢(4⁢b+1),\frac{p^{2}-1}{8}=\frac{(p-1)(p+1)}{8}=\frac{8b(8b+2)}{8}=b(8b+2)=2b(4b+1),

and both of the above integers are even.

Suppose now that p≡3,5(mod8){p\equiv 3,5{\pmod{8}}} or, equivalently, p≡3,−3(mod8){p\equiv 3,-3{\pmod{8}}} since we have 5≡−3(mod8){5\equiv-3{\pmod{8}}}. In both cases we have p=8⁢b±3{p=8b\pm 3} for some b∈ℤ{b\in\mathbb{Z}}. Consequently,

p2−18\displaystyle\frac{p^{2}-1}{8} =(p−1)⁢(p+1)8\displaystyle=\frac{(p-1)(p+1)}{8}
=(8⁢b−4)⁢(8⁢b−2)8\displaystyle=\frac{(8b-4)(8b-2)}{8}
=64⁢b2−48⁢b+88\displaystyle=\frac{64b^{2}-48b+8}{8}
=8⁢b2−6⁢b+1\displaystyle=8b^{2}-6b+1
=2⁢(4⁢b2−3⁢b)+1\displaystyle=2(4b^{2}-3b)+1

or

p2−18\displaystyle\frac{p^{2}-1}{8} =(p−1)⁢(p+1)8\displaystyle=\frac{(p-1)(p+1)}{8}
=(8⁢b+4)⁢(8⁢b+2)8\displaystyle=\frac{(8b+4)(8b+2)}{8}
=64⁢b2+48⁢b+88\displaystyle=\frac{64b^{2}+48b+8}{8}
=8⁢b2+6⁢b+1\displaystyle=8b^{2}+6b+1
=2⁢(4⁢b2+3⁢b)+1,\displaystyle=2(4b^{2}+3b)+1,

and both of the above integers are odd. The claim follows by comparing these parities with Theorem 1.4.2.12. ∎

Example 1.4.2.14.

Not covered in the lectureIf p=11{p=11} or p=13{p=13}, we have p≡3,5(mod8){p\equiv 3,5{\pmod{8}}}. By Theorem 1.4.2.12,

(2p)=−1,\Big{(}\frac{2}{p}\Big{)}=-1,

in agreement with Example 1.4.1.11 (for p=11{p=11}) and Example 1.4.2.3 (for p=13{p=13}).

The following result illustrates the utility of Theorem 1.4.2.12.

Theorem 1.4.2.15.

There are infinitely many primes congruent to −1{-1} modulo 88, that is, of the form 8⁢k−1{8k-1} for some integer k>0{k>0}.

Exercise. The proof will be added later.