Qm

The smallest number with exactly twelve divisors

The number 12 has six divisors: 1, 2, 3, 4, 6, 12.

What is the smallest positive whole number with exactly twelve divisors? Explain how the number of divisors can be read off the prime factorisation, and use that to search efficiently.

Show a hint

If a number is 2 to the a times 3 to the b times 5 to the c ..., then its number of divisors is (a + 1)(b + 1)(c + 1)... Find the ways to write 12 as such a product and try the smallest primes.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Writing 100 as a sum of consecutive numbersThe smallest number divisible by everything up to 20A number that is both a square and a cubeHow many zeros end 25 factorial in base twelve?The 100 lockers problem
All questions →