Math Lab
Home/Class X/Ch 1/The Fundamental Theorem of Arithmetic

The Fundamental Theorem of Arithmetic

Why is 12=2×2×312 = 2 \times 2 \times 3 the only way to write 1212 as a product of primes? Why not, say, 12=4×3=2×612 = 4 \times 3 = 2 \times 6? The answer is that 44 and 66 themselves break apart into primes; once you push everything down to primes, the list is unique. This is the Fundamental Theorem of Arithmetic (FTA), and it is the bedrock of number theory.

Definitions

A natural number p>1p > 1 is prime if its only positive divisors are 11 and pp. The first few primes are 2,3,5,7,11,13,17,19,23,2, 3, 5, 7, 11, 13, 17, 19, 23, \ldots. A number >1> 1 that is not prime is called composite.

A prime factorisation of an integer n2n \ge 2 is an expression n=p1a1p2a2pkak,n = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}, where p1<p2<<pkp_1 < p_2 < \cdots < p_k are primes and the exponents aia_i are positive integers.

Theorem and idea of proof

Fundamental Theorem of Arithmetic. Every integer n2n \ge 2 can be written as a product of primes, and this factorisation is unique except for the order of the factors.

The statement has two parts: existence (there is some way to write nn as a product of primes) and uniqueness (there is only one such way once we sort the primes in increasing order).

Existence follows by repeated splitting. If nn is prime, we are done. Otherwise n=abn = a \cdot b with 1<a,b<n1 < a, b < n. Apply the same step to aa and bb. The process must stop because at each stage the factors strictly decrease but remain 2\ge 2. The leaves of this "factor tree" are primes.

Uniqueness is the deeper half. Suppose p1p2pr=q1q2qs,p_1 p_2 \cdots p_r = q_1 q_2 \cdots q_s, where all pip_i and qjq_j are primes. The key lemma , sometimes called Euclid's lemma , says: if a prime pp divides a product abab, then pap \mid a or pbp \mid b. Applying this to p1q1q2qsp_1 \mid q_1 q_2 \cdots q_s, we conclude that p1p_1 equals one of the qjq_j. Cancel and continue. Both lists shrink at the same rate and turn out to be identical (after re-ordering).

The theorem has immediate consequences. Two integers can be compared by comparing their prime exponent vectors. The divisors of n=p1a1pkakn = p_1^{a_1} \cdots p_k^{a_k} are exactly the numbers p1b1pkbkp_1^{b_1} \cdots p_k^{b_k} with 0biai0 \le b_i \le a_i, so the number of divisors is (a1+1)(a2+1)(ak+1)(a_1+1)(a_2+1)\cdots(a_k+1). The square divisors of n2n^2, the structure of n!n!, and the irrationality of p\sqrt{p} all sit on this foundation.

Finally, FTA tells us that primes are the atoms of the multiplicative world. Just as in chemistry every molecule is built from atoms in one way, every positive integer is built from primes in one way. That is why so much of modern cryptography (RSA, for example) hides a secret inside a hard-to-factor product of two enormous primes.

Worked examples

Example 1. Find the prime factorisation of 156156.

Divide by the smallest primes in turn. 156=2×78=2×2×39=2×2×3×13=22×3×13.156 = 2 \times 78 = 2 \times 2 \times 39 = 2 \times 2 \times 3 \times 13 = 2^2 \times 3 \times 13.

Example 2. Factorise 1312513125 into primes.

1312513125 ends in 55, so divide by 55: 13125=5×2625=5×5×525=53×105=53×3×35=54×3×713125 = 5 \times 2625 = 5 \times 5 \times 525 = 5^3 \times 105 = 5^3 \times 3 \times 35 = 5^4 \times 3 \times 7. Check: 54=6255^4 = 625, and 625×21=13125625 \times 21 = 13125. So 13125=3×54×713125 = 3 \times 5^4 \times 7.

Example 3. Show that 7×11×13+137 \times 11 \times 13 + 13 is a composite number.

Factor 1313 out: 7×11×13+13=13(7×11+1)=13×78=13×2×3×13=2×3×1327 \times 11 \times 13 + 13 = 13(7 \times 11 + 1) = 13 \times 78 = 13 \times 2 \times 3 \times 13 = 2 \times 3 \times 13^2. Because the expression has more than one prime factor, it is composite.

Example 4. How many positive divisors does 360360 have?

First factorise: 360=23×32×5360 = 2^3 \times 3^2 \times 5. Number of divisors =(3+1)(2+1)(1+1)=4×3×2=24= (3+1)(2+1)(1+1) = 4 \times 3 \times 2 = 24.

Example 5. Can the number 6n6^n end in the digit 00 for any natural number nn?

If 6n6^n ended in 00, then 106n10 \mid 6^n, so 56n5 \mid 6^n. By FTA the only prime factors of 6n=2n3n6^n = 2^n \cdot 3^n are 22 and 33. Hence 56n5 \nmid 6^n. So 6n6^n can never end in 00.

Try it yourself

  1. Express each as a product of primes: 9696, 234234, 429429, 38253825.
  2. Without computing, decide whether 4n4^n can end in 00 for some nn.
  3. How many divisors does 24×33×72^4 \times 3^3 \times 7 have?
  4. Find the prime factorisation of 74297429.
  5. Is 1+2+3++101 + 2 + 3 + \ldots + 10 prime or composite? Justify using FTA.
  6. Show that 3×5×7+73 \times 5 \times 7 + 7 is composite.
  7. If pp is prime and p2np^2 \mid n, must pnp \mid n? Why?
  8. List all positive divisors of 8484 using its prime factorisation.
  9. Find the smallest natural number that has exactly 1010 positive divisors.
  10. If n=p2qn = p^2 q (distinct primes), how many divisors does n2n^2 have?

Pitfalls / Insight

  • 11 is not a prime , it has only one divisor, not two. Many students wrongly include 11 in factor lists.
  • Order matters only as bookkeeping. 12=22×3=3×2×212 = 2^2 \times 3 = 3 \times 2 \times 2; FTA cares only about which primes and how many of each.
  • "Factorise" means push down to primes, not just split into any two factors. 30=5×630 = 5 \times 6 is not a prime factorisation; 30=2×3×530 = 2 \times 3 \times 5 is.

Insight. Think of an integer as a vector of exponents. 360=(3,2,1,0,)360 = (3,2,1,0,\ldots) in primes (2,3,5,7,)(2,3,5,7,\ldots). Multiplication adds vectors, division subtracts them, and the gcd/lcm become coordinate-wise min/max. The whole chapter is just linear algebra on these exponent vectors.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Fundamental Theorem
6 questions · pick the best answer
Q1

The prime factorisation of 9696 is:

Q2

Number of positive divisors of 24×33×72^4 \times 3^3 \times 7 is:

Q3

Can 6n6^n end in the digit 00 for some n1n \ge 1?

Q4

7×11×13+137 \times 11 \times 13 + 13 is:

Q5

Why is 11 not considered a prime?

Q6

FTA stands for: