Search & glossary
Every rule and concept in Number Theory, with its definition and a link to the lesson that teaches it. Search by term, by idea, or by lesson title.
Glossary (37)
- The least common multiple is the smallest positive integer divisible by both.
- GCD, LCM and the Euclidean Algorithm › LCM and the Product Formula
- A generator
- A primitive root mod is an element of order exactly .
- Orders and Primitive Roots › Primitive Roots
- Carry at
- Addition and multiplication work column by column in any base, exactly as in base ten, except that a column carries when it reaches instead of .
- Digits and Bases › Arithmetic in Other Bases
- Check every class
- To prove a statement about all integers whose truth depends only on , check the residues .
- Modular Arithmetic › Proofs by Residue Classes
- Consistency first
- If the moduli share factors, the system , has a solution iff , and the solution is then unique mod — not mod .
- The Chinese Remainder Theorem › Moduli That Share a Factor
- Count the dots two ways
- A sum of floors counts lattice points: is the number of points with , the points on or under the line above .
- Hard Number Theory › Floor Sums and Lattice Points
- Definition and infinitude
- A prime is an integer whose only positive divisors are and ; an integer that is not prime is composite.
- Primes and Factorization › Primes
- Digit tests
- A number is divisible by according to its last digit; by or according to its last two digits; by by its last three.
- Divisibility › Divisibility Rules
- Digits as unknowns
- A two-digit number with digits is ; reversing gives ; their difference is .
- Digits and Bases › Digit Problems
- Divides, quotient, remainder
- We write (" divides ") when for some integer .
- Divisibility › The Division Algorithm
- Every integer, every base
- For any base , every positive integer has a unique representation with digits , written .
- Digits and Bases › Base Representation
- Independent moduli combine
- If are pairwise coprime, the system has exactly one solution mod .
- The Chinese Remainder Theorem › CRT
- Legendre's formula
- The exponent of a prime in is , a sum that stops once .
- Primes and Factorization › Factorials and Legendre's Formula
- Let the equation pick the modulus
- A modulus is useful when the terms of the equation take few values in it.
- Hard Number Theory › Choosing a Modulus
- Modular inverses
- has an inverse mod (a number with ) exactly when ; find it from Bézout.
- Modular Arithmetic › Inverses and Linear Congruences
- Multiplicative functions
- counts the divisors of , sums them, counts the residues coprime to .
- Arithmetic Functions › , and
- No solution mod , no solution at all
- If an equation has an integer solution, reducing it gives a solution modulo every .
- Diophantine Equations › Congruence Obstructions
- Period of
- The decimal expansion of () has period equal to the order of modulo .
- Orders and Primitive Roots › The Order of an Element
- Reading off structure
- Questions like "which have exactly divisors?" are questions about exponent patterns: or , so or .
- Arithmetic Functions › Divisor Problems
- Repeated remainders
- Since , dividing repeatedly and keeping remainders reaches as the last nonzero remainder.
- GCD, LCM and the Euclidean Algorithm › The Euclidean Algorithm
- Simon's Favorite Factoring Trick
- becomes : add the missing constant to complete the product, then list factor pairs.
- Diophantine Equations › Factoring and Bounding
- Split, solve, reassemble
- To compute something mod a composite with , compute it mod and mod separately — often much easier, for instance by Fermat on each prime — and then combine the two remainders with CRT.
- The Chinese Remainder Theorem › Computing with CRT
- Squares mod
- For an odd prime , exactly half of the nonzero residues are squares (quadratic residues).
- Orders and Primitive Roots › Quadratic Residues
- Summing over
- Many identities sum a function over the divisors of .
- Arithmetic Functions › Sums and Products over Divisors
- The gcd from factorizations
- The greatest common divisor is the largest integer dividing both and .
- GCD, LCM and the Euclidean Algorithm › Greatest Common Divisors
- The gcd is a combination
- For integers not both zero there exist integers with .
- GCD, LCM and the Euclidean Algorithm › Bézout's Identity
- The toolkit in one place
- Hard number theory problems combine a few moves: reduce mod a well-chosen modulus to rule out solutions; factor (SFFT, difference of squares, sums of cubes); bound a variable by size or by the growth of a power; use orders to control exponents; and apply Fe…
- Hard Number Theory › Strategy
- Unique factorization
- Every integer is a product of primes, and the factorization is unique up to order: .
- Primes and Factorization › The Fundamental Theorem of Arithmetic