No history yet

Introduction to Number Theory

The Building Blocks of Numbers

At the heart of mathematics are the whole numbers we use every day: 1, 2, 3, and so on. But not all numbers are created equal. Some are fundamental, acting as the building blocks for all others. These are the prime numbers.

prime

adjective

A whole number greater than 1 that cannot be formed by multiplying two smaller whole numbers. It is only divisible by 1 and itself.

Numbers like 2, 3, 5, 7, and 11 are prime. On the other hand, a number like 6 is not prime because it can be formed by multiplying 2×32 \times 3. We call these composite numbers. Every composite number can be broken down into a unique product of prime numbers. This is called its prime factorization.

Think of it like LEGOs. Prime numbers are the individual bricks. Composite numbers are the structures you build from those bricks. For example, the number 12 can be built from two 2s and one 3.

12=2×2×3=22×312 = 2 \times 2 \times 3 = 2^2 \times 3

This idea of breaking numbers down relies on a core concept: divisibility.

We say a number a is divisible by b if dividing a by b leaves no remainder. For example, 12 is divisible by 3, but 13 is not.

Clock Arithmetic

Divisibility is all about remainders. Imagine a clock. If it's 10 o'clock and you add 4 hours, the time becomes 2 o'clock, not 14 o'clock. You're working with a cycle of 12. After you hit 12, you wrap around and start again from 1. This is the essence of modular arithmetic.

In mathematics, we write this relationship using the modulo operator. For our clock example, we would write:

(10+4)(mod12)2(10 + 4) \pmod{12} \equiv 2

This is read as "14 is congruent to 2 modulo 12." It means that 14 and 2 have the same remainder when divided by 12. In this case, the remainder is 2. The number we are dividing by, 12, is called the modulus.

Let's try another one. What is 17(mod5)17 \pmod{5}? We divide 17 by 5, which gives us 3 with a remainder of 2. So, 172(mod5)17 \equiv 2 \pmod{5}.

Solving Multiple Mysteries

Modular arithmetic becomes truly powerful when we have a system of these congruences. Imagine you're trying to find a secret number, xx. You don't know what it is, but you have a few clues:

  1. When you divide xx by 3, the remainder is 2.
  2. When you divide xx by 5, the remainder is 3.
  3. When you divide xx by 7, the remainder is 2.

We can write this as a system of congruences:

x2(mod3)x3(mod5)x2(mod7)\begin{aligned} \\ x &\equiv 2 \pmod{3} \\ x &\equiv 3 \pmod{5} \\ x &\equiv 2 \pmod{7} \\ \end{aligned}

Solving this puzzle might seem tricky. You could test numbers one by one. The first clue tells us xx could be 2, 5, 8, 11, 14, 17, 20, 23... The second clue tells us xx could be 3, 8, 13, 18, 23... The number 23 appears in both lists, so it satisfies the first two conditions. Now let's check it against the third: 23÷723 \div 7 is 3 with a remainder of 2. It works! The secret number is 23.

This method of finding a number that satisfies multiple modular conditions at once is formalized by the Chinese Remainder Theorem. It guarantees a unique solution within a certain range, as long as the moduli (in our case, 3, 5, and 7) are coprime, meaning they don't share any common factors other than 1.

The Chinese Remainder Theorem provides a systematic way to solve systems of linear congruences, turning a complex puzzle into a manageable calculation. This theorem has applications everywhere, from cryptography to complex computer algorithms.

Now, let's test your understanding of these building blocks.

Quiz Questions 1/6

Which of the following numbers is a prime number?

Quiz Questions 2/6

What is the prime factorization of the number 36?

These concepts might seem abstract, but they form the foundation for how computers perform complex calculations, secure communications, and solve enormous problems efficiently.