Primes, HCF and LCM

Chapter 1 Study Notes · O-Level 4052

Section 2 of 11
Contents▾

1.1Prime Numbers and Composite Numbers

Every whole number greater than 11 is either prime or composite, and you tell them apart by counting factors. A prime has exactly two, 11 and itself. A composite has more than two. The count is what matters: 11 has only one factor, so it is neither.

71 × 7two factors, so one rectangle121 × 122 × 63 × 4six factors, so three rectangles
Counting factors, laid out. A prime is the number that makes exactly one rectangle.

The first primes are 2,3,5,7,11,13,17,19,23,29,…2, 3, 5, 7, 11, 13, 17, 19, 23, 29, \ldots

Classifying numbers as prime or composite

State whether each of 1\displaystyle 1, 2\displaystyle 2, 9\displaystyle 9, 23\displaystyle 23 and 51\displaystyle 51 is prime, composite, or neither. Give a reason each time.

Show solution▾
11: its only factor is 11, so it has one factor. It is neither prime nor composite.
22: factors are 11 and 22, exactly two, so it is prime. It is the only even prime.
99: factors are 1,3,91, 3, 9, so it is composite (9=3×39 = 3 \times 3).
2323: no prime up to 23≈4.8\sqrt{23} \approx 4.8 divides it, so testing 22 and 33 is enough. It is prime.
5151: 5+1=65 + 1 = 6 is divisible by 33, so 33 is a factor of 5151, and 51=3×1751 = 3 \times 17. It is composite.

Now you try

Is 4444 a prime number or a composite number?

Show solution▾
44=2×2244 = 2 \times 22
Since 4444 has factors other than 11 and itself, it is composite.

Want it marked, with hints, and a new question each time? Practise this →

A number with exactly 3 factors

A whole number has exactly 3 factors. Show that it must be the square of a prime number, and find the smallest such number.

Show solution▾
If n=p2n = p^2 where pp is prime, then the factors of nn are 1,p,p21, p, p^2, which is exactly 3.
Every other shape gives a different count: n=1n = 1 has 1 factor; a prime n=pn = p has 2; a prime power n=pkn = p^k with kk equal to 3 or more has at least 4 (1,p,p2,p31, p, p^2, p^3); and any nn with two different prime factors has at least 4 (1,p,q,pq1, p, q, pq).
So n=p2n = p^2 is the only possibility.
The smallest prime is 22, so the smallest such number is 22=42^2 = 4 (factors: 1,2,41, 2, 4).

Practise this

Questions on Primes, HCF and LCM, marked as you go, with the working shown.

Practise Primes, HCF and LCM