
A highly composite number is a
positive integer
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positiv ...
that has more
divisors than all smaller positive integers. If ''d''(''n'') denotes the number of divisors of a positive integer ''n'', then a positive integer ''N'' is highly composite if ''d''(''N'') > ''d''(''n'') for all ''n'' < ''N''. For example, 6 is highly composite because ''d''(6)=4, and for ''n''=1,2,3,4,5, you get ''d''(''n'')=1,2,2,3,2, respectively, which are all less than 4.
A related concept is that of a largely composite number, a positive integer that has at least as many divisors as all smaller positive integers. The name can be somewhat misleading, as the first two highly composite numbers (1 and 2) are not actually
composite numbers; however, all further terms are.
Ramanujan wrote a paper on highly composite numbers in 1915.
The mathematician
Jean-Pierre Kahane suggested that
Plato
Plato ( ; Greek language, Greek: , ; born BC, died 348/347 BC) was an ancient Greek philosopher of the Classical Greece, Classical period who is considered a foundational thinker in Western philosophy and an innovator of the writte ...
must have known about highly composite numbers as he deliberately chose such a number,
5040 (=
7!), as the ideal number of citizens in a city. Furthermore, Vardoulakis and Pugh's paper delves into a similar inquiry concerning the number 5040.
Examples
The first 41 highly composite numbers are listed in the table below . The number of divisors is given in the column labeled ''d''(''n''). Asterisks indicate
superior highly composite numbers.
The divisors of the first 20 highly composite numbers are shown below.
The table below shows all 72 divisors of 10080 by writing it as a product of two numbers in 36 different ways.
The 15,000th highly composite number can be found on Achim Flammenkamp's website. It is the product of 230 primes:
:
where
is the
th successive prime number, and all omitted terms (''a''
22 to ''a''
228) are factors with exponent equal to one (i.e. the number is
). More concisely, it is the product of seven distinct primorials:
:
where
is the
primorial .
Prime factorization

Roughly speaking, for a number to be highly composite it has to have
prime factors as small as possible, but not too many of the same. By the
fundamental theorem of arithmetic
In mathematics, the fundamental theorem of arithmetic, also called the unique factorization theorem and prime factorization theorem, states that every integer greater than 1 is prime or can be represented uniquely as a product of prime numbers, ...
, every positive integer ''n'' has a unique prime factorization:
:
where
are prime, and the exponents
are positive integers.
Any factor of n must have the same or lesser multiplicity in each prime:
:
So the number of divisors of ''n'' is:
:
Hence, for a highly composite number ''n'',
* the ''k'' given prime numbers ''p''
''i'' must be precisely the first ''k'' prime numbers (2, 3, 5, ...); if not, we could replace one of the given primes by a smaller prime, and thus obtain a smaller number than ''n'' with the same number of divisors (for instance 10 = 2 × 5 may be replaced with 6 = 2 × 3; both have four divisors);
* the sequence of exponents must be non-increasing, that is
; otherwise, by exchanging two exponents we would again get a smaller number than ''n'' with the same number of divisors (for instance 18 = 2
1 × 3
2 may be replaced with 12 = 2
2 × 3
1; both have six divisors).
Also, except in two special cases ''n'' = 4 and ''n'' = 36, the last exponent ''c''
''k'' must equal 1. It means that 1, 4, and 36 are the only square highly composite numbers. Saying that the sequence of exponents is non-increasing is equivalent to saying that a highly composite number is a product of
primorials or, alternatively, the smallest number for its
prime signature.
Note that although the above described conditions are necessary, they are not sufficient for a number to be highly composite. For example, 96 = 2
5 × 3 satisfies the above conditions and has 12 divisors but is not highly composite since there is a smaller number (60) which has the same number of divisors.
Asymptotic growth and density
If ''Q''(''x'') denotes the number of highly composite numbers less than or equal to ''x'', then there are two constants ''a'' and ''b'', both greater than 1, such that
:
The first part of the inequality was proved by
Paul Erdős in 1944 and the second part by
Jean-Louis Nicolas in 1988. We have
:
and
:
[Sándor et al. (2006) p. 45]
Related sequences
Highly composite numbers greater than 6 are also
abundant numbers. One need only look at the three largest proper divisors of a particular highly composite number to ascertain this fact. It is false that all highly composite numbers are also
Harshad numbers in base 10. The first highly composite number that is not a Harshad number is 245,044,800; it has a digit sum of 27, which does not divide evenly into 245,044,800.
10 of the first 38 highly composite numbers are
superior highly composite numbers.
The sequence of highly composite numbers is a subset of the sequence of smallest numbers ''k'' with exactly ''n'' divisors .
Highly composite numbers whose number of divisors is also a highly composite number are
: 1, 2, 6, 12, 60, 360, 1260, 2520, 5040, 55440, 277200, 720720, 3603600, 61261200, 2205403200, 293318625600, 6746328388800, 195643523275200 .
It is extremely likely that this sequence is complete.
A positive integer ''n'' is a largely composite number if ''d''(''n'') ≥ ''d''(''m'') for all ''m'' ≤ ''n''. The counting function ''Q''
''L''(''x'') of largely composite numbers satisfies
:
for positive ''c'' and ''d'' with
.
[Sándor et al. (2006) p. 46]
Because the prime factorization of a highly composite number uses all of the first ''k'' primes, every highly composite number must be a
practical number.
[.] Due to their ease of use in calculations involving
fractions, many of these numbers are used in
traditional systems of measurement and engineering designs.
See also
*
Superior highly composite number
*
Highly totient number
*
Table of divisors
*
Euler's totient function
In number theory, Euler's totient function counts the positive integers up to a given integer that are relatively prime to . It is written using the Greek letter phi as \varphi(n) or \phi(n), and may also be called Euler's phi function. In ot ...
*
Round number
*
Smooth number
Notes
References
*
*
*
* Annotated and with a foreword by Jean-Louis Nicolas and Guy Robin.
External links
*
Algorithm for computing Highly Composite NumbersFirst 10000 Highly Composite Numbers as factors*
ttp://www.javascripter.net/math/calculators/highlycompositenumbers.htm Online Highly Composite Numbers Calculator5040 and other Anti-Prime Numbers - Dr. James Grimeby
Dr. James Grime for
Numberphile
{{Classes of natural numbers
Integer sequences
Mathematics-related lists