🌍 Mathematics · subject

Mathematics Number Theory Syllabus

The Number Theory syllabus for Mathematics in full: 9 chapters, every one listed below, plus 50 Number Theory flashcards with answers.

9Chapters
50Flashcards

Number Theory syllabus: all 9 chapters

Expand any chapter to see its topics and sub-topics.

  1. Prime Numbers

    overview

    No separate topics listed for this chapter.

  2. Divisibility

    overview

    No separate topics listed for this chapter.

  3. Modular Arithmetic

    overview

    No separate topics listed for this chapter.

  4. Diophantine Equations

    overview

    No separate topics listed for this chapter.

  5. Congruences

    overview

    No separate topics listed for this chapter.

  6. Number Theoretic Functions

    overview

    No separate topics listed for this chapter.

  7. Quadratic Residues

    overview

    No separate topics listed for this chapter.

  8. Continued Fractions

    overview

    No separate topics listed for this chapter.

  9. Elliptic Curves

    overview

    No separate topics listed for this chapter.

Mathematics Number Theory flashcards — 50 questions with answers

  1. What is the Fundamental Theorem of Arithmetic?

    Every integer $n > 1$ can be written uniquely (up to ordering) as a product of primes: $n = p_{1}^{a_{1}} p_{2}^{a_{2}} \cdots p_{k}^{a_{k}}$, where the $p_{i}$ are distinct primes and $a_{i} \geq 1$.

  2. Define what it means for an integer $a$ to divide an integer $b$.

    $a \mid b$ means there exists an integer $k$ such that $b = a \cdot k$ (with $a \neq 0$). We say $a$ is a divisor of $b$ and $b$ is a multiple of $a$.

  3. What is a prime number?

    An integer $p > 1$ whose only positive divisors are $1$ and $p$ itself. The smallest prime is $2$, the only even prime.

  4. State the Division Algorithm for integers.

    For integers $a$ and $b$ with $b > 0$, there exist unique integers $q$ (quotient) and $r$ (remainder) such that $a = bq + r$ where $0 \leq r < b$.

  5. Define the greatest common divisor $\gcd(a,b)$.

    The largest positive integer $d$ such that $d \mid a$ and $d \mid b$. Equivalently, it is the smallest positive integer expressible as $ax + by$ for integers $x, y$.

  6. What is Bézout's Identity?

    For integers $a$ and $b$ (not both zero), there exist integers $x$ and $y$ such that $ax + by = \gcd(a,b)$.

  7. How are $\gcd(a,b)$ and $\operatorname{lcm}(a,b)$ related?

    $$\gcd(a,b) \cdot \operatorname{lcm}(a,b) = |a \cdot b|$$ so $\operatorname{lcm}(a,b) = \dfrac{|ab|}{\gcd(a,b)}$.

  8. Describe the Euclidean Algorithm for computing $\gcd(a,b)$.

    Repeatedly replace $(a,b)$ with $(b, a \bmod b)$ until the remainder is $0$. The last nonzero remainder is $\gcd(a,b)$. It relies on $\gcd(a,b) = \gcd(b, a \bmod b)$.

  9. What does it mean for $a$ to be congruent to $b$ modulo $m$?

    $a \equiv b \pmod{m}$ means $m \mid (a - b)$, i.e. $a$ and $b$ leave the same remainder when divided by $m$.

  10. When are two integers said to be coprime (relatively prime)?

    When $\gcd(a,b) = 1$, i.e. they share no common prime factor.

  11. State Fermat's Little Theorem.

    If $p$ is prime and $p \nmid a$, then $$a^{p-1} \equiv 1 \pmod{p}.$$ Equivalently, $a^{p} \equiv a \pmod{p}$ for all integers $a$.

  12. State Euler's Theorem.

    If $\gcd(a, n) = 1$, then $$a^{\varphi(n)} \equiv 1 \pmod{n},$$ where $\varphi$ is Euler's totient function.

  13. Define Euler's totient function $\varphi(n)$.

    $\varphi(n)$ counts the positive integers up to $n$ that are coprime to $n$. For example, $\varphi(9) = 6$ since $1,2,4,5,7,8$ are coprime to $9$.

  14. Give the formula for $\varphi(n)$ in terms of the prime factorization of $n$.

    If $n = p_{1}^{a_{1}} \cdots p_{k}^{a_{k}}$, then $$\varphi(n) = n \prod_{i=1}^{k} \left(1 - \frac{1}{p_{i}}\right).$$

  15. What is $\varphi(p)$ for a prime $p$, and $\varphi(p^{k})$ for a prime power?

    $\varphi(p) = p - 1$ and $\varphi(p^{k}) = p^{k} - p^{k-1} = p^{k-1}(p-1)$.

  16. State Wilson's Theorem.

    An integer $p > 1$ is prime if and only if $$(p-1)! \equiv -1 \pmod{p}.$$

  17. State the Chinese Remainder Theorem (CRT).

    If $m_{1}, m_{2}, \ldots, m_{k}$ are pairwise coprime, then the system $x \equiv a_{i} \pmod{m_{i}}$ has a unique solution modulo $M = m_{1} m_{2} \cdots m_{k}$.

  18. When does the linear congruence $ax \equiv b \pmod{m}$ have a solution?

    It has a solution if and only if $\gcd(a,m) \mid b$. If so, there are exactly $\gcd(a,m)$ solutions modulo $m$.

  19. Define the multiplicative inverse of $a$ modulo $m$ and state when it exists.

    An integer $a^{-1}$ with $a \cdot a^{-1} \equiv 1 \pmod{m}$. It exists if and only if $\gcd(a,m) = 1$, and can be found via the Extended Euclidean Algorithm.

  20. How do you compute a modular inverse using the Extended Euclidean Algorithm?

    Find integers $x, y$ with $ax + my = \gcd(a,m) = 1$. Then $x \bmod m$ is the inverse $a^{-1} \pmod{m}$, since $ax \equiv 1 \pmod{m}$.

Show the other 30 Number Theory flashcards
  1. State the formula for the number of positive divisors of $n$.

    If $n = p_{1}^{a_{1}} \cdots p_{k}^{a_{k}}$, then the divisor count is $$d(n) = \prod_{i=1}^{k} (a_{i} + 1).$$

  2. State the formula for the sum of positive divisors $\sigma(n)$.

    If $n = p_{1}^{a_{1}} \cdots p_{k}^{a_{k}}$, then $$\sigma(n) = \prod_{i=1}^{k} \frac{p_{i}^{a_{i}+1} - 1}{p_{i} - 1}.$$

  3. What is a perfect number?

    A positive integer $n$ equal to the sum of its proper divisors, i.e. $\sigma(n) = 2n$. Examples: $6 = 1+2+3$ and $28 = 1+2+4+7+14$.

  4. What is a Mersenne prime?

    A prime of the form $M_{p} = 2^{p} - 1$, where $p$ itself must be prime. Examples: $3, 7, 31, 127$ (for $p = 2,3,5,7$).

  5. State the Euclid–Euler theorem connecting perfect numbers and Mersenne primes.

    An even number is perfect if and only if it has the form $2^{p-1}(2^{p}-1)$ where $2^{p}-1$ is a (Mersenne) prime.

  6. How many primes are there, and how is this proven?

    There are infinitely many primes. Euclid's proof: if $p_{1}, \ldots, p_{k}$ were all primes, then $N = p_{1}\cdots p_{k} + 1$ is divisible by none of them, so it has a new prime factor — a contradiction.

  7. State the Prime Number Theorem.

    The prime-counting function $\pi(x)$ satisfies $$\pi(x) \sim \frac{x}{\ln x} \quad \text{as } x \to \infty,$$ meaning $\lim_{x\to\infty} \frac{\pi(x)\ln x}{x} = 1$.

  8. What is the Sieve of Eratosthenes used for?

    Finding all primes up to $n$. List $2$ to $n$; repeatedly take the next unmarked number as prime and cross out all its multiples. Remaining unmarked numbers are prime.

  9. When testing whether $n$ is prime by trial division, up to what bound must you check divisors?

    Only up to $\sqrt{n}$. If $n$ has no prime factor $\leq \sqrt{n}$, then $n$ is prime, since any factor pair $n = ab$ has at least one factor $\leq \sqrt{n}$.

  10. Define a quadratic residue modulo $p$.

    An integer $a$ with $\gcd(a,p)=1$ is a quadratic residue mod $p$ if $x^{2} \equiv a \pmod{p}$ has a solution; otherwise it is a quadratic non-residue.

  11. Define the Legendre symbol $\left(\frac{a}{p}\right)$.

    For odd prime $p$: $\left(\frac{a}{p}\right) = 0$ if $p \mid a$; $= 1$ if $a$ is a quadratic residue mod $p$; $= -1$ if $a$ is a non-residue.

  12. State Euler's Criterion for quadratic residues.

    For an odd prime $p$ and $p \nmid a$: $$\left(\frac{a}{p}\right) \equiv a^{\frac{p-1}{2}} \pmod{p}.$$

  13. State the Law of Quadratic Reciprocity.

    For distinct odd primes $p, q$: $$\left(\frac{p}{q}\right)\left(\frac{q}{p}\right) = (-1)^{\frac{p-1}{2}\cdot\frac{q-1}{2}}.$$

  14. What is the divisibility rule for 3 (and 9)?

    An integer is divisible by $3$ (resp. $9$) if and only if the sum of its decimal digits is divisible by $3$ (resp. $9$). This follows from $10 \equiv 1 \pmod{9}$.

  15. What is the divisibility rule for 11?

    An integer is divisible by $11$ if and only if the alternating sum of its digits is divisible by $11$, since $10 \equiv -1 \pmod{11}$.

  16. Define a multiplicative function in number theory.

    An arithmetic function $f$ with $f(1)=1$ such that $f(mn) = f(m)f(n)$ whenever $\gcd(m,n)=1$. Examples: $\varphi$, $d(n)$, $\sigma(n)$, the Möbius function $\mu$.

  17. Define the Möbius function $\mu(n)$.

    $\mu(1)=1$; $\mu(n)=(-1)^{k}$ if $n$ is a product of $k$ distinct primes (squarefree); $\mu(n)=0$ if $n$ has a squared prime factor.

  18. State the divisor-sum identity for the Möbius function.

    $$\sum_{d \mid n} \mu(d) = \begin{cases} 1 & n = 1 \\ 0 & n > 1 \end{cases}$$

  19. State the divisor-sum identity for Euler's totient.

    $$\sum_{d \mid n} \varphi(d) = n.$$

  20. What is the order of an element $a$ modulo $n$?

    The smallest positive integer $k$ such that $a^{k} \equiv 1 \pmod{n}$ (requires $\gcd(a,n)=1$). The order always divides $\varphi(n)$.

  21. What is a primitive root modulo $n$?

    An integer $g$ with $\gcd(g,n)=1$ whose order modulo $n$ equals $\varphi(n)$; its powers generate all units mod $n$. Primitive roots exist exactly for $n = 1,2,4,p^{k},2p^{k}$ ($p$ odd prime).

  22. What is a Diophantine equation?

    A polynomial equation in which only integer (or rational) solutions are sought. Example: the linear Diophantine equation $ax + by = c$.

  23. When does the linear Diophantine equation $ax + by = c$ have integer solutions?

    It has solutions if and only if $\gcd(a,b) \mid c$. If $(x_{0}, y_{0})$ is one solution, all solutions are $x = x_{0} + \frac{b}{d}t$, $y = y_{0} - \frac{a}{d}t$ with $d=\gcd(a,b)$, $t \in \mathbb{Z}$.

  24. What characterizes a Pythagorean triple, and what is the primitive parametrization?

    Positive integers with $a^{2}+b^{2}=c^{2}$. Primitive triples are $a=m^{2}-n^{2}$, $b=2mn$, $c=m^{2}+n^{2}$ with $m>n>0$, $\gcd(m,n)=1$, and $m,n$ of opposite parity.

  25. State Fermat's Last Theorem.

    For any integer $n > 2$, the equation $$x^{n} + y^{n} = z^{n}$$ has no solution in positive integers $x, y, z$. Proven by Andrew Wiles (1994).

  26. What is the difference between a composite number and a prime?

    A prime $p>1$ has exactly two positive divisors ($1$ and $p$). A composite number $n>1$ has at least three positive divisors, i.e. a divisor other than $1$ and $n$. Note: $1$ is neither prime nor composite.

  27. How does fast modular exponentiation (square-and-multiply) compute $a^{e} \bmod m$?

    Write $e$ in binary; repeatedly square $a$ modulo $m$, and multiply into the result for each binary $1$ in $e$. This runs in $O(\log e)$ multiplications instead of $e$.

  28. What is the contrapositive use of Fermat's Little Theorem in primality testing?

    If $a^{n-1} \not\equiv 1 \pmod{n}$ for some $a$ with $\gcd(a,n)=1$, then $n$ is composite (a Fermat witness). The converse fails: Carmichael numbers pass the test for all coprime $a$ yet are composite.

  29. Define a Carmichael number.

    A composite number $n$ such that $a^{n-1} \equiv 1 \pmod{n}$ for every integer $a$ coprime to $n$. The smallest is $561 = 3 \cdot 11 \cdot 17$.

  30. Compare quadratic residues vs. non-residues modulo an odd prime $p$: how many of each are there?

    Among the $p-1$ nonzero residues mod $p$, exactly $\frac{p-1}{2}$ are quadratic residues and $\frac{p-1}{2}$ are non-residues. The product of two residues or two non-residues is a residue; residue times non-residue is a non-residue.

Mathematics Number Theory FAQ

What is in the Mathematics Number Theory syllabus?

Mathematics Number Theory is split into 9 chapters: Prime Numbers, Divisibility, Modular Arithmetic, Diophantine Equations, Congruences, Number Theoretic Functions, Quadratic Residues, Continued Fractions and Elliptic Curves.

How many chapters are in Mathematics Number Theory?

9 chapters.

Are there flashcards for Mathematics Number Theory?

Yes — a 50-card Number Theory deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.