Number Theory Symbols
Number theory uses symbols for number sets, divisibility, and congruence. For example, ℤ denotes the integers and ℚ denotes the rational numbers. The table shows how to read these symbols and others used in number theory. Explore the Math Symbols guide for the full collection. Tap or click a symbol to copy it.
| Symbol | Name | Description |
|---|---|---|
| ℕ | Natural numbers | ℕ is the set used for counting. It starts at 0 or 1, depending on the convention. For example, 3 ∈ ℕ. |
| ℤ | Integers | ℤ includes negative integers, zero, and positive integers. For example, −5 ∈ ℤ. |
| ℚ | Rational numbers | ℚ includes numbers that can be written as a ratio of two integers with a nonzero denominator. For example, 3/4 ∈ ℚ. |
| ℝ | Real numbers | ℝ covers the entire number line, including irrational numbers such as −π and √2. |
| ℂ | Complex numbers | In ℂ, i² = −1. For example, 2 + 3i is a complex number. |
| |a| | Absolute value | The absolute value of a is its distance from zero. For example, |−7| = 7. |
| a ∣ b | Divides | a ∣ b means a divides b with no remainder. |
| a ∤ b | Does not divide | a ∤ b means a does not divide b evenly. |
| ≡ (mod) | Congruence modulo n | 5 ≡ 2 (mod 3) means 5 and 2 give the same remainder when divided by 3. |
| gcd(a,b) | Greatest common divisor | gcd(12,18) = 6 because 6 is the largest integer that divides both 12 and 18. |
| lcm(a,b) | Least common multiple | lcm(a,b) gives the smallest positive common multiple of the two positive integers. |
| p | Prime number | p often represents an arbitrary prime number in number theory. |
| φ(n) | Euler’s totient function | φ(n) counts the positive integers up to n that are coprime to n. |
