Professional Documents
Culture Documents
NQU Mod
NQU Mod
Solution: There are no solutions. Take mod 16 and note that x4 ∈ {0, 1} (mod 16) and 20163 −1 ≡ 15
(mod 16).
With practice and experience, these patterns will become clearer over time. For instance, fourth powers
strongly suggest taking mod 16, and squares strongly suggest taking mod 4, mod 3, or mod 8, depending on
the context.
Definition 4 We define φ(n) to be the number of positive integers less than or equal to n that are also
relatively prime to n.
The basic idea of the proof is just using CRT to find all possible congruences.
Proof: Note that we can have
x ≡ j1 , j2 , . . . , jφ(m) (mod m)
x ≡ k1 , k2 , . . . , kφ(n) (mod n),
where ji encompasses the numbers between 1 and m relatively prime to m and ki encompasses the number
between 1 and n relatively prime to n. Then note that this system has φ(m)φ(n) solutions when taken
mod mn.
Theorem 4 (Product Formula) Say the prime factorization of positive integer n is pe11 · pe22 . . . pekk . Then
φ(n) = n p1p−1
1
· p2p−1
2
. . . pkp−1
k
.
Proof: Instead of actually proving this fully, we outline it for the reader to work through themselves.
1. Find φ(pe11 ).
2. Use multiplicity to find φ(pe11 )φ(pe22 ) · · · φ(pekk ).