Factor Pairs and Lists

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 44 and 99.

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.

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
(2,  6)(2,\; 6)2×6=122 \times 6 = 12
(3,  4)(3,\; 4)3×4=123 \times 4 = 12
Diagram showing the three factor pairs of 12 as arching arrows connecting each pair of numbers to the central value 12

Each pair accounts for two factors at once. From just three pairs we can read off every factor of 1212: 1,2,3,4,6,121, 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.

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,  36)(1,\; 36).
  2. Move to 22. 36÷2=1836 \div 2 = 18, remainder 00. Record (2,  18)(2,\; 18).
  3. Try 33. 36÷3=1236 \div 3 = 12, remainder 00. Record (3,  12)(3,\; 12).
  4. Try 44. 36÷4=936 \div 4 = 9, remainder 00. Record (4,  9)(4,\; 9).
  5. Try 55. 36÷5=736 \div 5 = 7 remainder 11. Since the remainder is not 00, skip 55.
  6. Try 66. 36÷6=636 \div 6 = 6, remainder 00. Record (6,  6)(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.

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
331212
4499
6666
Convergence diagram showing the smaller factor of 36 increasing and the larger factor decreasing row by row until both equal 6, at which point the search stops

The gap between the two columns keeps shrinking. Once we reach (6,  6)(6,\; 6), any number larger than 66 that we might test — say 99 — would just give us a partner smaller than 66 (namely 44), and we already recorded that pair as (4,  9)(4,\; 9). Continuing past the meeting point would only repeat pairs we have already found.

The rule: keep testing from 11 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.

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), (4,9)(4, 9), and (6,6)(6, 6). Pulling out every individual factor and sorting gives:

1,  2,  3,  4,  6,  9,  12,  18,  361,\; 2,\; 3,\; 4,\; 6,\; 9,\; 12,\; 18,\; 36

Notice that 66 appears twice in the pair (6,6)(6, 6) but is written only once in the final list. This complete list tells us at a glance every whole number that divides 3636 exactly.

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 (2,  24)(2,\; 24)
  3. 48÷3=1648 \div 3 = 16 → pair (3,  16)(3,\; 16)
  4. 48÷4=1248 \div 4 = 12 → pair (4,  12)(4,\; 12)
  5. 48÷5=948 \div 5 = 9 remainder 33 → skip
  6. 48÷6=848 \div 6 = 8 → pair (6,  8)(6,\; 8)
  7. 48÷7=648 \div 7 = 6 remainder 66 → skip
Step-by-step table showing the systematic search for factor pairs of 48, with each candidate tested, skipped steps highlighted, and the final sorted factor list displayed at the bottom

At step 7, even if 77 had been a factor, its partner would be less than 77 (since 48÷7≈6.948 \div 7 \approx 6.9), meaning we would only be repeating earlier work. The next candidate, 88, already appeared as the larger member of the pair (6,  8)(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,  481,\; 2,\; 3,\; 4,\; 6,\; 8,\; 12,\; 16,\; 24,\; 48

That is ten factors in total, neatly captured by just five factor pairs.

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