Primitive root existence
Let n be a positive integer. There exists a primitive root mod n exactly in the following cases and no others:
- n=1, 2, or 4
- n=pr where p is an odd prime
- n=2pr where p is an odd prime
Euler's Φ Function
Definition
$\phi(n)$ is the number of integers between 0 and n-1 who is coprime with n. $\phi(n):=|{a: 0 \leqslant a<n \wedge(a, n)=1}|$
Law of Quadratic Reciprocity
Law of Quadratic Reciprocity Let p and q be odd primes. Then
Note the ring isomorphism \( \mathbb{Z}_{pq}^{*} \cong \mathbb{Z}_{p}^* \times \mathbb{Z}_{q}^* \). Clearly they are also commutative ring, consider the quotient group \( G=\frac{\mathbb{Z}_{p}^* \times \mathbb{Z}_{q}^*}{ U } \) under multiplication, where \( U=\{ (1,1),(-1,-1) \} \). \( |G|=\frac{(p-1)(q-1)}{2} \)
Under \( \mathbb{Z}_{p}^* \times \mathbb{Z}_{q}^* \) :
Under \( \mathbb{Z}_{pq}^{*} \) :
Note:
\( (a_1,a_2)U=(a_3,a_4)U \implies a_1a_2 \equiv a_3a_4 \mod pq \)
Gauss's lemma
Gauss’s lemma Let p be an odd prime, q be an integer coprime to p. Take the least residues of \( Q=\{q, 2q,\cdots,\frac{p-1}{2} q \} \), i.e. reduce them to integers in \( [0, p-1] \). Let u be the number of members in this set that are greater than p/2. Then
Q has exactly \( \frac{p-1}{2} \) elements since \( (p, q)=1 \) and \( p \) is a prime.We can rewrite Q to integers in \( [-\frac{p-1}{2},\frac{p-1}{2}] \) by rewriting all \( [o_i]_p : o_i>\frac{p-1}{2} \) into \( [-u_i]_p : u_i=p-o_i \land u_i\leq \frac{p-1}{2} \).
Corollary Let p be an odd prime. Then
Because \( 2\cdot\frac{p-1}{2}=p-1<p \), we only need to find out the cut-off point
- \( p=8k+1 \implies u=\lceil \frac{8k}{4} \rceil=2k \implies (\frac{p-1}{2})=1 \)
- \( p=8k+3 \implies u=\lceil \frac{8k+2}{4} \rceil=2k+1 \implies (\frac{p-1}{2})=-1 \)
- \( p=8k+5 \implies u=\lceil \frac{8k+4}{4} \rceil=2k+1 \implies (\frac{p-1}{2})=-1 \)
- \( p=8k+7 \implies u=\lceil \frac{8k+6}{4} \rceil=2k+2 \implies (\frac{p-1}{2})=1 \)
Euler's Criterion
Euler’s Criterion Let p be an odd prime, and a an integer not divisible by p. Then
- \( \frac{a}{p}=1 \), i.e. \( \exists d : d^2 \equiv a \mod p \)
\[ \implies a^{\frac{p-1}{2}} \equiv d^{p-1} \equiv 1 \mod p \]
- \( \frac{a}{p}=-1 \), i.e. \( \forall d : d^2 \not\equiv a \mod p \)
since p is a prime, \( \exists g \in (\mathbb Z/p\mathbb Z)^\times:(\mathbb Z/p\mathbb Z)^\times= <g>\implies a=g^{2n+1} \)
\[ \implies a^{\frac{p-1}{2}} \equiv g^{\frac{(2n+1)(p-1)}{2}}\equiv g^{n(p-1)+\frac{p-1}{2}} \equiv g^\frac{p-1}{2} \mod p \]
since p is a prime
\begin{align*} &\implies (g^\frac{p-1}{2})^2 \equiv 1 \mod p \\ &\implies g^\frac{p-1}{2}\equiv1 \mod p \lor g^\frac{p-1}{2}\equiv-1 \mod p \end{align*}since g is a generator
\begin{align*} &\implies g^\frac{p-1}{2}\not\equiv1 \mod p\\ &\implies g^\frac{p-1}{2} \equiv -1 \mod p \end{align*}
Therefore, this theorem is true.
Primitive root theorem
Primitive root theorem Let p be a prime. Then for any d dividing \( p-1 \), there are exactly \( \phi(d) \) elements of order d in \( (\mathbb Z / p \mathbb Z)^\times \). In particular there are \( \phi(p-1) \) primitive roots mod p.
- \( H_m \): For any \( d_i \leq m \) dividing \( p-1 \), there are exactly \( \phi(d_i) \) elements of order \( d_i \) in \( (\mathbb Z / p \mathbb Z)^\times \).
- \( H_1 \): Only positive divisor of \( p-1 \) less than 1 is 1. \( H_1 \) is obviously true.
- \( H_k \): Assume \( H_m \) holds for some positive integer k.
- \( H_{k+1} \):
- \( k+1 \) doesn’t divide \( p-1 \). Then \( H_{k+1} \) is true since \( H_k \) is true.
- \( k+1 \) divides \( p-1 \). Based on \( H_k \), for any \( d_i < k+1 \) dividing \( p-1 \), there are exactly \( \phi(d_i) \) elements of order \( d_i \) in \( (\mathbb Z / p \mathbb Z)^\times \).
\( k+1=d^* \) divides \( p-1 \). \( x^{d^*}=1 \) has \( d^* \) distinct roots mod p. Clearly the order of the roots must divide \( d^* \).
\begin{equation} d^{*}-\sum_{q | d^{*}, q<d^*} \phi(q)=\phi(d^{*}) \end{equation}
So there are exactly \( \phi(k+1) \) elements of order \( k+1 \) in \( (\mathbb Z / p \mathbb Z)^\times \).
Overall, \( H_{k+1} \) is true.
- Based on M.I., \( H_m \) is true.
Fundamental Theorem of Algebra
Latex Spacing
| Latex code | Description |
|---|---|
\quad |
space equal to the current font size (= 18 mu) |
\, |
3/18 of \quad (= 3 mu) |
\: |
4/18 of \quad (= 4 mu) |
\; |
5/18 of \quad (= 5 mu) |
\! |
-3/18 of \quad (= -3 mu) |
\ |
equivalent of space in normal text |
\qquad |
twice of \quad (= 36 mu) |
30 post articles, 4 pages.