Problem J44
Junior · Number theoryShort answerSolvedWhat is the smallest whole number that has exactly 5 factors (including 1 and itself)?
Hint
Most numbers have an even number of factors, because factors come in pairs. When does a number have an odd number?
Second hint
Factors pair up as d and n/d, except when d = n/d. So the number is a perfect square. Check the squares in order.
Full worked solution
Answer: 16
- Factors come in pairs d and n/d. The count is odd only when one factor is paired with itself, i.e. n is a perfect square.
- Check squares: 4 has 3 factors (1, 2, 4); 9 has 3; 16 has 1, 2, 4, 8, 16: five factors.
- So the smallest is 16.
- In general a number with exactly 5 factors is p4 for a prime p (since 5 is prime, the formula (a + 1)(b + 1)… = 5 forces one prime to the 4th power); the smallest is 24.
Why this works: Pairing each factor with its partner explains why non-squares have an even number of factors, and narrows the search to squares.
Where it leads: A number with exactly 3 factors is the square of a prime. Which numbers have exactly 4 factors? (p3 or pq.)
Strategy: Proof techniques, Extremal principle