Number theory is one of the four standard pillars of mathematical olympiad competitions, alongside algebra, combinatorics, and geometry. Unlike calculus or analysis, elementary number theory focuses strictly on the properties of integers. Problems frequently have deceptively brief statements, yet solving them demands structural insight, careful modular reductions, and prime valuation techniques. This article presents the core theorems and practical tools needed to tackle contest problems, concluding with the Lifting the Exponent Lemma (LTE).
1. Divisibility and Prime Factorization
Given two integers and with , we say that divides (written ) if there exists an integer such that . When does not divide , we write . Every integer divisibility argument rests on two classical results:
The second foundational result is the Fundamental Theorem of Arithmetic: every integer can be written uniquely (up to the order of factors) as a product of prime numbers:
This canonical factorization introduces the -adic valuation notation: for a prime and positive integer , denotes the exponent of the highest power of dividing . In other words, if and . Valuations satisfy two practical rules: , and , with equality whenever .
2. Modular Arithmetic and Residue Systems
Modular arithmetic formalizes the arithmetic of remainders. We write if . Congruence modulo defines an equivalence relation that respects addition, subtraction, and multiplication. If and , then and . However, division requires caution:
In particular, if , we can divide both sides of a congruence by without altering the modulus. When working with prime moduli, every non-zero residue has a unique multiplicative inverse.
3. Fermat's Little Theorem and Euler's Totient Theorem
Fermat's Little Theorem characterizes the periodic nature of powers modulo a prime number :
Euler generalized this to an arbitrary positive modulus through the Euler totient function , which counts how many integers in are coprime to . If has prime factorization , the totient is calculated as:
Euler's theorem states that for any integer coprime to :
Problem-Solving Strategy: Congruence Obstructions
When trying to show an integer equation has no solutions, test small moduli such as , , , , or . For example, squares can only be or and , and or . Cubes can only be or . These constraints frequently rule out infinite families of candidates immediately.
4. The Order of an Element Modulo n
Let . The order of modulo , denoted , is defined as the smallest positive integer such that . The concept of order has two critical properties that frequently unlock competition problems:
- If for some positive integer , then must divide .
- Because by Euler's theorem, we always have . If the modulus is prime , then .
5. The Lifting the Exponent Lemma (LTE)
Exponential Diophantine equations often feature differences or sums of powers of the form or . The Lifting the Exponent Lemma (LTE) provides an exact equation for the -adic valuation of such expressions. It is one of the most powerful tools in modern olympiad number theory.
LTE for Odd Primes: The Main Case
Let be an odd prime. Let and be integers such that , but and . Then for any positive integer :
When is an odd positive integer and with and , substituting into the formula yields the plus case:
LTE for the Prime p = 2
The prime requires special care because the parity of affects whether intermediate terms are divisible by . Let and be odd integers such that . Then for any positive integer :
If but does not divide , then . For even , the formula takes the general form:
Prerequisite Checklist for LTE
Before using LTE in an exam, always state the conditions explicitly: verify that is a prime, check that , verify that and , and pay attention to whether is even or odd when handling . Writing out these checks prevents point deductions.
6. Worked Olympiad Example Problem
Problem: Find all positive integers such that is divisible by .
Step 1: Reformulate in terms of -adic valuation. The condition that divides translates to:
Step 2: Check the parity of . If were odd, then , which means . Consequently, for any odd . Since , no odd integer satisfies the condition. Therefore, must be even.
Step 3: Apply the even- LTE formula for with and . Both and are odd integers, and is even:
Step 4: Substitute the result back into the inequality:
Conclusion: The solutions are all positive integers of the form , where is an arbitrary positive integer. Notice how LTE turned an exponential Diophantine divisibility problem into a straightforward linear valuation equation.
Summary for Competition Practice
To develop proficiency in contest number theory, begin by examining small residue classes when analyzing equations. Use modular constraints to eliminate impossible cases, investigate multiplicative orders to understand powers, and apply valuation formulas like LTE when managing varying exponents. Approaching integer problems with these systematic steps builds the precision and confidence required at the national and international olympiad level.
