PYQ Vault

AFCAT Numerical Ability · Number System

Prime Factorisation, and Counting Divisors from It

Write a number as a product of powers of primes, then read off its distinct primes, its number of divisors, its odd and even divisors and the sum of its divisors.

Why this matters

This is the largest page of the chapter, and half of it asks for a factorisation in powers of primes. The options differ by a single exponent, so multiply your answer back before you choose. The rest reads facts off the factorisation, above all how many divisors a number has.

Concept 1 of 4: Writing a prime factorisation

Divide by the smallest prime that goes in, again and again: 2 until the number is odd, then 3, then 5, then 7. When what is left is 1, the primes you divided by are the factorisation. Splitting into known pieces first (a power of 10, a square) is often faster.

Definition

  • Every whole number above 1 has exactly one prime factorisation, written as powers: 2a×3b×5c×⋯2^a \times 3^b \times 5^c \times \cdots
  • Use the divisibility rules from the last page to see which prime divides next.
  • Known pieces help: 100=22×52100 = 2^2 \times 5^2, 1000=23×531000 = 2^3 \times 5^3, 210=10242^{10} = 1024.
  • Check by multiplying back. The options usually differ by one exponent.

Prime factorisation

N=p1a1×p2a2×⋯×pkak(pi prime)N = p_1^{a_1} \times p_2^{a_2} \times \cdots \times p_k^{a_k} \quad (p_i \text{ prime})

Worked example

Find the prime factorisation of 1,260.
Practice this conceptself-check · 4 quick reps

The same idea in a practice question:

Practice questionHard

Example 1 · Number System · Prime Factorization

Find the prime factorization of 14401440.

Keep going until every factor is prime

22×3×152^2 \times 3 \times 15 is not finished: 15=3×515 = 3 \times 5, so the factorisation is 22×32×52^2 \times 3^2 \times 5.

Add exponents when pieces share a prime

3600=36×1003600 = 36 \times 100 has 222^2 from each piece, so the power of 2 is 242^4, not 222^2.

Concept 2 of 4: Reading a factorisation: distinct primes, repeats and the number itself

Once the number is written as powers of primes, many questions are a glance: the bases are the distinct primes, the exponents count the repeats, and multiplying out gives the number back.

Definition

  • Distinct prime factors: the bases. 23×522^3 \times 5^2 has two, 2 and 5.
  • Prime factors counted with repeats: the sum of the exponents. 23×522^3 \times 5^2 has five: 2, 2, 2, 5, 5.
  • Product of the distinct primes: multiply the bases once each.
  • Exponent form: 2×2×72 \times 2 \times 7 is 22×72^2 \times 7.
  • A product is a prime factorisation only if every base is prime; a 9, 15 or 21 hides more primes.

For N = pᵃ × qᵇ × rᶜ

distinct primes=3,primes with repeats=a+b+c\text{distinct primes} = 3,\qquad \text{primes with repeats} = a + b + c

Worked example

2700=22×33×522700 = 2^2 \times 3^3 \times 5^2. Find its number of distinct prime factors, its prime factors counted with repeats, and the product of its distinct primes.
Practice this conceptself-check · 4 quick reps

The same idea in a practice question:

Practice questionModerate

Example 2 · Number System · Prime Factorization

How many total prime factors (with multiplicity) does 7272 have?

Distinct is not counted with repeats

23×52^3 \times 5 has 2 distinct prime factors but 4 counted with repeats. Read which one the question asks for.

A bare exponent counts once

In 24×3×522^4 \times 3 \times 5^2 the 3 has exponent 1. Leaving it out makes the sum of exponents 6 instead of 7.

Concept 3 of 4: How many divisors a number has

A divisor of 23×522^3 \times 5^2 takes some power of 2 (from 202^0 to 232^3, four choices) and some power of 5 (from 505^0 to 525^2, three choices). Every pair of choices is a different divisor, so there are 4×3=124 \times 3 = 12.

Definition

  • If N=pa×qb×rcN = p^a \times q^b \times r^c, the number of divisors is (a+1)(b+1)(c+1)(a + 1)(b + 1)(c + 1).
  • The count includes 1 and NN itself.
  • A prime has 2 divisors; pap^a has a+1a + 1.
  • Only perfect squares have an odd number of divisors, because only there does one divisor pair with itself.

Number of divisors

N=paqbrc  ⇒  d(N)=(a+1)(b+1)(c+1)N = p^a q^b r^c \;\Rightarrow\; d(N) = (a + 1)(b + 1)(c + 1)

Worked example

How many divisors has 450?
Practice this conceptself-check · 4 quick reps

The same idea in a practice question:

Practice questionModerate

Example 3 · Number System · Prime Factorization

What is the number of factors of 720720?

Add 1 to each exponent first

23×322^3 \times 3^2 has (3+1)(2+1)=12(3 + 1)(2 + 1) = 12 divisors. Multiplying the exponents themselves gives 6, which is wrong.

Factorise fully before counting

Written as 4×254 \times 25, 100 seems to give (1+1)(1+1)=4(1 + 1)(1 + 1) = 4 divisors. Only prime powers work: 22×522^2 \times 5^2 gives 9.

Concept 4 of 4: Odd divisors, even divisors and the sum of the divisors

An odd divisor takes no factor of 2 at all, so count the divisors of the number with its power of 2 removed. Every other divisor is even. The sum of the divisors multiplies out the same choices, adding the powers of each prime instead of counting them.

Definition

  • For N=2a×qb×rcN = 2^a \times q^b \times r^c with q,rq, r odd primes: odd divisors (b+1)(c+1)(b + 1)(c + 1).
  • Even divisors = all divisors minus odd ones = a(b+1)(c+1)a(b + 1)(c + 1).
  • Sum of divisors: (1+p+⋯+pa)(1+q+⋯+qb)⋯(1 + p + \cdots + p^a)(1 + q + \cdots + q^b)\cdots
  • An odd number has no even divisors at all.

Odd and even divisors of 2ᵃ × qᵇ × rᶜ

odd=(b+1)(c+1),even=a(b+1)(c+1)\text{odd} = (b + 1)(c + 1),\qquad \text{even} = a(b + 1)(c + 1)

Worked example

How many odd and how many even divisors has 1,200?
Practice this conceptself-check · 3 quick reps

The same idea in a practice question:

Practice questionHard

Example 4 · Number System · Prime Factorization

How many even divisors does 360360 have?

Even divisors are not half the total

23×3=242^3 \times 3 = 24 has 8 divisors: 2 odd (1 and 3) and 6 even. Split the count with the formula, never in half.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

Watch out for (7)

Drill the questions on this topic

31 questions from the bank, with cart and Word export.