You are on page 1of 35

THE RAMANUJAN JOURNAL 1, 119153 (1997)

c 1997 Kluwer Academic Publishers. Manufactured in The Netherlands.

Highly Composite Numbers


by Srinivasa Ramanujan
Annotated by
JEAN-LOUIS NICOLAS
jlnicola@frcpn11.in2p3.fr
Institut Girard Desargues, UPRES-A-5028, Mathematiques, Batiment 101, Universite Claude Bernard (LYON1),
F-69622 Villeurbanne cedex, France
GUY ROBIN
UPRES-A-6090, Theorie des nombres, calcul formel et optimisation, Universite de Limoges,
F-87060 Limoges cedex, France

robin@cict.fr

Received December 15, 1995; Accepted April 11, 1996

Abstract. In 1915, the London Mathematical Society published in its Proceedings a paper of Ramanujan entitled
Highly Composite Numbers. But it was not the whole work on the subject, and in The lost notebook and other
unpublished papers, one can find a manuscript, handwritten by Ramanujan, which is the continuation of the paper
published by the London Mathematical Society.
This paper is the typed version of the above mentioned manuscript with some notes, mainly explaining the link
between the work of Ramanujan and works published after 1915 on the subject.
A number N is said highly composite if M < N implies d(M) < d(N ), where d(N ) is the number of divisors
of N . In this paper, Ramanujan extends the notion of highly composite number to other arithmetic functions,
mainly to Q 2k (N ) for 1 k 4 where Q 2k (N ) is the number of representations of N as a sum of 2k squares
and s (N ) where s (N ) is the sum of the (s)th powers of the divisors of N . Moreover, the maximal orders
of these functions are given.
Key words: highly composite number, arithmetical function, maximal order, divisors
1991 Mathematics Subject Classification:

1.

Primary 11N56; Secondary 11M26

Foreword

In 1915, the London Mathematical Society published in its Proceedings a paper of Srinivasa
Ramanujan entitled Highly Composite Numbers. (cf. [16]). In the Collected Papers
of Ramanujan, this article has number 15, and in the notes (cf. [17], p. 339), it is stated:
The paper, long as it is, is not complete. The London Math. Soc. was in some financial
difficulty at the time and Ramanujan suppressed part of what he had written in order to save
expenses. This suppressed part had been known to Hardy, who mentioned it in a letter to
Watson, in 1930 (cf. [18], p. 391). Most of this suppressed part can be now found in the
lost notebook and other unpublished papers (cf. [18], p. 280 to 312). An analysis of this
book has been done by Rankin, who has written several lines about the pages concerning
highly composite numbers (cf. [19], p. 361). Also, some information about this subject has
already been published in [12], pp. 238239 and [13]. Robin (cf. [25]) has given detailed

120

NICOLAS AND ROBIN

proofs of some of the results dealing with complex variables, and Riemann zeta function,
since as usual, Ramanujan sometimes gives formulas which probably were obvious to him,
but not to most mathematicians.
The article below is essentially the end of the paper written by Ramanujan which was not
published in [16], but can be read in [18]. For convenience, we have kept on the numbering
both of paragraphs (which start from 52 to 75) and formulas (from (268) to (408)), so that
references to preceding paragraphs or formulas can easily be found in [16]. There is just
a small overlap: the last paragraph of [16] is numbered 52, and contains formulas (268)
and (269). This last paragraph was probably added by Ramanujan to the first part after
he had decided to suppress the second part. However this overlap does not imply any
misunderstanding.
There are two gaps in the manuscript of Ramanujan, as presented in the lost notebook.
The first one is just at the beginning, where the definition of Q 2 (n) is missing. Probably
this definition was sent to the London Math. Soc. in 1915 with the manuscript of Highly
Composite Numbers. It has been reformulated in the same terms as the definition of Q 2 (n)
given in Section 55. The second gap is more difficult to explain: Section 57 is complete
and appears on pp. 289 and 290 of [18]. But the lower half of p. 290 is empty, and p. 291
starts with the end of Section 58. We have completed Section 58 by giving the definition
of s (N ), and the proof of formula (301). All these completions are written in italics in the
text below. It should be noted that in [18] pp. 295299 are not handwritten by Ramanujan,
and, as observed by Rankin (cf. [19], p. 361) were probably copied by Watson, but that
does not create any gap in the text. Pages 282 and 283 of [18] do not belong to number
theory, and clearly the text of p. 284 follows p. 281. On the other hand, pp. 309312 deal
with highly composite numbers. With the notation of [16], Section 9, Ramanujan proves
in pp. 309310 that
log p1
log pr
=
+ O(r )
log(1 + 1/r )
log 2
holds, while on pp. 311312, he attempts to extend the above formula by replacing p1 by
ps . More precise results can now be found in [7]. Pages 309312 do not belong to the
paper Highly Composite Numbers and are not included in the paper below.
In the following paper, Ramanujan studies the maximal order of some classical functions,
which resemble the number, or the sum, of the divisors of an integer.
In Section 5254, Q 2 (N ), the number of representations of N as a sum of two squares is
studied, and its maximal order is given under the Riemann hypothesis, or without assuming
the Riemann hypothesis. In Section 5556, a similar work is done for Q 2 (N ) the number
of representation of N by the form m 2 + mn + n 2 . In Section 57, the number of ways of
writing N as a product of (1 + r ) factors is briefly investigated. Between Section 58 and
Section 71, there is a deep study of the maximal order of
X
s (N ) =
d s
d|N

under the Riemann hypothesis, by introducing generalised superior highly composite numbers. In Section 7274, Q 4 (N ), Q 6 (N ) and Q 8 (N ) the numbers of representations of N as
a sum of 4, 6 or 8 squares are studied, and also their maximal orders. In the last paragraph

121

HIGHLY COMPOSITE NUMBERS

75, the number of representations of N by some other quadratic forms is considered, but no
longer its maximal order. One feels that Ramanujan is ready to leave the subject of highly
composite numbers, and to come back to another favourite topic, identities.
The table on p. 150 occurs on p. 280 in [18]. It should be compared with the table of
largely composite numbers (p. 151), namely the numbers n such that m n d(m) d(n).
Several results obtained by Ramanujan in 1915, but kept unpublished, have been rediscovered and published by other mathematicians. The references for these works are given
in the notes at the end of this paper. However, there remain in the paper of Ramanujan,
some never published results, for instance, the maximal order of Q 2 (N ) (cf. Section 54) or
of s (N ) (cf. Section 71) whenever s 6= 1. (The case s = 1 has been studied by Robin,
cf. [22]).
A few misprints or mistakes were found in the manuscript of Ramanujan. Finally, it puts
one somewhat at ease that even Ramanujan could make mistakes. These mistakes have
been corrected in the text, but are also pointed out in the notes.
Hardy did not much like highly composite numbers. In the preface to the Collected
Works (cf. [17], p. XXXIV) he writes that The long memoir [16] represents work,
perhaps, in a backwater of mathematics, but a few lines later, he does recognize that it
shews very clearly Ramanujans extraordinary mastery over the algebra of inequalities.
One of us can remember Freeman Dyson in Urbana (in 1987) saying that when he was
a research student of Hardy, he wanted to do research on highly composite numbers but
Hardy dissuaded him as he thought the subject was not sufficiently interesting or important.
However, after Ramanujan, several authors have written about them, as can be seen in the
survey paper [12]. We think that the manuscript of Ramanujan should be published, since he
wrote it with this aim, and we hope that our notes will help readers to a better understanding.
We are indebted to Berndt, and Rankin for much valuable information, to Massias for
calculating largely composite numbers and finding the meaning of the table occurring in [18],
p. 280 and to Lydia Szyszko for typing this manuscript. We thank also Narosa Publishing
House, New Delhi, for granting permission to print in typed form the handwritten manuscript
on Highly Composite Numbers which can be found in pages 280312 of [18].
2.

The text of Ramanujan

52. Let Q 2 (N ) denote the number of ways in which N can be expressed as m 2 + n 2 . Let
us agree to consider m 2 + n 2 as two ways if m and n are unequal and as one way if they
are equal or one of them is zero. Then it can be shown that
(1 + 2q + 2q 4 + 2q 9 + 2q 16 + )2

q3
q
q5
q7

= 1+4
+

+
1q
1 q3
1 q5
1 q7
= 1 + 4{Q 2 (1)q + Q 2 (2)q 2 + Q 2 (3)q 3 + }

(268)

From this it easily follows that


(s)1 (s) =

Q 2 (1)
Q 2 (2)
Q 2 (3)
+
+
+ ,
s
s
1
2
3s

(269)

122

NICOLAS AND ROBIN

where
1 (s) = 1s 3s + 5s 7s + .
Since
q3
q2
q
+
+ = d(1)q + d(2)q 2 + d(3)q 3 + ,
+
2
1q
1q
1 q3
it follows from (268) that
Q 2 (N ) d(N )

(270)

for all values of N . Let


N = 2a2 .3a3 .5a5 pa p ,
where a 0. Then we see that, if any one of a3 , a7 , a11 , . . ., be odd, where 3, 7, 11, . . .,
are the primes of the form 4n 1, then
Q 2 (N ) = 0.

(271)

But, if a3 , a7 , a11 , . . . be even or zero, then


Q 2 (N ) = (1 + a5 )(1 + a13 )(1 + a17 )

(272)

where 5, 13, 17, . . . are the primes of the form 4n + 1. It is clear that (270) is a consequence
of (271) and (272).
53. From (272) it is easy to see that, in order that Q 2 (N ) should be of maximum order, N
must be of the form
5a5 .13a13 .17a17 pa p ,
where p is a prime of the form 4n + 1, and
a5 a13 a17 a p .
Let 1 (x) denote the number of primes of the form 4n + 1 which do not exceed x, and let
1 (x) = log 5 + log 13 + log 17 + + log p,
where p is the largest prime of the form 4n + 1, not greater than x. Then by arguments
similar to those of Section 33 we can show that
3 1 (( 32 )x ) 4 1 (( 43 )x )
1 (2x )
1 2
3

(273)
Q 2 (N ) N x 1 x 21 3 x
1
4 x
e x 1 (2 ) e x 1 (( 2 ) ) e x 1 (( 3 ) )
for all values of N and x. From this we can show by arguments similar to those of Section 38
that, in order that Q 2 (N ) should be of maximum order, N must be of the form
e1 (2

)+1 (( 32 )x )+1 (( 43 )x )+

123

HIGHLY COMPOSITE NUMBERS

and Q 2 (N ) of the form


1 (2x )

1 (( 32 )x ) 1 (( 43 )x )
4
3
... .
2
3

Then, without assuming the prime number theorem, we can show that the maximum order
of Q 2 (N ) is
2

1
log N { log log
N+

O(1)
(log log N )2

(274)

Assuming the prime number theorem we can show that the maximum order of Q 2 (N ) is
2 2 Li(2 log N )+O{log N e
1

a (log N )

(275)

where a is a positive constant.


54. We shall now assume the Riemann Hypothesis and its analogue for the function 1 (s).
Let 1 be a complex root of 1 (s). Then it can be shown that

X 1
3
3 log
+ log 2 + 4 log 0
,
=
1
2
4
so that


X1 X 1
3
+
.
= 1 + 2 log + 4 log 0

1
4

It can also be shown that


(
1
P
P

21 (x) = x 2 x x / x 1 /1 + O x 3
1
P
P

21 (x) = Li(x) Li( x) Li(x ) Li(x 1 ) + O x 3


so that

Now

21 (x) = x + O( x(log x)2 )

21 (x) = Li(x) + O( x log x).

X x X x 1

1
2 x+
+
log x

1
X
X

1
x
x
O( x)

x
+
+
.
4
+
(log x)2
2
(log x)3
12

21 (x) = Li(x)

But by Taylors Theorem we have


Li{21 (x)} = Li(x)

X x X x 1

1
2 x+
+
+ O{(log x)2 }.
log x

(276)

(277)

(278)

124

NICOLAS AND ROBIN

Hence


21 (x) = Li{21 (x)} 2R1 (x) + O

where

x
(log x)3

(279)

1
1 X x
1 X x 1
+
2 x+
.
R1 (x) =
(log x)2
2
2
2
12

It can easily be shown that

X1 X 1
X1 X 1

x 2+
+

R1 (x)(log x)2 x 2

1
and so from (276) we see that


3
x R1 (x)(log x)2
3 + 2 log + 4 log 0
4


3
1 + 2 log 4 log 0
x.
4
It can easily be verified that
(

3 + 2 log + 4 log 0 34 = 2.101,

1 + 2 log 4 log 0 34 = 1.899,

(280)

(281)

approximately.
Proceeding as in Section 43 we can show that the maximun order of Q 2 (N ) is
2 2 Li(2 log N )+8(N )
1

(282)

where

)
( p

log(3/2)

log(3/2)
log 32
(log N )
3
3(log N ) log 2
log
2
8(N ) =
Li (log N )
R1 (2 log N ) + O
.

2 log 2
2
4 log(2 log N )
(log log N )3
55. Let Q 2 (N ) denote the number of ways in which N can be expressed as m 2 + mn + n 2 .
Let us agree to consider m 2 + mn + n 2 as two ways if m and n are unequal, and as one way
if they are equal or one of them is zero. Then it can be shown that

1
1
4
9
3
13
27
1 + 2q 4 + 2q 4 + 2q 4 + 1 + 2q 4 + 2q 4 + 2q 4 +
2

1
1
4
9
3
13
27
+ 1 2q 4 + 2q 4 2q 4 + 1 2q 4 + 2q 4 2q 4 +
2

q2
q4
q5
q

= 1+6
1q
1 q2
1 q4
1 q5
= 1 + 6{ Q 2 (1)q + Q 2 (2)q 2 + Q 2 (3)q 3 + }

(283)

125

HIGHLY COMPOSITE NUMBERS

where 1, 2, 4, 5, . . . are the natural numbers without the multiples of 3. From this it follows
that
(s)2 (s) = 1s Q 2 (1) + 2s Q 2 (2) + 3s Q 2 (3) +

(284)

where
2 (s) = 1s 2s + 4s 5s +
It also follows that
Q 2 (N ) d(N )

(285)

for all values of N . Let


N = 2a2 .3a3 .5a5 pa p ,
where a 0. Then, if any one of a2 , a5 , a11 , . . . be odd, where 2, 5, 11, . . . are the primes
of the form 3n 1, then
Q 2 (N ) = 0.

(286)

Q 2 (N ) = (1 + a7 )(1 + a13 )(1 + a19 )(1 + a31 )

(287)

But, if a2 , a5 , a11 be even or zero, then

where 7, 13, 19, . . . are the primes of the form 6n + 1. Let 2 (x) be the number of primes
of the form 6n + 1 which do not exceed x, and let
2 (x) = log 7 + log 13 + log 19 + + log p,
where p is the largest prime of the form 6n + 1 not greater that x. Then we can show that,
in order that Q 2 (N ) should be of maximum order, N must be of the form
e2 (2

)+2 (( 32 )x )+2 (( 43 )x )+

and Q 2 (N ) of the form


22 (3

2 (( 32 )x ) 2 (( 43 )x )
4
3
... .
2
3

Without assuming the prime number theorem we can show that the maximum order of
Q 2 (N ) is
2

1
log N { log log
N+

O(1)
(log log N )2

(288)

Assuming the prime number theorem we can show that the maximum order of Q 2 (N ) is
2 2 Li(2 log N )+O{log N e
1

(log N )

(289)

126

NICOLAS AND ROBIN

56. We shall now assume the Riemann hypothesis and its analogue for the function 2 (s).
Then we can show that

(290)
22 (x) = Li{22 (x)} 2R2 (x) + O{ x/(log x)3 }
where

1
1 X x
1 X x 2
+
2 x+
R2 (x) =
(log x)2
2
2
2
22

where 2 is a complex root of 2 (s). It can also be shown that



X1 X 1
0 23
1
+
= 1 + + log 3 + 3 log 1

2
2
0 3

(291)

and so
(

)
0 23
1
x R2 (x)(log x)2
3 + + log 3 + 3 log 1
2
0 3
(
)
0 23
1
1 log 3 3 log 1
x.
2
0 3

It can easily be verified that


0 23

3 + + 2 log 3 + 3 log 0 1 = 2.080,


32

0
1

1 2 log 3 3 log 1 = 1.920,


0 3

(292)

(293)

approximately. Then we can show that the maximum order of Q 2 (N ) is


2 2 Li(2 log N )+8(N )
1

(294)

where
log(3/2)

log(3/2)
(log N )
3
3(log N ) log 2
log(3/2)
log
2
Li (log N )
R2 (2 log N )+O

.
8(N ) =
2 log 2
2
4 log(2 log N )
(log log N )3

57. Let dr (N ) denote the coefficient of N s in the expansion of { (s)}1+r as a Dirichlet


series. Then since
{ (s)}1 = (1 2s )(1 3s )(1 5s ) (1 p s ) . . . ,
it is easy to see that, if
N = p1a1 p2a2 p3a3 . . . pnan ,

127

HIGHLY COMPOSITE NUMBERS

where p1 , p2 , p3 . . . are any primes, then


dr (N ) =

=n
Y =a
Y

1+

=1 =1

(295)

provided that r > 1. It is evident that


d1 (N ) = 0,

d0 (N ) = 1,

d1 (N ) = d(N );

and that, if 1 r 0, then


dr (N ) 1 + r

(296)

for all values of N . It is also evident that, if N is a prime then


dr (N ) = 1 + r
for all values of r . It is easy to see from (295) that, if r > 0, then dr (N ) is not bounded
when N becomes infinite. Now, if r is positive, it can easily be shown that, in order that
dr (N ) should be of maximum order, N must be of the form
e(x1 )+(x2 )+(x3 )+,
and consequently dr (N ) of the form

r (x2 )
r (x3 )
(1 + r )(x1 ) 1 +
...
1+
2
3
and proceeding as in Section 46 we can show that N must be of the form
e(1+r )

+(1+ r2 )x +(1+ r3 )x +

(297)

and dr (N ) of the form


r x
r x

r ((1+ 3 ) )
r ((1+ 2 ) )
x
1+
...
(1 + r ) ((1+r ) ) 1 +
2
3

(298)

From (297) and (298) we can easily find the maximum order of dr (N ) as in Section 43. It
may be interesting to note that numbers of the form (297) which may also be written in the
form
1 log(1+r )

e{x r

1 log(1+ r )
2

}+{x r

1 log(1+ r )
3

}+{x r

}+

approach the form


e(x)+(

x)+(x 1/3 )+

as r 0. That is to say, they approach the form of the least common multiple of the natural
numbers as r 0.

128

NICOLAS AND ROBIN

58. Let s be a non negative real number, and let s (N ) denote the sum of the inverses of
the sth powers of the divisors of N . If N denotes
N = p1a1 p2a2 p3a3 . . . pnan
where p1 , p2 , p3 , . . . are any primes, then

s (N ) = 1 + p1s + p12s + p13s + + p1a1 s

1 + p2s + p22s + p23s + + p2a2 s

1 + pns + pn2s + pn3s + + pnan s .


For s = 0, 0 (N ) = d(N ) is the number of divisors of N . For s > 0, we have:

s (N ) =

1 p1(a1 +1)s
1 p1s

1 p2(a2 +1)s
1 p2s

!
1 pn(an +1)s

.
1 pns

(299)

Now, from the concavity of the function log(1 et ), we see that


1
{log(1 et1 ) + log(1 et2 ) + + log(1 etn )}
n

t1 + t2 + + tn
.
log 1 exp
n

(300)

Choosing t1 = (a1 + 1)s log p1 , t2 = (a2 + 1)s log p2 , . . . , tn = (an + 1)s log pn in (300),
formula (299) gives

n
1 ( p1 p2 p3 pn N )s/n

.
s (N ) <
1 p1s 1 p2s 1 pns

(301)

By arguments similar to those of Section 2 we can show that it is possible to choose the
indices a1 , a2 , a3 , . . . , an so that
{1 ( p1 p2 p3 pn N )s/n }n

{1 O{N s/n (log N )2/(n1) }}.


1 p1s 1 p2s 1 pns

s (N ) =

(302)

There are of course results corresponding to (14) and (15) also.


59. A number N may be said to be a generalised highly composite number if s (N ) >
s (N 0 ) for all values of N 0 less than N . We can easily show that, in order that N should
be a generalised highly composite number, N must be the form
2a2 3a3 5a5 pa p

(303)

129

HIGHLY COMPOSITE NUMBERS

where
a2 a3 a5 a p = 1,
the exceptional numbers being 36, for the values of s which satisfy the inequality 2s + 4s +
8s > 3s + 9s , and 4 in all cases.
A number N may be said to be a generalised superior highly composite number if there
is a positive number such that
s (N )
s (N 0 )

N
(N 0 )

(304)

for all values of N 0 less than N , and


s (N )
s (N 0 )
>

N
(N 0 )

(305)

for all values of N 0 greater than N . It is easily seen that all generalised superior highly
composite numbers are generalised highly composite numbers. We shall use the expression
a p1

2a2 3a3 5a5 p1


and the expression

..
.

2 3 5 .
7 ...
2 3 5 . . . . . . p2
2 3 5 . . . p3
...

...

p1

as the standard forms of a generalised superior highly composite number.


60. Let
N0 =

where p1 . Then from (304) it follows that


1 s(1+a ) (1 sa ) ,
or

1 s(1+a )
.
1 sa

Again let N 0 = N . Then from (305) we see that

1 s(1+a ) > 1 s(2+a )

(306)

130

NICOLAS AND ROBIN

or
>

1 s(2+a )
.
1 s(1+a )

(307)

Now let us suppose that = p1 , in (306) and = P1 in (307). Then we see that

log 1 + ps
log 1 + P1s
1
>
.
log p1
log P1

(308)

From this it follows that, if


0<

log(1 + 2s )
,
log 2

then there is a unique value of p1 corresponding to each value of . It follows from (306)
that
s
log
1
a
,
(309)
s log
and from (307) that
1 + a >

log

s
1

(310)

(311)

. . . . . . . . . . . . . . . p1

(312)

s log

From (309) and (310) it is clear that


"
a =

log

s #
1

s log

Hence N is of the form


2[

s
log( 2 2
)
2 1
]
s log 2

3[

s
log( 3 3
)
3 1
]
s log 3

where p1 is the prime defined by the inequalities (308).


61. Let us consider the nature of pr . Putting = pr in (306), and remembering that
a pr r , we obtain
pr

s(1+a pr )

1 pr

sa pr

1 pr

1 prs(r +1)
.
1 prsr

(313)

Again, putting = Pr in (307), and remembering that a Pr r 1, we obtain


Pr >

s(2+a Pr )

1 Pr

s(1+a Pr )

1 Pr

1 Prs(r +1)
.
1 Prsr

(314)

131

HIGHLY COMPOSITE NUMBERS

It follows from (313) and (314) that, if xr be the value of x satisfying the equation
x =

1 x s(r +1)
1 x sr

(315)

then pr is the largest prime not greater than xr . Hence N is of the form
e(x1 )+(x2 )+(x3 )+

(316)

where xr is defined in (315); and s (N ) is of the form


51 (x1 )52 (x2 )53 (x3 ) 5a2 (xa2 )

(317)

where
5r (x) =

1 2s(r +1) 1 3s(r +1)


1 p s(r +1)

.
1 2sr
1 3sr
1 p sr

and p is the largest prime not greater than x. It follows from (304) and (305) that
s (N ) N

51 (x1 ) 52 (x2 ) 53 (x3 )

e(x1 ) e(x2 ) e(x3 )

(318)

for all values of N , where x1 , x2 , x3 , . . . are functions of defined by the equation


xr =

1 xrs(r +1)
,
1 xrsr

and s (N ) is equal to the right hand side of (318) when


N = e(x1 )+(x2 )+(x3 )+
62. In (16) let us suppose that
8(x) = log

1 x s(r +1)
.
1 x sr

Then we see that

Z
1 xrs(r +1)
1 xrs(r +1)

(x
)d
log
r
1 xrsr
1 xrsr
Z

= (xr ) log xr (xr )d log xr


Z
Z
(xr )
d xr
= (xr ) log xr (xr ) log xr d
xr

log 5r (xr ) = (xr ) log

(319)

132

NICOLAS AND ROBIN

in virtue of (319). Hence

Z
Z
(xr )
log 5r (xr ) (xr ) = {(xr ) log xr (xr )} (xr ) log xr d
d xr
xr
Z
Z
Z
(xr )
(xr )
=
d xr (xr ) log xr d
d xr
xr
xr
Z
Z
Z
(xr )
= d
d xr (xr ) log xr d
xr

Z Z
(xr )
d xr (xr ) log xr d
=
xr
Z
(320)
= (xr ) d.

It follows from (318) and (320) that


s (N ) N e

{(x1 )+(x2 )+(x3 )+}d

(321)

for all values of N . By arguments similar to those of Section 38 we can show that the right
hand side of (321) is a minimum when is a function of N defined by the equation

Now let

N = e(x1 )+(x2 )+(x3 )+ .


s (N )

be a function of N defined by the equation


X
(N ) = 51 (x1 )52 (x2 )53 (x3 )
s

(322)

(323)

where is a function of N defined by the Eq. (322). Then it follows from (318) that the
order of
X
s (N )
(N )
s
P
for all values of N and s (N ) = s (N ) for all generalised superior highly composite
values of N . In other words s (N ) is of maximum order when N is of the form of a
generalised superior highly composite number.
63. We shall now consider some important series which are not only useful in finding the
maximum order of s (N ) but also interesting in themselves. Proceeding as in (16) we can
easily show that, if 80 (x) be continuous, then
8(2) log 2 + 8(3) log 3 + 8(5) log 5 + + 8( p) log p
Z x
= 8(x) (x)
80 (t) (t) dt
2

(324)

R
R
where p is the largest prime not exceeding x. Since 8(x) d x = x8(x) x80 (x) d x,
we have
Z
Z
0
8(x)(x) 8 (x)(x) d x = 8(x) d x {x (x)}8(x)
Z
(325)
+ 80 (x){x (x)} d x.

133

HIGHLY COMPOSITE NUMBERS

Remembering that x (x) = O{ x(log x)2 }, we have by Taylors Theorem


Z

(x)

1
8(x) d x {x (x)}8(x) + {x (x)}2 80 {x + O( x(log x)2 )}.
2
(326)

8(t) dt =

It follows from (324)(326) that


8(2) log 2 + 8(3) log 3 + 8(5) log 5 + + 8( p) log p
Z
Z (x)
8(t) dt + 80 (x){x (x)} d x
= C+

1
{x (x)}2 80 {x + O x(log x)2 }
2

(327)

where C is a constant and p is the largest prime not exceeding x.


64. Now let us assume that 8(x) = x s11 where s > 0. Then from (327) we see that, if p
is the largest prime not greater than x, then
log 3
log 5
log p
log 2
+ s
+ s
+ + s
s
2 1 3 1 5 1
p 1
Z
Z (x)
dx
x (x)
d x + O{x s (log x)4 }.
s
= C+
xs 1
x 1s (x s 1)2

(328)

But it is known that


x (x) =

x +x3 +

X x X x 12
1

+ O x5

(329)

where is a complex root of (s). By arguments similar to those of Section 42 we can


show that
X

x 2 s
1
=
2 s
1

x 1s

X x 12
d x.

Hence
Z

)
(
X x 12 s
X x 12
1
1
= O x 4 s .
O x 1s
dx = O

2 s

X
X
1
x 2s
x s
x s
+O
=
+O x 2 2s .
( s)
( 2s)
( s)

x 2

x 1s (x s

1)2

dx =

Similarly
Z

x 1s (x s 1)2

dx =

134

NICOLAS AND ROBIN

Hence (328) may be replaced by


log 3
log 5
log p
log 2
+
+
+ + s
2s 1 3s 1 5s 1
p 1
Z
Z (x)
1
1
x2 +x3
dt
s
dx
= C+
ts 1
x 1s (x s 1)2
X x s
1

1
s
+ O x 2 2s + x 4 s .
( s)

(330)

It can easily be shown that


C =

0 (s)
(s)

(331)

when the error term is o(1).


65. Let
Ss (x) = s

x s
.
( s)

Then

X x s
X
1
1

2 s
.
|Ss (x)| s

( s) = s x
{(1 )( s)(1 s)}

(332)

If m and n are any two positive numbers, then it is evident that 1/ mn lies between
and n1 .
P
1

Hence
lies between (1) and (s) where
{(1)(s)(1s)}
X
1
1
=
( s)(1 s)
(1 ) + s 2 s
X
X
1
X
1
1
1
s
+
=
.
=
1 2s
s
1s
s 1/2

(s) =

1
m

(333)

We can show as in Section 41 that


1
2s 1 1
1 0 0 2s
0 (s)
s +
= 2
log +
.
s
s s
2
20 2
(s)

(334)

(
)
0 0 2s
1
0 (s)
2
+2
+
log
(s) = 2
s s
2s 1 0 2s
(s)

(335)

(0) = (1) = 2 + log 4.

(336)

Hence

so that

135

HIGHLY COMPOSITE NUMBERS

By elementary algebra, it can easily be shown that if m r and n r be not negative and G r be
the geometric mean between m r and n r then
p
G 1 + G 2 + G 3 + < {m 1 + m 2 + m 3 + }{n 1 + n 2 + }
(337)
unless mn 11 = mn 22 = mn 33 =
From this it follows that
X
p
1
< {(1) (s)}.

{(1 )( s)(1 s)}

(338)

The following method


leads to still closer approximation. It is easy to see that if m and n
are positive, then 1/ mn is the geometric mean between
8
1
+
3m
3(m + 3n)
and so

1
mn

and

1
8
+
3n
3(3m + n)

(339)

lies between both. Hence


X

1
lies between

{(1 )( s)(1 s)}


1X
1
2X
1
and
+
3
(1 ) 3
(1 ) + 34 (s 2 s)
1X
1
2X
1
+
3
( s)(1 s) 3
(1 ) + 14 (s 2 s)

(340)

and is also less than the geometric mean1 between these two in virtue of (337)
p

X
1 + (1 s + s 2 )
1
=
and
2
(1 ) + 14 (s 2 s)
p

X
1
1 + (1 3s + 3s 2 )
=
2
(1 ) + 34 (s 2 s)
1.
1
1 s2 s
3
1
=

(1 )
2 (1 )
8
{(1 )( s)(1 s)}
1
2
1
1 s2 s
3
1
1
+

+
=
3 (1 )
3 (1 ) + 3 (s 2 s)
(1 )
2 (1 )
8
4
1
1
1 s2 s
3
1
1
2

+
=
+
3 (1 ) + s 2 s
3 (1 ) + 1 (s 2 s)
(1 )
2 (1 )
8
4

s2 s
(1 )
s2 s
(1 )
s2 s
(1 )

)2

10
32

9
32

11
32

)2
)2

s2 s
(1 )
s2 s
(1 )
s2 s
(1 )

)3
+
)3
+
)3
+

Since the first value of (1 ) is about 200 we see that the geometric mean is a much closer approximation than
either.

136

NICOLAS AND ROBIN

Hence
X

1
lies between

{(1 )( s)(1 s)}


p

2
1 + (1 3s + 3s 2 )
1
(1) +
and
3
3
2
p

2
1 + (1 s + s 2 )
1
(s) +
3
3
2

(341)

and is also less than the geometric mean between these two.
66. In this and the following few sections it is always understood that p is the largest prime
not greater than x. It can easily be shown that
Z (x)
Z
1
1
x2 +x3
{ (x)}12s
{ (x)}1s
dt

s
+
d
x
=
ts 1
x 1s (x s 1)2
1s
1 2s
13s
14s
1ns
x
x
x
+
+ +
+
1 3s
1 4s
1 ns
1
1
1
1
3sx 3 s
4sx 2 2s
2sx 2 s
(342)

+ O x 2 2s

1 2s
1 3s
1 4s
where n = [2 + 2s1 ].
It follows from (330) and (342) that if s > 0, then
log 3
log 5
log p
log 2
+
+
+ + s
2s 1 3s 1 5s 1
p 1
{(x)}12s
x 13s
x 14s
x 1ns
0 (s) {(x)}1s
+
+
+
+
+ +
=
(s)
1s
1 2s
1 3s
1 4s
1 ns
1
1
1
s
s
2s
1

3sx 3
4sx 2
2sx 2
1
(343)

+ Ss (x) + O x 2 2s + x 4 s

1 2s
1 3s
1 4s
where n = [2 + 2s1 ].
When s = 1, 12 , 13 or 14 we must take the limit of the right hand side when s approaches
1, 12 , 13 or 14 . We shall consider the following cases:
Case I. 0 < s <

1
4

log 3
log 5
log p
log 2
+ s
+ s
+ + s
s
2 1 3 1 5 1
p 1
1s
12s
13s
{(x)}
x
x 14s
{(x)}
+
+
+
+
=
1s
1 2s
1 3s
1 4s
1
1
1
x 1ns
2sx 2 s
3sx 3 s
+

+ Ss (x) + O x 2 2s ,
1 ns
1 2s
1 3s
where n = [2 +

1
].
2s

(344)

137

HIGHLY COMPOSITE NUMBERS

Case II. s =

1
4

log 2
2

1
4 1

=
Case III. s >

log 3

1
4 1

log 5
5

1
4 1

+ +

log p
p 4 1
1

p
4
1
3
1
1
{(x)} 4 + 2 {(x)} + 3x 4 3x 12 + log x + S 14 (x) + O(1). (345)
3
2

1
4

log 3
log 5
log p
log 2
+ s
+ s
+ + s
s
2 1 3 1 5 1
p 1
1
0 (s) {(x)}1s
x 12s 2sx 2 s
x 13s 3sx 3 s
=
+
+
+
+ Ss (x) + O x 4 s .
(s)
1s
1 2s
1 3s
(346)
1

67. Making s 1 in (346), and remembering that

1s
0 (s)
v

= log v
lim
s1 1 s
(s)
where is the Eulerian constant, we have
log 3
log 5
log p
log 2
+
+
+ +
21 31 51
p1
3
3
1
2
= log (x) + 2x 2 + x 3 + S1 (x) + O x 4 .
2
From (332) we know that

x |S1 (x)| 2 + log(4 ) = .046

(347)

(348)

approximately, for all positive values of x.


When s > 1, (346) reduces to
log 2
log 3
log 5
log p
+ s
+ s
+ + s
s
2 1 3 1 5 1
p 1
1
2sx 2 s
3sx 3 s
0 (s) {(x)}1s
+
+
+
+ Ss (x) + O x 4 s
=
(s)
1s
2s 1
3s 1
1

(349)

Writing O(x 2 s ) for Ss (x) in (343), we see that, if s > 0, then


1

log 3
log 5
log p
log 2
+ s
+ s
+ + s
s
2 1 3 1 5 1
p 1
x 12s
x 13s
0 (s) {(x)}1s
+
+
+
+
=
(s)
1s
1 2s
1 3s
1
1
2sx 2 s
x 1ns

+ O x 2 s
+
1 ns
1 2s
when n = [1 +

1
].
2s

(350)

138

NICOLAS AND ROBIN

Now the following three cases arise:


Case I. 0 < s <

1
2

log 3
log 5
log p
log 2
+ s
+ s
+ + s
s
2 1 3 1 5 1
p 1
1
x 12s
x 13s
x 1ns
{(x)}1s
+
+
+ +
+ O x 2 s
=
1s
1 2s
1 3s
1 ns
where n = [1 +
Case II. s = 12

(351)

1
].
2s

p
1
log 2
log 3
log 5
log p
= 2 {(x)} + log x + O(1).
+
+
++

p1
2
21
31
51
(352)
Case III. s >

1
2

1
log 3
log 5
log p
0 (s) {(x)}1s
log 2
+ s
+ s
+ + s
=
+
+ O x 2 s .
s
2 1 3 1 5 1
p 1
(s)
1s
(353)
68. We shall now consider the product
(1 2s )(1 3s )(1 5s ) (1 p s ).
It can easily be shown that
Z

x a+bs
1
ds = Li(x a+bs )
a + bs
b
R x dt
; and that
where Li(x) is the principal value of 0 log
t
Z

1 s
x2
Ss (x)
Ss (x) ds =
+O
.
log x
(log x)2

(354)

(355)

Now remembering (354) and (355) and integrating (343) with respect to s, we see that if
s > 0, then
log{(1 2s )(1 3s )(1 5s ) (1 p s )}
1
1
= log | (s)| Li{(x)}1s Li(x 12s ) Li(x 13s )
2
3
1 s
1
s
2

1
1
+ Ss (x)
x
x2
1
Li(x 1ns ) + Li x 2 s
+O
n
2
log x
(log x)2
where n = [1 +

1
].
2s

(356)

139

HIGHLY COMPOSITE NUMBERS

Now the following three cases arise.


Case I. 0 < s <

1
2

log{(1 2s )(1 3s )(1 5s ) (1 p s )}


1
1
= Li{(x)}1s Li(x 12s ) Li(x 13s )
2
3
1
s

1
1
2sx 2
Ss (x)
Li(x 1ns ) +

+ O x 2 s /(log x)2
n
(1 2s) log x
log x
where n = [1 +

1
].
2s

Making s

1
2

(357)

in (356) and remembering that

lim {Li(1 + h) log |h| } =

h0

(358)

where is the Eulerian constant, we have


Case II. s = 12
1

1
1
1 15 1 1p
p

1 + S 12 (x)
O(1)
1
= 2
exp Li (x) +
+
.
2
log x
(log x)2

1
2

1
3

(359)

It may be observed that


1
1
1
1
1
( 2 1)
= + + .
2
1
2
3
4

Case III. s >

(360)

1
2

1
5s ) (1 p s )

1 s
1
Ss (x)
x2
2sx 2 s
= | (s)|exp Li{((x))1s } +
+
+O
. (361)
(2s 1) log x
log x
(log x)2

(1

2s )(1

3s )(1

Remembering (358) and making s 1 in (361) we obtain

1
O(1)
2

= e log (x) + + S1 (x) +


.
x
x log x
1 12 1 13 1 15 1 1p
(362)
It follows from this and (347) that

1
2

1
1 15 1 1p
1
3

log 2
log 3
log p
1
= +
+
+ +
+O
.
21 31
p1
p log p

(363)

140

NICOLAS AND ROBIN

69. We shall consider the order of xr . Putting r = 1 in (319) we have

log 1 + x1s
=
;
log x1
and so
log(1+x1s )
log x1

xr

1 xrs(r +1)
.
1 xrsr

(364)

Let
t /r

xr = x1r .
Then we have

1+

t /r
x1s r

str (1+ r1 )

1 x1
=
1 x1str

From this we can easily deduce that

log r
1
+O
tr = 1 +
.
s log x1
(log x1 )2

Hence
xr =

1/r
x1

1/(r s)
+O
r

1
log x1

(365)

and so

1/r
.
xr r 1/s x1

(366)

Putting = 2 in (311) we see that the greatest possible value of r is


a2 =

log 1
log x1
log log x1
+ O(1) =
+
+ O(1).
s log 2
log 2
s log 2

(367)

Again
1/3
log N = (x1 ) + (x2 ) + (x3 ) + = (x1 ) + x2 + O x1

(368)

in virtue of (366). It follows from Section 68 and the definition of 5r (x), that, if sr and
s(r + 1) are not equal to 1, then

(sr ) O(x 1sr )


e

5r (x) =
;
{s(r + 1)}
and consequently

5r (xr ) =

(sr ) O x1r1 s
e
{s(r + 1)}

(369)

141

HIGHLY COMPOSITE NUMBERS

in virtue of (366). But if sr or s(r + 1) is unity, it can easily be shown that

1 s
{s(r 1)} O(x r 1
)
e 1
.
5r 1 (xr 1 )5r (xr )5r +1 (xr +1 ) =
{s(r + 2)}
70. We shall now consider the order of
follows from (317) that if 3s 6= 1, then
X

s (N )

(370)

i.e., the maximum order of s (N ). It


1 s
3

(N ) = 51 (x1 )52 (x2 ) | (3s)|e O(x1


s

(371)

in virtue of (367), (369) and (370). But if 3s = 1, we can easily show, by using (362), that
X
(N ) = 51 (x1 )52 (x2 )e O(log log x1 ) .
(372)
s
It follows from Section 68 that

(s)
+ Li{ (x1 )}1s 1 Li{(x1 )}12s

log 51 (x1 ) = log


(2s)
2
1
(1)n
Li{(x1 )}1ns
+ Li{(x1 )}13s
3
n
(
)
1
1
s
s
1 12 s x12 + Ss (x1 )
x12
Li x1
+O
+
2
log x1
(log x1 )2
where n = [1 +

1
];
2s

(373)

and also that, if 3s 6= 1, then,

)
(
1

2 s
(2s)
12s
x
1
+ Li x
;
+O
log 52 (x2 ) = log
2
(3s)
(log x )2

(374)

and when 3s = 1
log 52 (x2 ) = Li

x212s

)
1
s
x12
+O
.
(log x1 )2

(375)

It follows from (371)(375) that


log

X
s

(N ) = log | (s)| + Li{(x1 )}1s

1
Li{(x1 )}12s
2

1
(1)n
+ Li{(x1 )}13s
Li{(x1 )}1ns
3
n
(
)
1
1
s
s
12s x12 + Ss (x1 )
1 12 s
x12
Li x1
+O
+ Li x2
+
2
log x1
(log x1 )2

(376)

142

NICOLAS AND ROBIN

where n = [1 +

But from (368) it is clear that, if m > 0 then

1
].
2s

1/3 1ms
Li{(x1 )}1ms = Li log N x2 + O x1

1 ms
= Li (log N )1ms (1 ms)x2 (log N )ms + O x13
1 ms
x2 (log N )ms
= Li(log N )1ms
.
+ O x13
log log N
By arguments similar to those of Section 42 we can show that

Ss (x1 ) = Ss log N + O x1 (log x1 )2 = Ss (log N ) + O x1s (log x1 )4 .


Hence
log

X
s

1
1
Li(log N )12s + Li(log N )13s
2
3
(1)n
1
1

Li(log N )1ns Li(log N ) 2 s
n
2
1
12s
(log N ) 2 s + Ss (log N )
+
+ Li x2
log log N

1
x2 (log N )s
(log N ) 2 s

+O
(377)
log log N
(log log N )2

(N ) = log | (s)| + Li(log N )1s

where n = [1 +

1
]
2s

and

1/(2s)

x2 = 2

x1
x1 + O
log x1

=2

1/(2s)

p
(log N ) + O

p
(log N )
log log N

in virtue of (365).
P
71. Let us consider the order of s (N ) in the following three cases.
Case I. 0 < s < 12 .
Here we have

1
1
(log N ) 2 s
(log N ) 2 s

+O
.
(log log N )2
s log log N
2
12s

x2
x212s
+O
Li x212s =
(1 2s) log x2
(log x2 )2

1
1
(log N ) 2 s
21/(2s) (log N ) 2 s
+O
.
=
(1 2s) log log N
(log log N )2

1
1
21/(2s) (log N ) 2 s
(log N ) 2 s
x2 (log N )s
=
+O
.
log log N
log log N
(log log N )2

Li(log N ) 2 s = 1
1

(378)

143

HIGHLY COMPOSITE NUMBERS

It follows from these and (377) that


log

X
s

(N ) = Li(log N )1s

1
1
Li(log N )12s + Li(log N )13s
2
3

(1)n
Li(log N )1ns
n

1
1
Ss (log N )
(log N ) 2 s
2s(21/(2s) 1)(log N ) 2 s
+
+O
+
(1 2s) log log N
log log N
(log log N )2

where n = [1 + 2s1 ]. Remembering (358) and (378) and making s


Case II. s = 12 .

1
2

(379)

in (377) we have

2 log 2 1 + S 12 (log N )
p
O(1)
2 1

exp Li (log N ) +
+
(N ) =
12
2
2
log log N
(log log N )2
(380)

Case III. s > 12 .

1
2s(21/(2s) 1) (log N ) 2 s
1s
(N
)
=
|
(s)|
exp
Li(log
N
)

s
2s 1
log log N

1
s
(log N ) 2
Ss (log N )
+O
.
+
log log N
(log log N )2

(381)

Now making s 1 in this we have

X
O(1)
2( 2 1)

p
p
+
S
. (382)
(N
)
=
e
(log
N
)
+
log
log
N

1
1
(log N )
(log N ) log log N
Hence
Lim

(N ) e log log N
1

(log N ) e (2 2 + log 4 ) = 1.558

approximately and
(
)
X
p

Lim
(N ) e log log N
(log N ) e (2 2 4 + log 4 ) = 1.393
1
approximately.
P
The maximum order of s (N ) is easily obtained by multiplying the values of s (N )
1/r
by N s . It may be interesting to see that xr x1 as s ; and ultimately N assumes
the form

e(x1 )+(

1/3

x1 )+(x1 )+

144

NICOLAS AND ROBIN

that is to say the form of a generalised superior highly composite number approaches that
of the least common multiple of the natural numbers when s becomes infinitely large.
The maximum order of s (N ) without assuming the prime number theorem is obtained
by changing log N to log N e O(1) in all the preceding results. In particular
X
(N ) = e {log log N + O(1)}.
(383)
1
72. Let
(1 + 2q + 2q 4 + 2q 9 + )4 = 1 + 8{Q 4 (1)q + Q 4 (2)q 2 + Q 4 (3)q 3 + }.
Then, by means of elliptic functions, we can show that
Q 4 (1)q + Q 4 (2)q 2 + Q 4 (3)q 3 +
3q 3
4q 4
2q 2
q
+
+
+
+
=
2
3
1q
1+q
1q
1 + q4
3q 3
4q 4
2q 2
q
+
+
+
+
=
2
3
1q
1q
1q
1 + q4

8q 8
12q 12
4q 4
+
+
+ .

1 q4
1 q8
1 q 12

(384)

But
q
3q 3
2q 2
+
+ = 1 (1)q + 1 (2)q 2 + 1 (3)q 3 + .
+
1q
1 q2
1 q3
It follows that
Q 4 (N ) 1 (N )

(385)

for all values of N . It also follows from (384) that


(1 41s ) (s) (s 1) = 1s Q 4 (1) + 2s Q 4 (2) + 3s Q 4 (3) + .
Let
N = 2a2 3a3 5a5 pa p
where a 0. Then, the coefficient of q N in
q
3q 3
2q 2
+
+
+
1q
1 q2
1 q3
is
N

1 2a2 1 1 3a3 1 1 5a5 1


1 p a p 1

;
1
1
1
12
13
15
1 p 1

and that in
4q 4
8q 8
12q 12
+
+
+
4
8
1q
1q
1 q 12

(386)

145

HIGHLY COMPOSITE NUMBERS

is 0 when N is not a multiple of 4 and


N

1 2a2 1 1 3a3 1 1 5a5 1


1 p a p 1

1
1
1
12
13
15
1 p 1

when N is a multiple of 4. From this and (384) it follows that, if N is not a multiple of 4,
then
Q 4 (N ) = N

1 2a2 1 1 3a3 1 1 5a5 1


1 p a p 1

;
1
1
1
12
13
15
1 p 1

(387)

and if N is a multiple of 4, then


Q 4 (N ) = 3N

1 2a2 1 1 3a3 1 1 5a5 1


1 p a p 1

.
1 21 1 31 1 51
1 p 1

(388)

It is easy to see from (387) and (388) that, in order that Q 4 (N ) should be of maximum
order, a2 must be 1. From (382) we see that the maximum order of Q 4 (N ) is

O(1)
2( 2 1)
3
+ S1 (log N ) + p
(389)
e log log N p
4
(log N )
(log N ) log log N

3
O(1)
.
= e log log N + p
4
(log N )
It may be observed that, if N is not a multiple of 4, then
Q 4 (N ) = 1 (N );
and if N is a multiple of 4, then
Q 4 (N ) =

31 (N )
.
2a2 +1 1

73. Let
(1 + 2q + 2q 4 + 2q 9 + )6 = 1 + 12{Q 6 (1)q + Q 6 (2)q 2 + Q 6 (3)q 3 + }.
Then, by means of elliptic functions, we can show that
Q 6 (1)q + Q 6 (2)q 2 + Q 6 (3)q 3 +
2

1q
32 q 3
22 q 2
32 q 3
1 12 q
52 q 5
4

+
+
+
+
.
=
3 1 + q2
1 + q4
1 + q6
3 1q
1 q3
1 q5
(390)
But
5
{2 (1)q + 2 (2)q 2 + 2 (3)q 3 + }
3

22 q 2
22 q 2
32 q 3
1 12 q
32 q 3
4 12 q
+
+
+
+

+
+
+

.
=
3 1q
1 q2
1 q3
3 1q
1 q2
1 q3

146

NICOLAS AND ROBIN

It follows that
Q 6 (N )

52 (N ) 2
3

(391)

for all values of N . It also follows from (390) that


4
1
(s 2)1 (s) (s)1 (s 2) = 1s Q 6 (1) + 2s Q 6 (2) + 3s Q 6 (3) + .
3
3
(392)
Let
N = 2a2 3a3 5a5 pa p ,
where a 0. Then from (390) we can show, as in the previous section, that if 2a2 N be
of the form 4n + 1, then
Q 6 (N ) = N

a 1
p1
1 (1) 2 p 2 p
(22 )a2 1 1 (32 )a3 1 1 (52 )a5 1

;
p1
1 22
1 + 32
1 52
1 (1) 2 p 2
(393)

21

and if 2a2 N be of the form 4n 1, then


Q 6 (N ) = N

21

a 1
p1
1 (1) 2 p 2 p
+ (22 )a2 1 1 (32 )a3 1 1 (52 )a5 1

.
p1
1 22
1 + 32
1 52
1 (1) 2 p 2
(394)

It follows from (393) and (394) that, in order that Q 6 (N ) should be of maximum order,
2a2 N must be of the form 4n 1 and a2 , a3 , a7 , a11 , . . . must be 0; 3, 7, 11, . . . being
primes of the form 4n 1. But all these cannot be satisfied at the same time since 2a2 N
cannot be of the form 4n 1, when a3 , a7 , a11 , . . . are all zeros. So let us retain a single
prime of the form 4n 1 in the end, that is to say, the largest prime of the form 4n 1 not
exceeding p. Thus we see that, in order that Q 6 (N ) should be of maximum order, N must
be of the form
5a5 .13a13 .17a17 pa p . p 0
where p is a prime of the form 4n + 1 and p 0 is the prime of the form 4n 1 next above or
below p; and consequently
Q 6 (N ) =

5 2 1 52(a5 +1) 1 132(a13 +1)


1 p 2(a p +1)

{1 ( p 0 )2 }.
N
2
2
3
15
1 13
1 p 2

147

HIGHLY COMPOSITE NUMBERS

From this we can show that the maximum order of Q 6 (N ) is


n
o

log log N
1
O(log log N )
1
1
1
2

Li 2 log
+O

5N
Li
1
+
+
2
N
log N (log N )
2
2 log N
log N (log N )
5N 2 e

=
1
1
1
1
1
1
1
3 1 52 1 132 1 172 1 292
3 1 52 1 132 1 172 1 2912
(395)
where 5, 13, 17, . . . are the primes of the form 4n + 1
74. Let
(1 + 2q + 2q 4 + 2q 9 + )8
= 1 + 16{Q 8 (1)q + Q 8 (2)q 2 + Q 8 (3)q 3 + }.
Then, by means of elliptic functions, we can show that
Q 8 (1)q + Q 8 (2)q 2 + Q 8 (3)q 3 +
23 q 2
33 q 3
43 q 4
13 q
+
+
+
+ .
=
1+q
1 q2
1 + q3
1 q4

(396)

But
3 (1)q + 3 (2)q 2 + 3 (3)q 3 +
23 q 2
33 q 3
13 q
+
+
+ .
=
2
1q
1q
1 q3
It follows that
Q 8 (N ) 3 (N )

(397)

for all values of N . It can also be shown from (396) that


(1 21s + 42s ) (s) (s 3) = Q 8 (1)1s + Q 8 (2)2s + Q 8 (3)3s + .

(398)

Let
N = 2a2 .3a3 .5a5 pa p ,
where a 0. Then from (396) we can easily show that, if N is odd, then
1 p 3(a p +1)
1 23(a2 +1) 1 33(a3 +1)

;
1 23
1 33
1 p 3

(399)

1 p 3(a p +1)
1 15.23(a2 +1) 1 33(a3 +1)

.
3
3
12
13
1 p 3

(400)

Q 8 (N ) = N 3
and if N is even then
Q 8 (N ) = N 3

148

NICOLAS AND ROBIN

Hence the maximum order of Q 8 (N ) is


(3)N 3 e

Li(log N )2 +O

= (3)N

(log N )5/2
log log N

1 + Li(log N )

(log N )5/2
+O
log log N

or more precisely

6(21/6 1)(log N )5/2


S3 (log N )
(log N )5/2
(3)N 3 1 + Li(log N )2
+
+O
.
5 log log N
log log N
(log log N )2
(401)
75. There are of course results corresponding to those of Sections 7274 for the various
powers of Q where

q2
q4
q5
q

+ .
Q =1+6
1q
1 q2
1 q4
1 q5
Thus for example

q
4q 4
5q 5
2q 2
2 = 1 + 12
+
+
+

,
+
( Q)
1q
1 q2
1 q4
1 q5
2

2 2
2 4
2 5
3 = 1 q 1 q 2 q + 4 q 5 q +
( Q)
1q
1 q2
1 q4
1 q5

22 q 2
33 q 3
12 q
+
+
+ ,
+ 27
1 + q + q2
1 + q2 + q4
1 + q3 + q6
3

3 2
3 3
4 = 1 + 24 1 q + 2 q + 3 q +
( Q)
1q
1 q2
1 q3

3 3
3 6
6q
93 q 9
3q
+
+
+ .
+8
1 q3
1 q6
1 q9

(402)

(403)

(404)

The number of ways in which a number can be expressed in the forms m 2 +2n 2 , k 2 +l 2 +
2m 2 + 2n 2 , m 2 + 3n 2 , and k 2 + l 2 + 3m 2 + 3n 2 can be found from the following formulae.
(1 + 2q + 2q 4 + 2q 9 + )(1 + 2q 2 + 2q 8 + 2q 18 + )

q5
q7
q3
q

,
+
= 1+2
1q
1 q3
1 q5
1 q7
(1 + 2q + 2q 4 + 2q 9 + )2 (1 + 2q 2 + 2q 8 + 2q 18 + )2

q
2q 2
3q 3
4q 4
= 1+4
+
+
+
+

,
1 q2
1 q4
1 q6
1 q8
(1 + 2q + 2q 4 + 2q 9 + )(1 + 2q 3 + 2q 12 + 2q 27 + )

q2
q4
q5
q7
q

,
= 1+2
1q
1 + q2
1 + q4
1 q5
1 q7

(405)

(406)

(407)

149

HIGHLY COMPOSITE NUMBERS

(1 + 2q + 2q 4 + 2q 9 + )2 (1 + 2q 3 + 2q 12 + 2q 27 + )2

2q 2
q
4q 4
5q 5
7q 7
+
= 1+4
+
+
+
+
1+q
1 q2
1 q4
1 + q5
1 + q7

(408)

where 1, 2, 4, 5 . . . are the natural numbers without the multiples of 3.


Notes
52. The definition of Q 2 (N ) given in italics is missing in [18]. It has been formulated in the same terms as
the definition of Q 2 (N ) given in Section 55. For N 6= 0, 4Q 2 (N ) is the number of pairs (x, y) Z 2 such that
x 2 + y2 = N .
Formula (269) links together Dirichlets series and Lamberts series (see [5], p. 258).
53. Effective upper bounds for Q 2 (N ) can be found in [21], p. 50 for instance:

(log 2)(log N )
1 log 2
2.40104
log Q 2 (N )
.
1+
+
2
log log N
log log N
(log log N )
The maximal order of Q 2 (N ) is studied in [8], but not so deeply as here. See also [12], pp. 218219.
54. For a proof of (276), see [25], p. 22. In (276), we remind the reader that is a zero of the Riemann zeta-function.
Formula (279) has been rediscovered and extended to all arithmetical progressions [23].
56. For a proof of (291), see [25], p. 22. In the definition of R2 (x), between formulas (290) and (291), and in the
P x
P x 2
definition of 8(N ), after formula (294), three misprints in [18] have been corrected, namely
and
2
22
P x
P x 2
have been written instead of
and
2 , and R2 (2 log N ) instead of R2 (log N ).
57. Effective upper bounds for d2 (N ) can be found in [21], p. 51, for instance:

(log 3)(log N )
1
5.5546
log d2 (N )
.
1+
+
2
log log N
log log N
(log log N )
For a more general study of dk (n), when k and n go to infinity, see [3] and [14].
58. The words in italics do not occur in [18] where the definition of s (N ) and the proof of (301) were missing.
It is not clear why Ramanujan considered s (N ) only with s 0. Of course he knew that
s (N ) = N s s (N ),
(cf. for instance Section 71, after formula (382)), but for s > 0 the generalised highly composite numbers for
s (N ) are quite different, and for instance property (303) does not hold for them.
59. It would be better to call these numbers s-generalised highly composite numbers, because their definition
depends on s. For s = 1, these numbers have been called superabundant by Alaoglu and Erdos (cf. [1, 4])
and the generalised superior highly composite numbers have been called colossally abundant. The solution of
2s + 4s + 8s = 3s + 9s is approximately 1.6741.
6061. For s = 1, the results of these sections are in [1] and [4].
62.
P The references given here, formula (16) and Section 38 are from [16]. For a geometrical interpretation of
s (N ), see [12], p. 230. Consider the piecewise linear function u 7 f (u) such that for all generalised superior
highly composite numbers N , f (log N ) = log s (N ), then for all N ,
X
(N ) = exp( f (log N )).
s
R
r)
d xr should be read
Infinite integrals mean in fact definite integrals. For instance, in formula (320), (x
xr
R xr (t)
dt.
2
t
64. Formula (329) is proved in [25] p. 29 from the classical explicit formula in prime number theory.
65. There is a misprint in the last term of formula (340) in [18], but, may be it is only a mistake of copying,
since the next formula is correct. This section belongs to the part of the manuscript which is not handwritten by
Ramanujan in [18].

150

NICOLAS AND ROBIN

151

HIGHLY COMPOSITE NUMBERS


Table of largely composite numbers.
n

1
*2
3
4
*6
8
10
*12
18
20
24
30
36
48
*60
72
84
90
96
108
*120
168
180
240
336
*360
420
480
504
540
600
630
660
672
720
840
1080
1260
1440
1680
2160
*2520
3360
3780
3960
4200
4320
4620
4680
*5040

1
2
2
3
4
4
4
6
6
6
8
8
9
10
12
12
12
12
12
12
16
16
18
20
20
24
24
24
24
24
24
24
24
24
30
32
32
36
36
40
40
48
48
48
48
48
48
48
48
60

n
7560
2
9240
3
10080
12600
22
2.3
13860
23
15120
2.5
18480
22 .3
20160
2.32
25200
27720
22 .5
23 .3
30240
2.3.5
32760
36960
22 .32
24 .3
37800
40320
22 .3.5
23 .32
41580
22 .3.7
42840
43680
2.32 .5
25 .3
45360
22 .33
50400
*55440
23 .3.5
23 .3.7
65520
22 .32 .5
75600
83160
24 .3.5
24 .3.7
98280
110880
23 .32 .5
22 .3.5.7
131040
25 .3.5
138600
151200
23 .32 .7
22 .33 .5
163800
23 .3.52
166320
196560
2.32 .5.7
22 .3.5.11
221760
25 .3.7
262080
277200
24 .32 .5
23 .3.5.7
327600
332640
23 .33 .5
22 .32 .5.7
360360
25 .32 .5
393120
415800
24 .3.5.7
24 .33 .5
443520
23 .32 .5.7
471240
480480
25 .3.5.7
22 .33 .5.7
491400
23 .32 .5.11
498960
554400
23 .3.52 .7
25 .33 .5
655200
22 .3.5.7.11 665280
23 .32 .5.13 *720720
24 .32 .5.7
831600

d
64
64
72
72
72
80
80
84
90
96
96
96
96
96
96
96
96
96
100
108
120
120
120
128
128
144
144
144
144
144
160
160
168
168
180
180
192
192
192
192
192
192
192
192
200
216
216
224
240
240

n
23 .33 .5.7
942480
23 .3.5.7.11
982800
25 .32 .5.7
997920
23 .32 .52 .7
1053360
22 .32 .5.7.11
1081080
24 .33 .5.7
1330560
1413720
24 .3.5.7.11
26 .32 .5.7
*1441440
24 .32 .52 .7
1663200
23 .32 .5.7.11
1801800
25 .33 .5.7
1884960
23 .32 .5.7.13
1965600
25 .3.5.7.11
2106720
23 .33 .52 .7
2162160
27 .32 .5.7
2827440
22 .33 .5.7.11
2882880
23 .32 .5.7.17
3326400
25 .3.5.7.13
3603600
24 .34 .5.7
*4324320
25 .32 .52 .7
5405400
24 .32 .5.7.11
5654880
24 .32 .5.7.13
5765760
24 .33 .52 .7
6126120
23 .33 .5.7.11
6320160
23 .33 .5.7.13
6486480
25 .32 .5.7.11
7207200
25 .32 .5.7.13
8648640
23 .32 .52 .7.11
10810800
25 .33 .52 .7
12252240
23 .32 .52 .7.13
12972960
24 .33 .5.7.11
13693680
24 .33 .5.7.13
14137200
26 .32 .5.7.11
14414400
26 .32 .5.7.13
17297280
24 .32 .52 .7.11
18378360
24 .32 .52 .7.13
20540520
25 .33 .5.7.11
*21621600
23 .32 .5.7.11.13 24504480
25 .33 .5.7.13
27387360
23 .33 .52 .7.11
28274400
27 .32 .5.7.11
28828800
23 .32 .5.7.11.17 30270240
25 .3.5.7.11.13
30630600
23 .33 .52 .7.13
31600800
24 .34 .5.7.11
32432400
25 .32 .52 .7.11
36756720
25 .32 .52 .7.13
41081040
26 .33 .5.7.11
43243200
24 .32 .5.7.11.13 49008960
24 .33 .52 .7.11
54774720

d
240
240
240
240
256
256
256
288
288
288
288
288
288
320
320
336
336
360
384
384
384
384
384
384
400
432
448
480
480
480
480
480
504
512
512
512
576
576
576
576
576
576
576
576
600
640
640
672
672
672

24 .32 .5.7.11.17
24 .33 .52 .7.13
25 .34 .5.7.11
24 .32 .5.7.11.19
23 .33 .5.7.11.13
27 .33 .5.7.11
23 .33 .5.7.11.17
25 .32 .5.7.11.13
25 .33 .52 .7.11
23 .32 .52 .7.11.13
25 .32 .5.7.11.17
25 .33 .52 .7.13
25 .32 .5.7.11.19
24 .33 .5.7.11.13
24 .33 .5.7.11.17
26 .32 .5.7.11.13
26 .33 .52 .7.11
24 .32 .52 .7.11.13
25 .33 .5.7.11.13
23 .33 .52 .7.11.13
25 .33 .5.7.11.17
27 .32 .5.7.11.13
23 .32 .5.7.11.13.17
25 .33 .5.7.11.19
24 .34 .5.7.11.13
25 .32 .52 .7.11.13
26 .33 .5.7.11.13
24 .33 .52 .7.11.13
24 .32 .5.7.11.13.17
25 .34 .5.7.11.13
24 .32 .5.7.11.13.19
24 .33 .52 .7.11.17
26 .32 .52 .7.11.13
27 .33 .5.7.11.13
23 .33 .5.7.11.13.17
23 .33 .5.7.11.13.19
25 .33 .52 .7.11.13
25 .32 .5.7.11.13.17
25 .32 .5.7.11.13.19
25 .33 .52 .7.11.17
27 .32 .52 .7.11.13
25 .33 .5.72 .11.13
23 .32 .52 .7.11.13.17
25 .33 .52 .7.11.19
24 .34 .52 .7.11.13
24 .33 .5.7.11.13.17
24 .33 .5.7.11.13.19
26 .33 .52 .7.11.13
26 .32 .5.7.11.13.17
26 .32 .5.7.11.13.19

152

n
56548800
60540480
61261200
64864800
68468400
73513440
82162080
86486400
91891800
98017920
99459360
102702600
107442720
108108000
109549440
110270160
122522400
136936800
147026880
164324160
183783600
205405200
220540320

NICOLAS AND ROBIN

d
672
672
720
720
720
768
768
768
768
768
768
768
768
768
768
800
864
864
896
896
960
960
960

26 .33 .52 .7.11.17


26 .33 .5.72 .11.13
24 .32 .52 .7.11.13.17
25 .34 .52 .7.11.13
24 .32 .52 .7.11.13.19
25 .33 .5.7.11.13.17
25 .33 .5.7.11.13.19
27 .33 .52 .7.11.13
23 .33 .52 .7.11.13.17
27 .32 .5.7.11.13.17
25 .33 .5.7.11.13.23
23 .33 .52 .7.11.13.19
25 .33 .5.7.11.17.19
25 .33 .53 .7.11.13
27 .32 .5.7.11.13.19
24 .34 .5.7.11.13.17
25 .32 .52 .7.11.13.17
25 .32 .52 .7.11.13.19
26 .33 .5.7.11.13.17
26 .33 .5.7.11.13.19
24 .33 .52 .7.11.13.17
24 .33 .52 .7.11.13.19
25 .34 .5.7.11.13.17

232792560
245044800
273873600
294053760
328648320
349188840
*367567200
410810400
465585120
490089600
497296800
514594080
537213600
547747200
551350800
616215600
698377680
735134400
821620800
931170240
994593600
1029188160
1074427200

960
1008
1008
1024
1024
1024
1152
1152
1152
1152
1152
1152
1152
1152
1200
1200
1280
1344
1344
1344
1344
1344
1344

24 .32 .5.7.11.13.17.19
26 .32 .52 .7.11.13.17
26 .32 .52 .7.11.13.19
27 .33 .5.7.11.13.17
27 .33 .5.7.11.13.19
23 .33 .5.7.11.13.17.19
25 .33 .52 .7.11.13.17
25 .33 .52 .7.11.13.19
25 .32 .5.7.11.13.17.19
27 .32 .52 .7.11.13.17
25 .33 .52 .7.11.13.23
25 .33 .5.72 .11.13.17
25 .33 .52 .7.11.17.19
27 .32 .52 .7.11.13.19
24 .34 .52 .7.11.13.17
24 .34 .52 .7.11.13.19
24 .33 .5.7.11.13.17.19
26 .33 .52 .7.11.13.17
26 .33 .52 .7.11.13.19
26 .32 .5.7.11.13.17.19
26 .33 .52 .7.11.13.23
26 .33 .5.72 .11.13.17
26 .33 .52 .7.11.17.19

This table has been built to explain the table handwritten by S. Ramanujan which is displayed on p. 150. An
integer n is said largely composite if m n d(m) d(n). The numbers marked with one asterisk are
superior highly composite numbers.

Notes (Continued)

The approximations given for 1/ mn comes from the Pade approximant of t in the neighborhood of t = 1:
3t+1
1
8
t+3 = 1/( 3 + 3(3t+1) ).
68. There are two formulas (362) in [18], p. 299. Formula (362) can be found in [11]. As observed by Birch (cf.
[2], p. 74), there is some similarity between the calculation of Section 63 to Section 68, and those appearing in [18],

pp. 228232. In formulas (356) and (357) Li{ (x)}1s should be read Li({ (x)}1s ), the same for Li log N in
(380) and for several other formulas.
71. There is a wrong sign in formula (379) of [18], and also in formulas (381) and (382). The two inequalities

following formula (382) were also wrong. In formula (380), the right coefficient in the right hand side is 22 (1/2)

instead of 2 (1/2) in [18]. It follows from (382) that under the Riemann hypothesis, and for n 0 large enough,
n > n 0 (n)/n e log log n.
It has been shown in [22] that the above relation with n 0 = 5040 is equivalent to the Riemann hypothesis.
72. Formula (384) is due to Jacobi. For a proof see [5] p. 311. See also [6], pp. 132160. In formula (389) of
[18], the sign of the second term in the curly bracket was wrong.
73. Formula (390) is proved in [15], p. 198 (90.3). It is true that if
N = 5a5 13a13 17a17 pa p p 0
with p 0 p, then Q 6 (N ) will have the maximal order (395). But, if we define a superior champion for
qQ 6 , that

is to say an N which maximises Q 6 (N )N 2 for an > 0, it will be of the above form, with p 0 p log2 p . In
(395), the error term was written O( (log N )3/21 log log N ) in [18], cf. [25].
74. Formula (396) is proved in [15], p. 198 (90.4). In formula (401) the sign of the third term in the curly bracket
was wrong in [18]. In [18], the right hand side of (398) was written as the left hand side of (396).

153

HIGHLY COMPOSITE NUMBERS

Table, p. 150: This table calculated by Ramanujan occurs on p. 280 in [18]. It should be compared to the
table of largely composite numbers, p. 151152. The entry 150840 is not a largely composite number:
150840 = 23 .32 .5.419

and d(150840) = 48

while the four numbers 4200, 151200, 415800, 491400 are largely composite and do not appear in the table of
Ramanujan. Largely composite numbers are studied in [9].

References
1. L. Alaoglu and P. Erdos, On highly composite and similar numbers, Trans. Amer. Math. Soc. 56 (1944),
448469.
2. B.J. Birch, A look back at Ramanujans notebook, Math. Proc. Camb. Phil. Soc. 78 (1975), 7379.
3. J.L. Duras, J.L. Nicolas, and G. Robin, Majoration des fonctions dk (n), (to appear).
4. P. Erdos and J.L. Nicolas, Repartition des nombres superabondants, Bull. Soc. Math. France 103 (1975),
113122.
5. G.H. Hardy and E.M. Wright, An Introduction to the Theory of Numbers, Oxford, 1971.
6. G.H. Hardy, Ramanujan, Cambridge Univ. Press, 1940 and Chelsea, 1978.
7. J.L. Nicolas, Repartition des nombres hautement composes de Ramanujan, Canadian J. Math. 23 (1971),
115130.
8. J.L. Nicolas, Grandes Valeurs Des Fonctions Arithmetiques, Seminaire D.P.P. Paris, (16e annee, 1974/75),
n o . G20, p. 5.
9. J.L. Nicolas, Repartition des nombres largement composes, Acta Arithmetica 34 (1980), 379390.
10. J.L. Nicolas and G. Robin, Majorations explicites pour le nombre de diviseurs de N, Canad. Math. Bull. 26
(1983), 485492.
11. J.L. Nicolas, Petites valeurs de la fonction dEuler, Journal of Number Theory 17 (1983), 375388.
12. J.L. Nicolas, On Highly Composite Numbers, Ramanujan revisited, Academic Press, 1988, pp. 216244.
13. J.L. Nicolas, On Composite Numbers, Number Theory, Madras 1987, Lecture Notes in Maths. 1395, edited
by K. Alladi, Springer Verlag, 1989, pp. 1820.
14. K.K. Norton, Upper bounds for sums of powers of divisor functions, J. Number Theory 40 (1992), 6085.
15. H. Rademacher, Topics in Analytic Number Theory, Springer Verlag, 1973.
16. S. Ramanujan, Highly Composite Numbers, Proc. London Math. Soc. Serie 2 14 (1915), 347400.
17. S. Ramanujan, Collected Papers, Cambridge University Press, 1927, and Chelsea 1962.
18. S. Ramanujan, The Lost Notebook and Other Unpublished Papers, Narosa Publishing House and Springer
Verlag, New Delhi, 1988.
19. R.A. Rankin, Ramanujans manuscripts and notebooks II, Bull. London Math. Soc. 21 (1989), 351365.
20. G. Robin, Sur lordre maximum de la fonction somme des diviseurs, Seminaire Delange-Pisot-Poitou. Paris,
19811982; Progress in Mathematics Birkhauser, 38 (1983), 223244.
21. G. Robin, Grandes valeurs de fonctions arithmetiques et probl`emes doptimisation en nombres entiers, Th`ese
dEtat, Universite de Limoges, France, 1983.
22. G. Robin, Grandes valeurs de la fonction somme des diviseurs et hypoth`ese de Riemann, J. Math. Pures et
Appl. 63 (1984), 187213.
23. G. Robin, Sur la difference Li((x)) (x), Ann. Fac. Sc. Toulouse 6 (1984), 257268.
24. G. Robin, Grandes valeurs de la fonction somme des diviseurs dans les progressions arithmetiques, J. Math.
Pures et Appl. 66 (1987), 337349.
25. G. Robin, Sur des Travaux non publies de S. Ramanujan sur les Nombres Hautement Composes, Publications
du departement de Mathematiques de lUniversite de Limoges, France, 1991, pp. 160.

You might also like