The idea

Every divisor of is a choice of exponent for each prime. Counting divisors, summing them, restricting to squares, multiples or odd numbers, and even multiplying them all - each is a product of independent per-prime choices. Euler's counts the integers that share no prime with .
Textbook vs exam method
Textbook method
Factorise. ; . Conditions translate to restricted exponent ranges: multiples of (exponents at least those of ), perfect squares (even exponents), odd (exponent of equal to ). Pair divisors for products and factor-pair counts. .
Exam method
- Indore 2024 Q1. ; multiples of divisors of : .Indore 2024
- Indore 2021 Q1. has divisors; multiples of divisors of : ; answer .Indore 2021
- Indore 2025. : square factors .Indore 2025
- Indore 2023 Q40 / 2020 Q11. two primes with equal exponents ; both exponents must be : .
- JIPMAT 2023 Q10. , proper sum .JIPMAT 2023
- JIPMAT 2023 Q12. , proper divisors .JIPMAT 2023
Worked examples
Divisors of
; odd ones: ; even: .
Factors of that are perfect cubes
.
Sum of even divisors of
.
Product of all divisors of is
, gives , , .
Integers from to co-prime to
(not ).
Traps
- forgotten; proper vs all divisors; floor-plus-one for squares; ; ordered vs unordered pairs.
Formulas
In the exam
- Write as prime powers once; every question in this block is then a product of small brackets.
- 'Multiples of among the factors of ' factors of ; 'divisible by but not ' .
- Probability that a random divisor is a multiple of in : (Indore 2023 Q40: ; 2020 Q11: ).
- Smallest number with divisors: factor into (exponent ) parts, give the biggest exponents to , then , then , and compare.
- Product of all divisors : read off the exponents when is asked from its divisor product.
Before this
What the exams ask here
- number of (proper) divisors of 7200 (JIPMAT 2023 Q12)
- factors of 1800 that are multiples of 6 (Indore 2024 Q1); divisors not divisible by 45 (Indore 2021 Q1)
- perfect-square factors of 3^5 5^8 7^2 (Indore 2025); probability a random factor is a perfect square / a multiple of 10^k (Indore 2020 Q11, 2022 Q38, 2023 Q40)
- sum of (even/odd) divisors; amicable pair of 220 (JIPMAT 2023 Q10)
- product of divisors = N^{d/2}; ways to write N as a product of two factors
- smallest number with exactly k factors; N has 15 factors -> N^2 has ?
- count / sum of integers below N co-prime to N (Euler phi)