Math Lab
Home/Class VII/Ch 11/Prime numbers and prime factorisation

Prime numbers and prime factorisation

A prime number has exactly two factors: 11 and itself. The first few primes are 2,3,5,7,11,13,17,19,23,29,2, 3, 5, 7, 11, 13, 17, 19, 23, 29, \dots.

Idea

Numbers that are not prime (and not 11) are called composite. They can always be written as a product of primes , uniquely, in fact. This is the Fundamental Theorem of Arithmetic.

For example, 60=2×2×3×5=22×3×560 = 2 \times 2 \times 3 \times 5 = 2^2 \times 3 \times 5. There is only one way to write 6060 as a product of primes (apart from reordering).

How to find the prime factorisation of nn:

  1. Try the smallest prime (22). If it divides nn, write it down and replace nn by n/2n / 2. Repeat with 22 until it no longer divides.
  2. Try the next prime (33). Repeat.
  3. Continue with 5,7,11,5, 7, 11, \dots until nn becomes 11.

This is the factor tree or division ladder method.

For example, 84÷2=4284 \div 2 = 42, 42÷2=2142 \div 2 = 21, 21÷3=721 \div 3 = 7, 7÷7=17 \div 7 = 1. So 84=2×2×3×7=22×3×784 = 2 \times 2 \times 3 \times 7 = 2^2 \times 3 \times 7.

Useful tips:

  • If a number is even, 22 is a factor.
  • If the sum of digits is divisible by 33, then 33 is a factor.
  • If it ends in 00 or 55, 55 is a factor.

A number is prime if it has no prime factor less than or equal to its square root. So to check if 9797 is prime, you only need to test primes up to 979.8\sqrt{97} \approx 9.8, i.e., 2,3,5,72, 3, 5, 7. None divides 9797. So 9797 is prime.

Worked examples

Example 1. Prime factorisation of 6060.

60÷2=30;30÷2=15;15÷3=5;5÷5=160 \div 2 = 30; 30 \div 2 = 15; 15 \div 3 = 5; 5 \div 5 = 1. So 60=22×3×560 = 2^2 \times 3 \times 5.

Example 2. Prime factorisation of 144144.

144÷2=72;÷2=36;÷2=18;÷2=9;9÷3=3;÷3=1144 \div 2 = 72; \div 2 = 36; \div 2 = 18; \div 2 = 9; 9 \div 3 = 3; \div 3 = 1. So 144=24×32144 = 2^4 \times 3^2.

Example 3. Is 5151 prime or composite?

Sum of digits: 5+1=65+1=6, divisible by 33. So 51=3×1751 = 3 \times 17. Composite.

Example 4. Prime factorisation of 315315.

315÷3=105;÷3=35;35÷5=7;÷7=1315 \div 3 = 105; \div 3 = 35; 35 \div 5 = 7; \div 7 = 1. So 315=32×5×7315 = 3^2 \times 5 \times 7.

Try it yourself

  1. Prime factorisation of 3030.
  2. Prime factorisation of 7272.
  3. Is 8989 prime?
  4. Prime factorisation of 100100.
  5. Prime factorisation of 225225.
  6. Is 123123 prime?
  7. Find the first prime greater than 5050.
  8. Prime factorisation of 10001000.

Activity

Use the sieve of Eratosthenes: write numbers 11 to 100100 in a grid. Cross out 11, then multiples of 22 (except 22), of 33 (except 33), of 55, of 77. What's left are the primes up to 100100.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Prime factorisation
5 questions · pick the best answer
Q1

Prime factorisation of 3030:

Q2

Prime factorisation of 7272:

Q3

Is 8989 prime?

Q4

Prime factorisation of 100100:

Q5

First prime greater than 5050: