PrevNext

Overview

Intermediate number theory emphasizes modular arithmetic, gcd arguments, and careful factoring.

Key Ideas

Core Skills

Reduce Modulo a Convenient Base

Pick moduli that simplify the expression (like 2, 3, 4, 5, 8, 9, 11).

Use the Euclidean Algorithm

Compute gcds quickly to test solvability of linear Diophantine equations.

Combine Congruences

Use the Chinese Remainder Theorem for compatible mod conditions, even in simple two-modulus cases.

Worked Example

Solve 7x1(mod10)7x\equiv 1\pmod{10}.

Check small residues: 73=211(mod10)7\cdot 3=21\equiv 1\pmod{10}, so x3(mod10)x\equiv 3\pmod{10}.

More Examples

Example 1: Linear Diophantine

Determine if 6x+15y=96x+15y=9 has integer solutions.

gcd(6,15)=3\gcd(6,15)=3 divides 99, so solutions exist.

Example 2: Mod Elimination

Can x23(mod4)x^2\equiv 3\pmod 4 happen?

Squares are 00 or 11 mod 44, so no.

Example 3: CRT Quick Solve

Find xx with x2(mod3)x\equiv 2\pmod 3 and x1(mod4)x\equiv 1\pmod 4.

Check x=5x=5, which satisfies both; so x5(mod12)x\equiv 5\pmod{12}.

Strategy Checklist

  • Choose a modulus that simplifies the expression.
  • Check gcd conditions for linear equations.
  • Verify solutions by substitution.

Practice Problems

  • Using a modulus that does not provide new information.
  • Forgetting to check gcd divisibility.
  • Assuming a congruence has a solution without testing residues.
StatusSourceProblem NameDifficultyTags
AMC 12Normal
Show TagsModular Arithmetic
AIMEHard
Show TagsDiophantine

Module Progress:

Join the AoPS Community!

Stuck on a problem, or don't understand a module? Join the AoPS community and get help from other math contest students.

PrevNext