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=9 with no remainder, we can write 4×9=36. Notice that this single check actually reveals two factors of 36 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 12 are:
Pair
Multiplication check
(1,12)
1×12=12
Finding Factor Pairs Systematically
The key to finding every factor pair is to start at 1 and work upward, testing each whole number in order. Here is the process applied to 36:
Start with 1.36÷1=36, so the first pair is .
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 36 laid out side by side:
Smaller factor
Larger factor
1
36
2
18
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 36, our pairs were (1,36), (2,18), (3,, , 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 48.
48÷1=48 → pair (1,48)
→ 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 1 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!
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal
4
9
This is a powerful observation. Every time we find one factor, its multiplication partner comes along for free. Instead of testing numbers one at a time and keeping a messy tally, we can hunt for factors in pairs, which cuts our work roughly in half. That idea is the engine behind this entire lesson.
(2,6)
2×6=12
(3,4)
3×4=12
Each pair accounts for two factors at once. From just three pairs we can read off every factor of 12: 1,2,3,4,6,12. Collecting factor pairs first and then listing all the individual factors from those pairs is the most reliable way to make sure none slip through the cracks.
(1,36)
Move to 2.36÷2=18, remainder 0. Record (2,18).
Try 3.36÷3=12, remainder 0. Record (3,12).
Try 4.36÷4=9, remainder 0. Record (4,9).
Try 5.36÷5=7 remainder 1. Since the remainder is not 0, skip 5.
Try 6.36÷6=6, remainder 0. Record (6,6).
At step 6 both numbers in the pair are the same. This is our signal to stop — and the next section explains exactly why.
3
12
4
9
6
6
The gap between the two columns keeps shrinking. Once we reach (6,6), any number larger than 6 that we might test — say 9 — would just give us a partner smaller than 6 (namely 4), and we already recorded that pair as (4,9). Continuing past the meeting point would only repeat pairs we have already found.
The rule: keep testing from 1 upward and stop as soon as the number you are testing equals or exceeds the result of the division. When that happens, your collection is complete.
12
)
(4,9)
(6,6)
1,2,3,4,6,9,12,18,36
Notice that 6 appears twice in the pair (6,6) but is written only once in the final list. This complete list tells us at a glance every whole number that divides 36 exactly.
48÷2=24
(2,24)
48÷3=16 → pair (3,16)
48÷4=12 → pair (4,12)
48÷5=9 remainder 3 → skip
48÷6=8 → pair (6,8)
48÷7=6 remainder 6 → skip
At step 7, even if 7 had been a factor, its partner would be less than 7 (since 48÷7≈6.9), meaning we would only be repeating earlier work. The next candidate, 8, already appeared as the larger member of the pair (6,8). So we stop after step 6.
Reading off and sorting every factor from those five pairs gives the complete factor list:
1,2,3,4,6,8,12,16,24,48
That is ten factors in total, neatly captured by just five factor pairs.