Number Theory: Key Concepts in Modular Arithmetic and Theorems

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:36 AM on 11/20/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Division Algorithm

To divide a by b (b > 0), find q = floor(a/b), then r = a − qb. Example: 23 ÷ 5 → q=4, r=3.

2
New cards

Linear Congruence Theorem

To solve ax ≡ b (mod n): check if gcd(a,n) divides b. If yes, divide through by gcd and find solutions. Example: 6x ≡ 9 mod 15 → gcd(6,15)=3 divides 9 → reduce to 2x ≡ 3 mod 5 → solution x ≡ 4 mod 5 → 3 solutions mod 15.

3
New cards

Chinese Remainder Theorem

Step 1: Solve each congruence separately. Step 2: Use successive substitution or constructive formula. Example: x ≡ 2 mod 3, x ≡ 3 mod 5 → solution x ≡ 8 mod 15.

4
New cards

Fermat's Little Theorem

To compute a^(p−1) mod p quickly: reduce exponent mod (p−1). Example: 7^100 mod 13 → 100 ≡ 4 mod 12 → 7^4 mod 13 = 2401 mod 13 = 9.

5
New cards

Carmichael Numbers

Recognize by testing a^(n−1) ≡ 1 mod n for many a coprime to n. Example: 561 is Carmichael since it passes the test for all coprime a.

6
New cards

Congruences mod p^e Use lifting:

solve mod p, then extend to mod p^2, etc. Example: Solve x^2 ≡ 1 mod 9 → first solve mod 3 (x ≡ ±1), then lift to mod 9 → solutions x ≡ 1, 8.

7
New cards

Euler's Totient Function φ(n)

Compute using prime factorization: φ(n) = n ∏(1 − 1/p). Example: φ(120) = 120(1−1/2)(1−1/3)(1−1/5) = 32.

8
New cards

Euler's Theorem

To compute a^φ(n) mod n: reduce exponent mod φ(n). Example: gcd(7,20)=1, φ(20)=8 → 7^8 ≡ 1 mod 20.

9
New cards

Totient of Prime Powers Formula:

φ(p^k) = p^k − p^(k−1). Example: φ(2^5) = 32 − 16 = 16.

10
New cards

Legendre Symbol

Compute (a/p) using: (a/p) ≡ a^((p−1)/2) mod p. Example: (3/7) → 3^3 = 27 ≡ −1 mod 7 → (3/7) = −1.

11
New cards

Quadratic Reciprocity

Use reciprocity law: (p/q)(q/p) = (−1)^((p−1)(q−1)/4). Example: (3/11)(11/3) = (−1)^((2*10)/4) = (−1)^5 = −1.

12
New cards

Finding Square Roots mod p

Step 1: Check if solution exists via Legendre symbol. Step 2: Use trial or Tonelli-Shanks algorithm. Example: Solve x^2 ≡ 4 mod 7 → check (4/7)=1 → solutions x ≡ ±2 mod 7.

13
New cards

Solving Linear Congruences

Reduce to simpler congruence using gcd. Example: Solve 14x ≡ 21 mod 35 → gcd(14,35)=7 divides 21 → reduce to 2x ≡ 3 mod 5 → solution x ≡ 4 mod 5 → 7 solutions mod 35.

14
New cards

Division Algorithm

Theorem: For integers a, b with b > 0, there exist unique q, r such that a = qb + r with 0 ≤ r < b.

15
New cards

Linear Congruence Theorem

Theorem: The congruence ax ≡ b (mod n) has a solution iff gcd(a,n) divides b. If so, there are exactly gcd(a,n) solutions modulo n.

16
New cards

Chinese Remainder Theorem

If n1, n2, ..., nk are pairwise coprime, then the system x ≡ ai (mod ni) has a unique solution modulo N = n1n2...nk.

17
New cards

Fermat's Little Theorem

If p is prime and a ≠ 0 mod p, then a^(p−1) ≡ 1 (mod p).

18
New cards

Carmichael Numbers

A composite n such that a^(n−1) ≡ 1 (mod n) for all a coprime to n.

19
New cards

Congruences mod p^e

Solutions modulo p^e can often be lifted from solutions modulo p using Hensel's lemma or iterative methods.

20
New cards

Euler's Totient Function φ(n)

φ(n) counts the positive integers less than n that are coprime to n.

21
New cards

Euler's Theorem

If gcd(a,n) = 1, then a^φ(n) ≡ 1 (mod n).

22
New cards

Totient of Prime Powers

φ(p^k) = p^k − p^(k−1).

23
New cards

Legendre Symbol

( a / p ) = 1 if a is a quadratic residue mod p, −1 if not, and 0 if p divides a.

24
New cards

Euler's Criterion

For odd prime p, ( a / p ) ≡ a^((p−1)/2) (mod p).

25
New cards

Quadratic Reciprocity

For distinct odd primes p, q: (p/q)(q/p) = (−1)^((p−1)(q−1)/4).

Explore top notes

note
Learn to Lead Chapter 1 Review
Updated 401d ago
0.0(0)
note
Chapter 19 - Types of Selection
Updated 1310d ago
0.0(0)
note
Chapter 11: Sound
Updated 1043d ago
0.0(0)
note
WW2 1939-1945
Updated 1398d ago
0.0(0)
note
ANATOMY
Updated 1423d ago
0.0(0)
note
Learn to Lead Chapter 1 Review
Updated 401d ago
0.0(0)
note
Chapter 19 - Types of Selection
Updated 1310d ago
0.0(0)
note
Chapter 11: Sound
Updated 1043d ago
0.0(0)
note
WW2 1939-1945
Updated 1398d ago
0.0(0)
note
ANATOMY
Updated 1423d ago
0.0(0)

Explore top flashcards

flashcards
unit 4
126
Updated 1129d ago
0.0(0)
flashcards
ķīmija
21
Updated 1223d ago
0.0(0)
flashcards
engels unit 4: vocabulary
146
Updated 1124d ago
0.0(0)
flashcards
ADHD- Krysiak
42
Updated 279d ago
0.0(0)
flashcards
English Language Paper 1
36
Updated 691d ago
0.0(0)
flashcards
ENGLISH EXAM
101
Updated 810d ago
0.0(0)
flashcards
Spanish 3: Ser Estar Tener
72
Updated 71d ago
0.0(0)
flashcards
Unit 1 Part 1 - Modules 1 - 3
36
Updated 813d ago
0.0(0)
flashcards
unit 4
126
Updated 1129d ago
0.0(0)
flashcards
ķīmija
21
Updated 1223d ago
0.0(0)
flashcards
engels unit 4: vocabulary
146
Updated 1124d ago
0.0(0)
flashcards
ADHD- Krysiak
42
Updated 279d ago
0.0(0)
flashcards
English Language Paper 1
36
Updated 691d ago
0.0(0)
flashcards
ENGLISH EXAM
101
Updated 810d ago
0.0(0)
flashcards
Spanish 3: Ser Estar Tener
72
Updated 71d ago
0.0(0)
flashcards
Unit 1 Part 1 - Modules 1 - 3
36
Updated 813d ago
0.0(0)