Chapter 5 of 20 · 5 min · 13 கேள்விகள்

Chapter video5:05
Take quiz →

Prime numbers and prime factorisation

A prime number is a number with exactly two factors: 1 and the number itself. Take 7. Only 1 and 7 divide it, so 7 is prime. Take 9. It is divided by 1, 3 and 9, so it has more than two factors. Such a number is called composite.

Two small numbers need special care.

  • 1 is not a prime. It has only one factor, so it fails the "exactly two" test. It is not composite either.
  • 2 is the only even prime. Every other even number has 2 as an extra factor.

By our count, 13 questions in the ten CSAT papers from 2017 to 2026 use the word prime.

The primes up to 50

There are fifteen primes up to 50. Know them on sight.

RangePrimesHow many
1 to 102, 3, 5, 74
11 to 2011, 13, 17, 194
21 to 3023, 292
31 to 4031, 372
41 to 5041, 43, 473

Apart from 2 and 5, every prime ends in 1, 3, 7 or 9. But not every number with such an ending is prime. These look like primes and are not: 39 = 3 × 13, 49 = 7 × 7, 51 = 3 × 17, 87 = 3 × 29, 91 = 7 × 13.

UPSC once gave the sequence 14, 18, 20, 24, 30, 32 and asked for the next number. Subtract 1 from each: 13, 17, 19, 23, 29, 31. These are the primes in order. The next prime is 37, so the answer is 38.

Another UPSC question took three distinct primes below 10 and asked what the unit digit of their sum can be. The primes below 10 are 2, 3, 5 and 7, so the possible sums are 10, 12, 14 and 15. The sum can end in 0 or in 5, but never in 9. A student who counts 1 as a prime gets extra sums and the wrong answer.

How to test whether a number is prime

Divide the number by the primes, starting from 2. You do not need to go far. Stop at the square root of the number.

Factors come in pairs. Both factors of a pair cannot be bigger than the square root, because their product would then be bigger than the number. So if no prime up to the square root divides the number, nothing will.

Is 221 prime? 17² = 289, which is more than 221. So try only 2, 3, 5, 7, 11 and 13. The first five fail. But 13 × 17 = 221. So 221 is not prime.

Is 157 prime? 13² = 169, which is more than 157. So try only 2, 3, 5, 7 and 11. None of them divides 157 exactly. So 157 is prime.

Is 97 prime? 10² = 100, which is more than 97. So try only 2, 3, 5 and 7. None of them divides 97, so 97 is prime.

For any number below 400, the primes up to 19 are enough, because 20² = 400. That is at most eight divisions.

How to break a number into primes

Divide by the smallest prime that goes, again and again. When it stops going, move to the next prime. Stop when you reach 1. Take 360.

360 ÷ 2 = 180, 180 ÷ 2 = 90, 90 ÷ 2 = 45. Now 2 does not divide 45, so move to 3. 45 ÷ 3 = 15, 15 ÷ 3 = 5. Now 5 is itself a prime, and 5 ÷ 5 = 1.

So 360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5. This is its prime factorisation. Every number above 1 breaks into primes in only one way. To check, multiply back: 8 × 9 × 5 = 360.

Higher powers are written with a caret. For example, 48 = 2^4 × 3 and 144 = 2^4 × 3².

Here is one statement adapted from a UPSC 2026 question: x and y are integers greater than 1, and x × y² = 116. Is x a prime? Factorise: 116 = 2 × 58 = 2 × 2 × 29 = 2² × 29. The only square inside 116 is 2². So y = 2 and x = 29. And 29 is a prime, so the answer is yes.

Co-prime numbers

Two numbers are co-prime if they have no common factor except 1. That means they share no prime. 8 = 2³ and 15 = 3 × 5 share no prime, so 8 and 15 are co-prime. Neither 8 nor 15 is a prime: co-prime is a word about a pair.

Where students slip

  • Counting 1 as a prime. The primes below 10 are 2, 3, 5 and 7 only.
  • Forgetting 2. When a question says "prime", 2 is allowed unless it says "odd prime".
  • Trusting the look of a number. 51, 57, 87, 91 and 119 are all composite.
  • Stopping the factorisation early. 84 = 4 × 21 is true, but it is not a prime factorisation. Go on until every factor is prime: 84 = 2² × 3 × 7.
  • Mixing up prime and co-prime. 15 and 28 are co-prime, yet both are composite.

How to practise

  • Write the fifteen primes up to 50 from memory once a day for a week.
  • Each day, test five numbers between 100 and 400. First decide which prime you will stop at, then divide.
  • Each day, factorise five numbers such as 72, 96, 180, 252 and 396, and multiply back to check.
  • When a question gives a product such as 116 or 143, factorise it before doing anything else.

உங்கள் வாசிப்பைச் சேமித்து, இரவு 9 மணி அகில இந்தியத் தேர்வை எழுதுங்கள்.

பதிவு செய்க