Introduction

Welcome to Breaking Numbers Into Primes, the third course in our learning path! In the first two courses, we built a strong foundation with factors, multiples, prime and composite numbers, and handy divisibility shortcuts. Now it is time to put all of that knowledge to work in a powerful new way.

In this first lesson, we will explore what it means to break a number into its prime factors. We will see why every whole number greater than 1 can be written as a product of primes, learn how to verify that a factorisation is correct, and practise decomposing small numbers by inspection. Let's get started!

Primes: The Atoms of Numbers
What Prime Factorisation Means
The Uniqueness Guarantee
Verifying a Prime Factorisation
Decomposing Small Numbers by Inspection
Conclusion and Next Steps

Let's recap the key ideas from this lesson. Prime factorisation means expressing a number as a product where every factor is prime. The Fundamental Theorem of Arithmetic guarantees that every number greater than 1 is either prime or has a unique prime factorisation — no matter how you break a number apart, you always arrive at the same set of prime factors. To verify any claimed factorisation, simply check that every factor is prime and that the product equals the original number.

Up next, you will put these ideas into action with a set of hands-on practice tasks. You will verify given factorisations, compute products of primes, decompose small composites on your own, and explore firsthand why different splitting paths always lead to the same prime factors.

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