Skip to content

Number Theory

Study integers, prime numbers, and modular arithmetic through examples and proofs.

Planned

17 modules · 0 of 62 lessons written

Beginner

DivisibilityEasyPlannedExplanation · Practice0 of 4 lessons written

State the quotient and remainder conditions for a positive divisor.

  1. Divisibility and integer multiplesComing soon
  2. Division with remainderComing soon
  3. Basic divisibility proofsComing soon
  4. Practice: DivisibilityComing soon
Number BasesEasyPlannedExplanation · Practice0 of 4 lessons written

Write the same number in decimal, binary, and hexadecimal, and check every conversion.

  1. Positional notationComing soon
  2. Binary and hexadecimal conversionComing soon
  3. Place values across basesComing soon
  4. Practice: Number BasesComing soon
Primes and the Sieve of EratosthenesEasyPlannedExplanation · Practice0 of 4 lessons written

Justify why the sieve removes exactly the composite entries in its range.

  1. Prime and composite numbersComing soon
  2. Sieving a finite intervalComing soon
  3. Why infinitely many primes existComing soon
  4. Practice: Primes and the Sieve of EratosthenesComing soon
Greatest Common Divisor and the Euclidean AlgorithmEasyPlannedExplanation · Practice0 of 4 lessons written

Execute Euclidean division on a pair of positive integers.

  1. Common divisors and gcdComing soon
  2. Repeated Euclidean divisionComing soon
  3. Proving the algorithm preserves the gcdComing soon
  4. Practice: Greatest Common Divisor and the Euclidean AlgorithmComing soon
Bézout's Identity and Linear Diophantine EquationsEasyPlannedExplanation · Practice0 of 4 lessons written

Relate linear combinations to the greatest common divisor.

  1. Euclidean back-substitutionComing soon
  2. Integer linear combinationsComing soon
  3. Solving a linear Diophantine equationComing soon
  4. Practice: Bézout's Identity and Linear Diophantine EquationsComing soon
Unique Prime FactorizationEasyPlannedExplanation · Practice0 of 4 lessons written

Derive the prime-divides-product property before using it.

  1. Prime factorization existenceComing soon
  2. Euclid's lemmaComing soon
  3. Uniqueness of prime factorsComing soon
  4. Practice: Unique Prime FactorizationComing soon
Congruences and Modular ArithmeticEasyPlannedExplanation · Practice0 of 4 lessons written

Justify addition and multiplication on classes independently of representatives.

  1. Congruence as an equivalence relationComing soon
  2. Arithmetic on residue classesComing soon
  3. Proving elementary congruencesComing soon
  4. Practice: Congruences and Modular ArithmeticComing soon
Modular Inverses and Linear CongruencesEasyPlannedExplanation · Practice0 of 4 lessons written

Construct an inverse from a verified Bezout identity.

  1. Invertible residuesComing soon
  2. Finding inverses using Bezout coefficientsComing soon
  3. Solving linear congruencesComing soon
  4. Practice: Modular Inverses and Linear CongruencesComing soon
Beginner Level Problem SetEasyPlannedProject0 of 1 lesson written

An integrated assessment with complete worked solutions.

  1. Level problem set: Number Theory — BeginnerComing soon

Intermediate

Fermat's Little TheoremMediumPlannedExplanation · Practice0 of 4 lessons written

Prove the theorem by permuting the nonzero residue classes.

  1. Fermat's theorem and hypothesesComing soon
  2. A proof using nonzero residuesComing soon
  3. Reducing powers modulo a primeComing soon
  4. Practice: Fermat's Little TheoremComing soon
Euler's Theorem and the Totient FunctionMediumPlannedExplanation · Practice0 of 4 lessons written

Prove Euler's theorem using multiplication on invertible classes.

  1. Counting coprime residuesComing soon
  2. Euler's theorem and its proofComing soon
  3. Computing the totient from prime factorsComing soon
  4. Practice: Euler's Theorem and the Totient FunctionComing soon
The Chinese Remainder TheoremMediumPlannedExplanation · Practice0 of 4 lessons written

Construct a solution to a compatible system of congruences.

  1. Compatible congruence systemsComing soon
  2. Constructing a CRT solutionComing soon
  3. Uniqueness modulo the combined modulusComing soon
  4. Practice: The Chinese Remainder TheoremComing soon
Fast Modular ExponentiationMediumPlannedExplanation · Practice0 of 4 lessons written

Trace repeated squaring and reduction without constructing enormous integers.

  1. Repeated squaringComing soon
  2. Tracing modular exponentiationComing soon
  3. Counting arithmetic operationsComing soon
  4. Practice: Fast Modular ExponentiationComing soon
RSA and Diffie–Hellman as ApplicationsMediumPlannedExplanation · Practice0 of 4 lessons written

Trace a small Diffie-Hellman exchange in a stated finite group.

  1. RSA as modular arithmeticComing soon
  2. Diffie-Hellman in a finite groupComing soon
  3. Why toy examples are not secure implementationsComing soon
  4. Practice: RSA and Diffie–Hellman as ApplicationsComing soon
Primitive RootsMediumPlannedExplanation · Practice0 of 4 lessons written

Identify when a residue generates every nonzero class modulo a prime.

  1. Multiplicative orderComing soon
  2. Primitive roots modulo a primeComing soon
  3. Existence proof and its prerequisitesComing soon
  4. Practice: Primitive RootsComing soon
Quadratic Residues and ReciprocityMediumPlannedExplanation · Practice0 of 4 lessons written

Relate the Legendre symbol to Euler's criterion with proof.

  1. Squares modulo an odd primeComing soon
  2. Legendre symbols and Euler's criterionComing soon
  3. Quadratic reciprocity with proofComing soon
  4. Practice: Quadratic Residues and ReciprocityComing soon
Intermediate Level Problem SetMediumPlannedProject0 of 1 lesson written

An integrated assessment with complete worked solutions.

  1. Level problem set: Number Theory — IntermediateComing soon