Factors and their count
Take any whole number — say — and ask a simple question: which numbers divide it exactly, with nothing left over? The answer is its factors, and learning to find them all, without missing one or counting one twice, is the very first skill needed before a Class 8 student can talk about perfect squares and perfect cubes. This topic opens the chapter "A Square and A Cube." Before recognising whether a number is a perfect square or a perfect cube, a student must be comfortable finding a number's prime factorisation — writing it as a product of primes only — because that factorisation is what later gets grouped into pairs (for squares) or triples (for cubes). Along the way there is a neat shortcut: once you know the prime factorisation, you can count how many factors a number has without listing a single one.
Every number's prime factorisation is unique, and adding one to each prime's exponent and multiplying those results together counts its total number of factors without listing any of them.
The core idea
A factor of a number is a whole number that divides exactly, leaving remainder . Every number greater than has at least two factors: and itself.
- A number greater than with exactly two factors is a prime number (e.g. ).
- A number with more than two factors is a composite number (e.g. ).
- The number is neither prime nor composite — it has only one factor.
Prime factorisation writes a composite number as a product of primes only, found by repeated division by the smallest possible prime or by drawing a factor tree:
This form is unique for every number, except for the order in which the primes are written — a fact called the Fundamental Theorem of Arithmetic. Because it is unique, the exponents in the factorisation carry real information: grouping every prime into a pair (even exponent) signals a perfect square, and grouping every prime into a triple (exponent a multiple of ) signals a perfect cube — the very test the rest of the chapter builds on. The exponents also unlock a shortcut for counting factors without listing them: add to each exponent and multiply the results. This works because choosing a factor of is the same as choosing, independently, how many copies of each prime to include. Two habits make this reliable in an exam. First, always divide by the smallest prime that fits before moving to the next one — jumping straight to a large prime often skips a smaller factor still hiding inside the quotient. Second, write the final factorisation with exponents rather than as a long string of repeated primes; it is the exponent form that plugs directly into the counting formula and into the square/cube tests later in the chapter.
Show that if a number is written in prime-factorised form as , then the total number of whole-number factors of , including and itself, equals the product , without ever having to list the factors individually.
Step 1. Every factor of must be built only from the primes that appear in 's factorisation, because any other prime dividing a factor would have to divide too, and has no such prime. So a general factor has the form .
Step 2. For the factor to actually divide , each exponent cannot exceed the exponent present in — you cannot pull out more copies of a prime than itself contains. So can be any whole number from up to .
Step 3. Count the choices for a single prime : the exponent can be , which is possible values (remember to count itself as a choice — it means "leave this prime out entirely").
Step 4. Since the choice of exponent for each prime is made independently of the choices for the other primes, and each distinct combination of exponents gives a distinct factor, the total number of factors is the product of the individual counts: .
where: are the distinct prime factors of , and are their respective exponents in the prime factorisation.
Worked example
Find the prime factorisation of , count its total number of factors, and check whether it is a perfect square.
Step 1. Divide repeatedly by the smallest prime that fits:
Step 2. Collect the primes used: .
Step 3. Apply the counting formula from the derivation above, adding to each exponent and multiplying:
Step 4. Check the perfect-square condition — every exponent must be even. Here and are fine, but has an odd exponent, so is not a perfect square, even though it has a large, even total count of factors. has prime factorisation , exactly 18 factors, and is not a perfect square (listing them confirms it: ).
Competitive stretch
For , the same formula gives factors — but since neither nor nor are all even, is neither a perfect square nor a perfect cube, despite having more factors than .
Common traps
- Confusing "factors" with "multiples." Factors of are numbers that divide (); multiples of are numbers divides into () — opposite directions entirely.
- Forgetting the in the counting formula. The number of factors is , not , because the exponent (leaving that prime out) is itself a valid choice.
- Mixing up "factor count is even" with "is a perfect square." A large even total, like 's factors, says nothing about whether each individual exponent is even — that is a separate check, done exponent by exponent.
- Stopping the factor tree too early, leaving a composite number like at the end of a branch instead of continuing to split it into primes (), which would silently undercount the factors.
Ask the tutor: if you are stuck building a factor tree or want more practice counting factors for a tricky number, ask the AI tutor to walk through it with you step by step.
Why does adding 1 to each exponent give the factor count instead of just multiplying the exponents
Each prime's exponent in a factor can range from up to the exponent in itself — that is separate choices, not , because is a valid choice too (it means that prime is left out of the factor). Multiplying the exponents directly would silently drop the "leave it out" option for every prime, undercounting every time.
Does a bigger number always have more factors than a smaller one
No. Factor count depends on the pattern of the prime factorisation, not the size of the number. A number like has only factors (since ), while a smaller number like has factors, because it spreads its prime power across more distinct primes, giving more ways to combine them.
If a number has an odd number of factors, does that mean anything special
Yes — a number has an odd total number of factors exactly when it is a perfect square. This happens because is odd only when every single factor is odd, which means every is even, which is precisely the perfect-square condition. It is a quick sanity check, though the full test still needs each exponent examined individually.