what is the least 5 digit positive number that has exactly 9 positive divisors?
please help!!!!!!!:D
I wrote a computer program
for (n = 10000, n <= 99999, n = n + 1)
a = 0
for (i = 1, i <= n, i = i + 1) (if n % i == 0) (a = a + 1)
if (a == 9) (write(n);)
)
The frist few outputs are 14161, 16641, 20164, ..., so the answer is 14161.