Skip to main content
Number theory and cryptography
Lesson 48 of 75
Standard practice

Prime structure

Objective. Apply fundamental factorisation and prime tests.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

Prime structure concerns how integers factorise uniquely into primes, the building blocks of multiplication, as guaranteed by the fundamental theorem of arithmetic. Every integer greater than 1 has a unique factorisation up to ordering, and primality can be tested by trial division up to √n or by more efficient probabilistic tests like Miller–Rabin for large numbers. Knowing the prime factorisation lets one compute gcds, lcms, and the number of divisors directly from exponents. For example, 360 = 2³×3²×5, so it has (3+1)(2+1)(1+1) = 24 divisors in total.

Worked example

Find the prime factorisation structure of 198 and state the number of its positive divisors.

198
Illustrated card showing 198
  1. 1Divide by 2: 198 = 2×99
  2. 2Factorise 99: 99 = 3²×11
  3. 3So 198 = 2×3²×11
  4. 4Divisors = (1+1)(2+1)(1+1) = 12

Answer: 12

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students test primality of n by checking divisibility only up to n/2; it suffices and is far faster to check only up to √n, since any factor pair must include one factor at most √n.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard