Refactorable Number Calculator
Check whether the number of divisors of n divides n itself, with the divisor count shown.
What it does
A refactorable number is an integer n that is divisible by the number of its own divisors. The name tau number is also used, after the conventional symbol for the divisor count. The sequence begins 1, 2, 8, 9, 12 and 18.
For 12 the divisors are 1, 2, 3, 4, 6 and 12, so there are six of them, and six divides twelve. For 10 there are four divisors and four does not divide ten, so it fails.
The property was studied by Cooper and Kennedy, who named these numbers and explored their distribution. Refactorable numbers are relatively uncommon among the integers.
This page computes the divisor count from the prime factorization and tests divisibility. When the test succeeds the quotient is printed beside the verdict.
The input limit is one million, which keeps factorization immediate. All results are exact integers.
How to use
- Enter a whole number n from 1 to 1,000,000.
- Read the classification in the main result box.
- Check the divisor count beside it.
- If the test passes, read the quotient n divided by that count.
- The default n = 12 reproduces the worked example.
- Try n = 10 to see a number that fails.
Formula
- n
- The integer being tested.
- d(n)
- The number of positive divisors of n.
- n / d(n)
- The quotient, shown when the division is exact.
For a prime factorization with exponents a_i, the divisor count is the product of a_i plus one. The number one has one divisor and is refactorable by convention. No integer is refactorable if its divisor count exceeds it.
Worked example
Example: n = 12
The page opens with n = 12.
- Factor 12 as 2^2 x 3.
- The divisor count is (2 + 1)(1 + 1) = 6.
- Divide 12 by 6 to get 2 with no remainder.
- The tool reports divisor count 6, quotient 2, and Refactorable.
- For 10 the divisor count is 4 and 10 is not divisible by 4, so it fails.
- For 9 the divisor count is 3 and 9 divided by 3 is 3.
Reference table
| n | Divisors | Quotient | Refactorable |
|---|---|---|---|
| 1 | 1 | 1 | Yes |
| 2 | 2 | 1 | Yes |
| 9 | 3 | 3 | Yes |
| 10 | 4 | n/a | No |
| 12 | 6 | 2 | Yes |
| 18 | 6 | 3 | Yes |
Limits
- Inputs above 1,000,000 are rejected to keep factorization quick.
- Only positive integers are accepted.
- The tool classifies one number at a time.
- The quotient is shown only when the division is exact.
Common mistakes
- Counting prime factors instead of all divisors.
- Testing whether n divides the divisor count, the reverse condition.
- Forgetting that one is refactorable.
- Rounding the quotient instead of testing divisibility.
- Confusing this with arithmetic numbers.
Try it yourself
Quick checks. Answers sit tucked under each question.
Is 12 refactorable?
Yes. It has 6 divisors and 12 divided by 6 is 2.
Is 10 refactorable?
No. It has 4 divisors and 10 is not divisible by 4.
Is 9 refactorable?
Yes. It has 3 divisors and 9 divided by 3 is 3.
Questions
What is another name?
Tau number.
Who studied them?
The name and early study are due to Cooper and Kennedy.
Is one refactorable?
Yes, since it has one divisor.
How is the divisor count found?
From the exponents in the prime factorization.
Are results exact?
Yes, integer arithmetic is used.
What input range is accepted?
Whole numbers from 1 through 1,000,000.