Number theory path · N06
Before this lesson: Unique prime factorisation, Basic counting principles
Your goal: Translate divisor questions into independent choices of prime exponents.
Start with the idea and one example. Take a break before the written task if you need it. The questions are original teaching exercises, not official past-paper questions.
Names you may know: divisor-counting function; sum-of-divisors function.
Number and Sum of Divisors: the key idea
If , each positive divisor independently chooses the exponent of pᵢ from 0 to eᵢ. Thus . Summing the same choices gives . Divisors pair as d and n/d, giving product ; when n is a square its central divisor pairs with itself. An integer is perfect when the sum of its positive proper divisors equals itself, equivalently σ(n)=2n. These formulas work for n=1 with the empty-product convention τ(1)=σ(1)=1.
A worked example
Find the number and sum of positive divisors of 12.
12=2²·3. The number is (2+1)(1+1)=6. The sum is (1+2+4)(1+3)=7·4=28. The divisors 1,2,3,4,6,12 confirm both results.
Your turn: change one thing
How many positive divisors does 360 have?
Try this on paper before opening the explanation.
Compare your reasoning
360=2³3²5, so τ(360)=4·3·2=24.
Pause and check
A trap to avoid: Omitting the exponent-zero choice or double-counting the square-root divisor.
Practise and adjust the level
Foundation checks the language; Core applies the method; Stretch asks you to choose or justify an idea. These are levels within this lesson. A session selects six of the nine questions; unused questions allow the level to change. Advanced theory still needs written practice.
Interactive practice loads here. You can also use the complete question set below.
Write a complete argument
Prove an integer has an odd number of positive divisors exactly when it is a square.
Planning hint
List the assumptions and the exact conclusion. Identify the definition or theorem in this lesson that connects them. Explain why its conditions hold before using it.
Read the full solution after your attempt
The formula is odd exactly when every factor eᵢ+1 is odd, or equivalently every exponent eᵢ is even. Unique prime factorisation identifies this condition with n being a square. The case n=1 also satisfies both properties.
My proof notebook
Write on paper, or keep a draft here. Compare your reasoning with the solution only after a real attempt. The checklist is your own review, not an automatic mark.
All nine practice questions
Prefer paper or have JavaScript switched off? The complete question set, hints and solutions are here. Interactive practice uses these same questions in an order chosen from your answers.
1. For with distinct primes, τ(n) equals what?
Foundation
- (a+1)(b+1)
- ab
- a+b
- p+q
Hint
Choose each exponent independently.
Answer and reasoning
(a+1)(b+1). There are a+1 choices for p and b+1 for q.
2. A perfect number satisfies which equation?
Foundation
- σ(n)=n
- n is prime
- σ(n)=2n
- τ(n)=n
Hint
Include n itself in the divisor sum.
Answer and reasoning
σ(n)=2n. Proper divisors sum to n, so all positive divisors sum to 2n.
3. How many positive divisors does 12 have?
Core
- 5
- 12
- 6
- 4
Hint
12=2²3.
Answer and reasoning
6. (2+1)(1+1)=6.
4. What is σ(12)?
Core
- 16
- 24
- 28
- 12
Hint
Multiply geometric sums.
Answer and reasoning
28. (1+2+4)(1+3)=28.
5. An odd divisor count characterises what?
Stretch
- Perfect numbers
- Perfect squares
- Primes
- Even numbers
Hint
Each eᵢ+1 must be odd.
Answer and reasoning
Perfect squares. All prime exponents are even exactly for squares.
6. Why is 6 perfect?
Stretch
- It is prime
- σ(6)=6
- 1+2+3=6
- It has six divisors
Hint
List the proper positive divisors.
Answer and reasoning
1+2+3=6. The proper divisors are 1,2,3 and they sum to 6.
7. What is τ(1)?
Foundation
- 0
- 2
- Undefined
- 1
Hint
List the positive divisors of 1.
Answer and reasoning
1. Only 1 divides 1 positively.
8. How many positive divisors does 72 have?
Core
- 12
- 9
- 10
- 18
Hint
72=2³3².
Answer and reasoning
12. (3+1)(2+1)=12.
9. Why do divisors pair as d and n/d?
Stretch
- They must always be distinct
- Both must be prime
- Their sum is n
- Both are integer divisors and their product is n
Hint
Use the defining divisibility relation.
Answer and reasoning
Both are integer divisors and their product is n. The map d↦n/d is an involution on positive divisors; only can pair with itself.
Choose your next step
Continue to Modular arithmetic and congruences. If this felt difficult, return to a prerequisite above. Every lesson stays open.
Original teaching material · IMOolympiad.com. Send a specific correction through our contact page. Learning progress is optional and stays in this browser.