Highly Composite Number Calculator
Test
- A highly composite number has a divisor count strictly greater than every smaller positive integer; Ramanujan studied them in 1915 because they are built to be divisible by as many small numbers as possible.
- The divisor count of 12 is d(12) = 6, from its divisors 1, 2, 3, 4, 6, 12.
- Scanning every m below 12, the best divisor count before it is 4, first reached at m = 6.
- Since 6 > 4, 12 is highly composite; highly composite numbers show up wherever easy division matters, from 60 minutes in an hour to 360 degrees in a circle.
This highly composite number calculator tells you whether a given positive integer is a highly composite number — that is, a number with strictly more divisors than every smaller positive integer. You enter a number, and the calculator counts its divisors, compares that count with the divisor counts of all smaller positive integers, and reports the answer: either the number sets a new divisor record and is therefore highly composite, or some smaller number matches or beats it, in which case it is not. The idea is easy to see in practice. 12 has 6 divisors, beating the previous record of 4 (first reached at 6), so 12 is highly composite. 24 has 8 divisors, a new record after 12's 6. But 18 has 6 divisors — only a tie with 12 — so 18 is not highly composite.
The method behind the calculator is the definition itself: a number qualifies only if its divisor count is strictly greater than that of every smaller positive integer. Because that record-by-record comparison is exactly what the term means, it is the accepted standard for this kind of calculation, and no shortcut or approximation is involved. The concept is not new — Ramanujan introduced it in 1915, and famous members include 60 and 360. On this page you will find the formula the calculator uses, step-by-step workings for each check, worked examples such as 12, 24 and 18, and the sources behind the method, so you can follow every result rather than take it on trust.
Worked examples
12 sets the record at 6
(12)
| Highly composite verdict for n | Highly composite |
| Divisor count d(n) | 6 |
| Previous record | 4 (at m = 6) |
| Divisors of n | 1, 2, 3, 4, 6, 12 |
24 sets the record at 8
(24)
| Highly composite verdict for n | Highly composite |
| Divisor count d(n) | 8 |
| Previous record | 6 (at m = 12) |
| Divisors of n | 1, 2, 3, 4, 6, 8, 12, 24 |
18 only ties the record
(18)
| Highly composite verdict for n | Not highly composite |
| Divisor count d(n) | 6 |
| Previous record | 6 (at m = 12) |
| Divisors of n | 1, 2, 3, 6, 9, 18 |
What makes a number highly composite?
A highly composite number is defined by a single, strict rule: it has strictly more divisors than every smaller positive integer. The word to watch is "strictly." It is not enough to have many divisors, or even an impressive number of them. The count has to set a new record, beating the divisor count of every integer below it. Each time a number does that, it joins a short and rather exclusive list. That record-breaking requirement is exactly what a highly composite number calculator checks for you, but the idea itself is simple enough to follow by hand.
Small numbers show how the rule works. The number 6 has 4 divisors, which was the record before 12 came along. Then 12 arrives with 6 divisors, beating that record of 4, so 12 is highly composite. Next, 24 has 8 divisors, a new record after 12's 6, so 24 qualifies too. Now compare 18. It has 6 divisors, but that is only a tie with 12, not an improvement on it. Because 18 fails to beat the record set by a smaller number, 18 is not highly composite. This contrast is the heart of the concept: a tie is not enough, and the divisor count must climb to a height no smaller integer has reached.
The concept was introduced by the Indian mathematician Srinivasa Ramanujan in 1915. Ramanujan was fascinated by the divisors of numbers and by the patterns they form, and highly composite numbers gave him a rich structure to study. His 1915 work established the idea formally and explored which numbers qualify and why. That origin is worth remembering, because the definition is easy to state but the numbers that satisfy it become sparse surprisingly quickly as you count upward.
Famous members of the family turn up in everyday life more often than you might expect. The number 60 is highly composite, and so is 360. Sixty is the basis of our division of hours and minutes, and 360 is the familiar count of degrees in a full circle. These choices were not accidents: a number with many divisors can be split into equal parts in many different ways, which makes it convenient for measuring time, angles, and much else. A number with few divisors offers far fewer clean divisions.
So when you ask what makes a number highly composite, the answer comes down to records rather than raw size. Bigger numbers usually have more divisors, but only the ones that set a new high mark count. If you want to test a number yourself, the procedure is straightforward: count its divisors, then confirm that no smaller positive integer has as many. If the count is strictly greater than every earlier count, the number is highly composite. If it merely matches an earlier record, it is not.
- 12 has 6 divisors, beating the previous record of 4, so 12 is highly composite.
- 24 has 8 divisors, a new record after 12's 6.
- 18 has 6 divisors, only a tie with 12, so 18 is not highly composite.
- Ramanujan introduced the concept in 1915.
- 60 and 360 are famous members.
How the check works
The check behind a highly composite number calculator rests on one definition: a highly composite number has strictly more divisors than every smaller positive integer. That means you cannot decide whether a number qualifies by looking at it alone. You have to count its divisors, then compare that count against the divisor count of every smaller positive integer and confirm that none of them matches or exceeds it. The number must set a new record, not merely tie one.
Walking through small numbers makes the rule concrete. The first record of 4 divisors is reached at 6. Now take 12: it has 6 divisors, which beats that previous record of 4, so 12 is highly composite. Next, 24 has 8 divisors, a new record after 12's 6, so 24 qualifies too. The instructive case is 18. It has 6 divisors, which is only a tie with 12, so 18 is not highly composite. A tie is not enough; the definition demands strictly more divisors than every smaller integer, and 18 fails that test because 12 came earlier with the same count.
This is why the procedure has to scan downward as well as count. For a candidate n, the check counts the divisors of n, then scans every smaller m, comparing divisor counts. If any smaller m has a divisor count equal to or greater than n's, the candidate is rejected. Only when n's count is strictly larger than the count of every smaller positive integer does it pass. The scan is what separates a genuine record-setter like 24 from a near-miss like 18, which looks impressive in isolation but is matched by a smaller number.
The concept itself is not new. Ramanujan introduced it in 1915, and 60 and 360 are famous members of the sequence. Those larger examples show how the record-setting pattern continues: each qualifying number must out-divide everything beneath it, which becomes rarer as the numbers grow. A highly composite number calculator applies exactly this count-and-scan logic, so the output reflects the definition rather than a guess about which numbers look divisible.
- 12: 6 divisors, beating the previous record of 4 (first reached at 6) — highly composite.
- 24: 8 divisors, a new record after 12's 6 — highly composite.
- 18: 6 divisors, only a tie with 12 — not highly composite.
| Number | Divisor count | Verdict |
|---|---|---|
| 6 | 4 (first record) | Record holder at this point |
| 12 | 6 | Highly composite — beats the record of 4 |
| 18 | 6 | Not highly composite — only ties 12 |
| 24 | 8 | Highly composite — new record after 12's 6 |
Highly composite vs abundant vs superabundant
Three ideas in number theory sit close together and are easy to mix up: highly composite numbers, abundant numbers, and superabundant numbers. A highly composite number has strictly more divisors than every smaller positive integer. That is a statement about the count of divisors, not their sum. An abundant number is defined the opposite way: its divisors, added together (excluding the number itself), exceed the number. A superabundant number is about a ratio — it has a larger divisor sum relative to its own size than any smaller number does. So a highly composite number is a record holder for divisor count, while an abundant or superabundant number is a record holder or standout for divisor sum. Keeping those two measures apart is the whole trick, and it is exactly where a highly composite number calculator earns its keep: it reports divisor counts, not divisor sums.
The divisor-count record is strict, and ties do not count. Take 12. It has 6 divisors — 1, 2, 3, 4, 6 and 12 — which beats the previous record of 4, first reached at 6. So 12 is highly composite. Now compare 18. It also has 6 divisors, but that is only a tie with 12, not a new record, so 18 is not highly composite. The same logic continues upward: 24 has 8 divisors, a new record after 12's 6, so 24 joins the list. Notice that none of these judgments required adding any divisors together. A number can be highly composite without being the most abundant in its neighborhood, and an abundant number can fail to be highly composite because some smaller number already had as many or more divisors.
Superabundant numbers are a separate record in their own right. Where a highly composite number is the smallest integer to reach a given divisor count, a superabundant number is judged by how large its divisor sum is compared with its size. The two lists overlap in places but are not the same list, and treating them as synonyms leads to errors. If you want to know whether a number sets a divisor-count record, you want the highly composite test. If you want to know whether its divisors add up to more than the number itself, you want the abundant test. And if you are comparing divisor sums across sizes, you are in superabundant territory.
The concept itself is not ancient folklore but a named idea from the twentieth century: Ramanujan introduced it in 1915. Some of its famous members are 60 and 360, both familiar from angles and timekeeping. When you use a highly composite number calculator, you are checking a strict divisor-count record against every smaller positive integer — not measuring abundance. That distinction keeps the three neighboring ideas from blurring together.
- Highly composite: strictly more divisors than every smaller positive integer (record divisor count).
- Abundant: proper divisors sum to more than the number itself (divisor sum).
- Superabundant: divisor sum relative to size beats every smaller number (a ratio record).
- 12 has 6 divisors, beating the record of 4 first reached at 6 — so 12 is highly composite.
- 18 has 6 divisors, only a tie with 12 — so 18 is not highly composite.
- 24 has 8 divisors, a new record after 12's 6.
The record table
The record table is the simplest way to see what a highly composite number calculator is doing. A highly composite number has strictly more divisors than every smaller positive integer. That word "strictly" carries the whole definition: a number only joins the list if it sets a new record, not if it merely matches one. Read the table from the smallest number upward, and each entry should show a divisor count larger than any count that came before it.
The opening records are short enough to check by hand. They are 1 (1), 2 (2), 4 (3), 6 (4), 12 (6), and 24 (8), with the divisor count in brackets. The count for 1 is 1, since 1 divides itself. The count for 2 is 2, because 1 and 2 both divide it. The count for 4 is 3, from 1, 2, and 4. The count for 6 is 4, from 1, 2, 3, and 6. Then 12 has 6 divisors, from 1, 2, 3, 4, 6, and 12. Finally, 24 has 8 divisors, a new record after 12's 6.
The jump from 6 to 12 shows why the strict rule matters. 12 has 6 divisors, beating the previous record of 4, which was first reached at 6, so 12 is highly composite. Now look at 18. It has 6 divisors, but that is only a tie with 12, not a new record, so 18 is not highly composite. A highly composite number calculator applies exactly this test at every step: count the divisors, compare with the best count so far, and keep the number only if the count is larger. Ties are set aside no matter how large the number is.
The concept goes back to Ramanujan, who introduced it in 1915. The sequence keeps growing past the opening records, and 60 and 360 are famous members. A number like 360 earns its place because its divisor count exceeds that of every smaller positive integer, not because it looks round or familiar. That is the discipline the record table enforces: each row is a genuine improvement on everything below it.
When you read a record table, check two things for each entry. First, the divisor count in brackets should be larger than the count in the row above. Second, no smaller number should share that count. The opening records satisfy both conditions, and that is what makes them the start of the sequence rather than a list of convenient numbers.
- 1 (1)
- 2 (2)
- 4 (3)
- 6 (4)
- 12 (6)
- 24 (8)
FAQs
What is a highly composite number?
A highly composite number is one whose divisor count beats every smaller number. The number 12 qualifies with 6 divisors, which was a record when it appears. So the test is comparative: you count the divisors of a number and check that no smaller number ever reached that same count before it.
Why is 18 not highly composite?
18 has 6 divisors, but 12 already reached 6 earlier. A tie does not break the record, and a highly composite number must strictly beat every smaller number's divisor count. Since 12 set the mark of 6 divisors first, 18 matches it rather than exceeding it, so 18 is not highly composite.
How many divisors does 24 have?
24 has 8 divisors: 1, 2, 3, 4, 6, 8, 12 and 24. That count set a new record, since no smaller number reaches 8 divisors. Because it beats the previous record, 24 is a highly composite number, and its divisor list shows how many small factors divide it evenly.
Who invented highly composite numbers?
Srinivasa Ramanujan introduced highly composite numbers in a 1915 paper. He studied numbers engineered to be divisible by many small factors, so they split easily into equal parts. His work defined the idea of a number whose divisor count sets a record compared with every smaller number.
Is every highly composite number even?
All of them after 1 are even. An odd candidate always loses to a smaller even number with at least as many divisors, so it can never set a new record. That means the only odd highly composite number is 1 itself; every other one in the sequence is even.
Where do highly composite numbers show up?
Highly composite numbers show up in time and angle measurement, such as 60 and 360, in dozenal arguments, and anywhere easy division matters. Their many small divisors let you split quantities into equal parts without fractions, which is why they appear in everyday measuring systems and base-related discussions.