Introduction

Welcome back to Foundations of Factors and Multiples! This is the second lesson out of four in the course, so we are well on our way. In the previous course, you learned how to check whether one number is a factor of another by dividing and looking for a remainder of zero. You also saw that every factor relationship can be written in both division and multiplication form. Now we are going to build on that foundation. In this lesson, you will learn how to systematically find every factor of a whole number by working through its factor pairs, and you will discover a reliable way to know exactly when your search is complete.

Factors Come in Pairs

Recall that whenever we confirm a factor relationship, we can express it in multiplication form. For instance, because 36÷4=936 \div 4 = 9 with no remainder, we can write 4×9=364 \times 9 = 36. Notice that this single check actually reveals two factors of 3636 at once: both and .

What Is a Factor Pair?

A factor pair of a whole number is two whole numbers that multiply together to give that number. For example, the factor pairs of 1212 are:

PairMultiplication check
(1,  12)(1,\; 12)1×12=121 \times 12 = 12
Finding Factor Pairs Systematically

The key to finding every factor pair is to start at 11 and work upward, testing each whole number in order. Here is the process applied to 3636:

  1. Start with 11. 36÷1=3636 \div 1 = 36, so the first pair is (1.
Knowing When to Stop

As we work upward through possible factors, the smaller number in each pair gets larger and the bigger number gets smaller. Eventually the two numbers in a pair will meet (be equal) or the smaller one will exceed the larger one. At that point, every pair has already been found.

Let's see this clearly with the pairs of 3636 laid out side by side:

Smaller factorLarger factor
113636
221818
From Factor Pairs to a Complete Factor List

Once all factor pairs are recorded, building the complete, ordered factor list is straightforward. Gather every number that appears in any pair, remove duplicates, and arrange them from smallest to largest.

For 3636, our pairs were (1,36)(1, 36), (2,18)(2, 18), (3,12)(3, 12), , and . Pulling out every individual factor and sorting gives:

Worked Example: Factors of 48

Let's walk through one more example from start to finish with the number 4848.

  1. 48÷1=4848 \div 1 = 48 → pair (1,  48)(1,\; 48)
  2. 48÷2=2448 \div 2 = 24 → pair
Conclusion and Next Steps

In this lesson, you learned that factors naturally come in pairs that multiply to give the target number. By starting at 11 and working upward, you can collect every pair without missing any. The search is finished as soon as the two numbers in a pair meet or cross over, because any further testing would only duplicate pairs you already have. From those pairs, building a complete, ordered factor list is simply a matter of gathering, deduplicating, and sorting.

Now it is time to put this method into practice! In the upcoming exercises, you will complete factor-pair tables, count pairs for different numbers, apply the technique to a real-world budgeting scenario, and explain in your own words how you know the search is done. Dive in and see how quickly the systematic approach becomes second nature!

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