PrevNext

Overview

Advanced number theory uses structure in modular arithmetic and prime powers. Orders and lifting techniques often simplify exponent problems.

Key Ideas

  • If ak≡1(modn)a^k\equiv1\pmod n, the least such kk is the order of aa mod nn.
  • LTE (lifting the exponent) helps with vp(an−bn)v_p(a^n-b^n) when pp divides a−ba-b.
  • Factorization and parity arguments are constant companions.

Core Skills

Use Orders

If ak≡1(modn)a^k\equiv 1\pmod n, then kk divides φ(n)\varphi(n) when gcd⁡(a,n)=1\gcd(a,n)=1.

Apply LTE Safely

Check the hypotheses for LTE: typically p∣a−bp\mid a-b and p∤abp\nmid ab.

Combine Moduli

Use CRT to combine congruences after working modulo prime powers.

Worked Example

Find the largest kk with 2k∣312−12^k \mid 3^{12}-1.

Because 32−1=83^2-1=8, LTE gives v2(312−1)=v2(32−1)+v2(12)=3+2=5v_2(3^{12}-1)=v_2(3^2-1)+v_2(12)=3+2=5. So k=5k=5.

More Examples

Example 1: Order

Find the order of 22 modulo 77.

21=22^1=2, 22=42^2=4, 23=1(mod7)2^3=1\pmod 7, so the order is 33.

Example 2: LTE

Find v3(210−1)v_3(2^{10}-1).

Since 22−1=32^2-1=3, LTE gives v3(210−1)=v3(22−1)+v3(5)=1+0=1v_3(2^{10}-1)=v_3(2^2-1)+v_3(5)=1+0=1.

Example 3: CRT

Solve x≡1(mod4)x\equiv 1\pmod 4, x≡2(mod5)x\equiv 2\pmod 5.

x≡6(mod20)x\equiv 6\pmod{20}.

Strategy Checklist

  • Compute orders when exponents are involved.
  • Verify LTE conditions before applying it.
  • Use CRT to combine prime-power congruences.

Practice Problems

StatusSourceProblem NameDifficultyTags
AIMEVery Hard
Show TagsModular Arithmetic, Orders
AIMEVery Hard
Show TagsDiophantine, LTE
Berkeley Math Circle Monthly Contest 2Hard
Show TagsModular Arithmetic, Quadratic residues
Berkeley Math Circle: Monthly Contest 6Hard
Show TagsInclusion-exclusion, Quadratic residues
Berkeley Math CircleHard
Show TagsFactorization techniques, Greatest common divisors (gcd), Modular Arithmetic, Multiplicative order, Quadratic residues, Techniques: modulo, size analysis, order analysis, inequalities
Berkeley Math CircleHard
Show TagsModular Arithmetic, Pigeonhole principle, Quadratic residues
Harvard-MIT Mathematics Tournament, Team Round BHard
Show TagsFactorization techniques, Quadratic residues
USAMOHard
Show TagsChinese remainder theorem, Factorization techniques, Greatest common divisors (gcd), Polynomials, Prime numbers, Quadratic residues
RMMHard
Show TagsFermat / Euler / Wilson theorems, Prime numbers, Quadratic residues
HMMT November 2013Hard
Show TagsModular Arithmetic, Prime numbers, Quadratic residues
HMMT November 2014Hard
Show TagsChinese remainder theorem, Prime numbers, Quadratic residues
IMO Team Selection TestHard
Show TagsInverses mod n, Prime numbers, Quadratic residues
HMMT November 2014Hard
Show TagsChinese remainder theorem, Fermat / Euler / Wilson theorems, Quadratic residues, Recurrence relations
HMMT FebruaryHard
Show TagsQuadratic residues, Recursion, bijection
Berkeley Math CircleHard
Show TagsPrime numbers, Quadratic residues
HMMT February 2015Hard
Show TagsChinese remainder theorem, Field Theory, Polynomials mod p, Quadratic residues
HMMT February 2016Hard
Show TagsPolynomials mod p, Quadratic residues
February 2017Hard
Show TagsFermat / Euler / Wilson theorems, Polynomials mod p, Quadratic residues, Recursion, bijection
February 2017Hard
Show TagsFactorization techniques, Fermat / Euler / Wilson theorems, Prime numbers, Quadratic residues
February 2017Hard
Show TagsField Theory, Polynomials mod p, Quadratic residues, Recurrence relations
HMMT February 2020Hard
Show TagsQuadratic reciprocity, Quadratic residues
HMICHard
Show TagsAlgebraic properties of binomial coefficients, Fermat / Euler / Wilson theorems, Generating functions, Polynomials mod p, Quadratic residues
HMMT February 2020Hard
Show TagsPrime numbers, Quadratic forms, Quadratic reciprocity, Quadratic residues
Berkeley Math Circle: Monthly Contest 4Hard
Show TagsFermat / Euler / Wilson theorems, Quadratic residues
HMMT February 2022Hard
Show TagsModular Arithmetic, Quadratic residues

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.

PrevNext