Free lesson

Every lesson is free, no account needed. Make a free account to save your progress.

Live classGet practice + mocks
  1. Home
  2. Lesson Library
  3. Number of divisors
UPCAT Math Review · Number sense

Number of Divisors

Count them without listing them — the exponents already know the answer.

For 360

How many divisors does it have?

For small numbers, list them in pairs.

Every divisor has a partner: the number you multiply it by to reach the total.

PairProduct
1 × 3636
2 × 1836
3 × 1236
4 × 936
6 × 6the middle pair — one number

36 has 9 divisors: 1, 2, 3, 4, 6, 9, 12, 18, 36

Walk upward from 1 and stop at the square root. Everything above √36 = 6 is already written down as somebody's partner, so there is nothing left to find.

For 360, listing is a waste of a minute.

Factor it, add one to every exponent, multiply.

360 = 2³ · 3² · 5¹

the prime factorisation

(3 + 1)(2 + 1)(1 + 1)

each exponent, plus one

4 × 3 × 2 = 24

divisors, counted

The lonely exponent still counts

The 5 has an invisible exponent of 1, so it contributes a factor of 2, not nothing. Forgetting it halves your answer — and 12 will be one of the choices.

Why adding one works.

Building a divisor is choosing how many of each prime to take — and zero is allowed.

2s to take

4

×

3s to take

3

×

5s to take

2

PrimeChoices of exponentHow many
20, 1, 2, 34
30, 1, 23
50, 12

Taking none of everything gives the divisor 1; taking all of everything gives 360. It is the counting principle, applied to exponents.

An odd count means a perfect square.

36 = 2² · 3² 3 × 3 = 9 odd — and 36 = 6²
360 = 2³ · 3² · 5 4 × 3 × 2 = 24 even — not a square
100 = 2² · 5² 3 × 3 = 9 odd — and 100 = 10²

The pairing explains it

Divisors pair up, which would always give an even total — unless one divisor is its own partner. That happens only at √n, and only when √n is a whole number. So odd divisor count and perfect square mean the same thing.

Their sum, also without listing.

Add up the powers of each prime separately, then multiply the totals.

(1 + 2 + 4 + 8)

powers of 2, up to 2³ → 15

(1 + 3 + 9)

powers of 3 → 13

(1 + 5)

powers of 5 → 6

15 × 13 × 6 = 1170

the sum of all 24

24 divisors, adding to 1170

Multiplying those three brackets out produces every divisor exactly once — one term per combination of exponents. That is the same reason the count multiplied.

Counting only some of the divisors.

Odd, even, multiples of k, perfect squares — each is the same exponent count with the choices restricted.

CountRestrictionFor 200 = 2³ · 5²
all divisorsnone(3 + 1)(2 + 1) = 12
odd divisorstake no 2s at alldivisors of 5²: 1 × 3 = 3
even divisorsall minus odd12 − 3 = 9
multiples of 1010 × a divisor of 200 ÷ 10 = 2020 = 2² · 5: 3 × 2 = 6

How many divisors of 2160 = 2⁴ · 3³ · 5 are perfect squares?

a square divisor uses even exponents only

0 counts as even

2: 0, 2, 4 → 3 · 3: 0, 2 → 2 · 5: 0 → 1

the allowed choices

3 × 2 × 1 = 6

1, 4, 16, 9, 36, 144

Restrict, do not restart

For “odd divisors” the 2 gets exactly one choice (exponent 0), not zero choices. For “multiples of 10”, divide out the 10 first and count the divisors of what is left.

Variations: a power, “other than 1 and itself”, and one prime only.

The number is a power: how many divisors does 12⁵ have?

12⁵ = (2² · 3)⁵ = 2¹⁰ · 3⁵

factor the base, multiply the exponents

(10 + 1)(5 + 1) = 66

then the usual rule

What is different: we never compute 12⁵. Counting the 6 divisors of 12 and multiplying by 5 gives 30, which is wrong — the exponents grow, not the count.

A different “divisor”: 84, counted three ways.

84 = 2² · 3 · 7 → 3 × 2 × 2 = 12

all positive divisors

other than 1 and 84: 12 − 2 = 10

drop the two ends

integer divisors: 2 × 12 = 24

each has a negative twin

What is different: the formula counts positive divisors including 1 and the number. Read which ones the question wants, then adjust.

Only one prime, or none: 1024 and 1.

1024 = 2¹⁰ → 10 + 1 = 11

one bracket: 1, 2, 4, …, 1024

1 has 1 divisor

no primes, so the product is empty

What is different: with a single prime there is nothing to multiply. 11 is odd, and 1024 = 32², as the perfect-square rule says.

Backwards: from the count to the number.

What is the smallest positive integer with exactly 8 divisors?

8 = 8, or 4 × 2, or 2 × 2 × 2

each factor is an exponent + 1

p⁷, or p³q, or pqr

the three possible shapes

2⁷ = 128 · 2³ × 3 = 24 · 2 × 3 × 5 = 30

biggest exponent on the smallest prime

smallest: 24

1, 2, 3, 4, 6, 8, 12, 24 ✓

The same backwards step finds a missing exponent: if 2ᵏ · 5 has 12 divisors, then (k + 1)(1 + 1) = 12, so k + 1 = 6 and k = 5. And exactly 3 divisors always means the square of a prime, p², with divisors 1, p, p².

Check every shape

Trying only p⁷ gives 128, and 3³ × 2 = 54 puts the big exponent on the wrong prime. List each way of splitting the count, build the smallest number for each, and compare.

On the exam

Divisor items ask for the count, the count of a kind (odd, even, square, multiples of k), which number has an odd count, or the smallest number with a given count. Factor first, then add one to each exponent you are allowed to vary — no listing beyond about 50.

Check: test the method on 36.

Small enough to list, so the formula has to agree with the list.

count (2+1)(2+1) = 9 the list had 9 ✓
sum, by formula (1+2+4)(1+3+9) = 7 × 13 = 91
sum, by hand 1+2+3+4+6+9+12+18+36 91 ✓

Remember the flow

Factor into primes · Add 1 to each exponent · Multiply

Odd answer? Then the number is a perfect square.
Now you try

Practice problem

The problem

How many divisors does 720 have?