Introduction

Welcome back to Breaking Numbers Into Primes! This is our fourth and final lesson in the course, so we are about to cross the finish line together. Over the past three lessons, we learned what prime factorisation means, built factor trees to split numbers into primes visually, and used repeated division to peel off prime factors one at a time in a tidy column. Every one of those techniques left us with a product of primes written out in full — for instance, 2×2×2×3×32 \times 2 \times 2 \times 3 \times 3 for 7272. Today, we learn a cleaner way to write that result using index notation (also called exponent notation), and we will practise moving back and forth between the two forms with ease.

Why a Shorter Notation Helps

Writing out every single prime factor is perfectly correct, but it can get long. For a number like 7272, listing 2×2×2×3×32 \times 2 \times 2 \times 3 \times 3 is manageable. But imagine a number whose factorisation contains six 22s, three s, and two s — writing all eleven factors in a row becomes tedious and hard to read at a glance.

What Index Notation Looks Like

In index notation, each group of repeated prime factors is written as a base raised to an exponent (also called an index or power). The base is the prime itself, and the exponent tells us how many times that prime is multiplied by itself.

2×2×23 copies of 2×3×32 copies of 3=23×32\underbrace{2 \times 2 \times 2}_{\text{3 copies of 2}} \times \underbrace{3 \times 3}_{\text{2 copies of 3}} = 2^3 \times 3^2
Converting from Expanded Form to Index Form

Turning an expanded factorisation into index notation takes just two steps. Let's walk through them with 360360.

From our earlier work with repeated division, 360360 factorises as:

360=2×2×2×3×3×5360 = 2 \times 2 \times 2 \times 3 \times 3 \times 5
Converting More Factorisations

Let's practise the conversion with a few more numbers so the process becomes automatic.

Example 1: 4848

Using repeated division or a factor tree, we find 48=2×2×2×2×348 = 2 \times 2 \times 2 \times 2 \times 3. There are four 2s and one , so:

Reading Index Form Back to a Number

Converting in the other direction is equally important. Given an expression like 24×3×722^4 \times 3 \times 7^2, we need to expand each power and then multiply everything together to recover the original number.

Let's work this one out step by step.

  1. 24=2×2×2×2=162^4 = 2 \times 2 \times 2 \times 2 = 16
Common Pitfalls

A few small mistakes come up often when learners first work with index notation. Keeping them in mind will save you time and frustration.

Three-panel illustration of common index notation mistakes with correct and incorrect examples side by side
  • Swapping the base and the exponent. In 232^3, the base (22) is what gets multiplied, and the exponent (33) tells how many times. Writing 323^2 instead of gives a completely different value ( versus ).
Conclusion and Next Steps

In this lesson, we completed our prime factorisation journey by learning index notation, a compact way to express repeated prime factors using a base and an exponent. We practised converting expanded factorisations into index form by counting identical primes and writing each group as a power, and we worked in reverse — expanding index-form expressions back into products to recover the original number. Combined with factor trees and repeated division from our earlier lessons, you now have a complete toolkit for breaking any composite number into primes and presenting the result clearly.

Time to put it all into practice! The exercises ahead will have you matching expanded and index forms, filling in missing bases and exponents, writing full factorisations in index notation from scratch, and computing products from index expressions. This is a great way to cement everything and finish the course on a strong note — let's go!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal