Skip to main content
Springer logoLink to Springer
. 2020 Aug 3;56(2):729–742. doi: 10.1007/s11139-020-00299-2

Highly composite polynomials and the maximum order of the divisor function in Fq[t]

Ardavan Afshar 1,
PMCID: PMC8550348  PMID: 34720673

Abstract

We investigate the analogues, in Fq[t], of highly composite numbers and the maximum order of the divisor function, as studied by Ramanujan. In particular, we determine a family of highly composite polynomials which is not too sparse, and we use it to compute the logarithm of the maximum of the divisor function at every degree up to an error of a constant, which is significantly smaller than in the case of the integers, even assuming the Riemann Hypothesis.

Keywords: Highly composite numbers, Divisor function, Arithmetic of polynomials over finite fields

Introduction

In [4], Ramanujan investigated the divisor function d(n), the number of divisors of n. Being interested in the maximum order of d(n), he defined highly composite integers n to be those for which d(n)>d(n) for all n>n, so that D(N):=max{d(n)|nN} is given by d(n) for the largest highly composite nN. He was able to compute logD(N) up to an error of at most O(e-cloglogNlogN) unconditionally and O(logN(loglogN)3) assuming the Riemann Hypothesis. Ramanujan studied carefully the prime factorisation of the highly composite integers, and his results were improved by Alaoglu and Erdős in [1], who determined the exponent of each prime in the factorisation of a highly composite number up to an error of at most 1.

We consider the question of maximising the divisor function in the function field setting. Let Fq be a finite field, M={fFq[t]monic}, Mn={fM:degf=n}, I={fMirreducible}, In={fI:degf=n}, and π(n)=|I(n)|=1nd|nμ(d)qn/d where μ(d) is the Möbius function. For fM, let τ(f) be the number of monic divisors of f, and observe that a generic polynomial f in M is of the form

f=pIpapwithdegf=pIapdegpandτ(f)=pI(1+ap) 1

where only finitely many ap are non-zero. We wish to understand the polynomials which maximise the function τ up to a given degree, defined thus:

Definition 1.1

We call fM a highly composite polynomial of degree n if τ(f)=max{τ(g)|gmnMm}.

Remark 1.2

Highly composite polynomials of a given degree are not necessarily unique. For example, all linear polynomials in M1 are highly composite polynomials of degree 1.

Remark 1.3

There is (at least) one new highly composite polynomial at each degree. Indeed, let f be a highly composite polynomial of degree n and suppose otherwise, so that degf=m<n. Then pick some gMn-m, so that fgMn but τ(fg)=#{dM:d|fg}#({dM:d|f}{fg})>τ(f), which is a contradiction.

Remark 1.4

If f=pIpap is a highly composite polynomial, then degpi<degpj implies apiapj. Indeed, suppose otherwise and set g=fpiapj-apipjapi-apj, so that τ(g)=τ(f) but degg=degf-(apj-api)(pj-pi)<degf, which contradicts Remark 1.3.

Remark 1.5

See “Appendix” for an illustrative table of highly composite polynomials in F2[t].

We first investigate a family of highly composite polynomials {h(x)}x>0 (following Ramanujan in [4]), which we define as follows:

Definition 1.6

Let x>0. We say that h=h(x)M is an x-superior highly composite polynomial, or just x-SHC, if for all fM we have

τ(h)qdegh/xτ(f)qdegf/xifdeghdegf,>τ(f)qdegf/xifdegh<degf, 2

and we say that h is an x-semi-superior highly composite polynomial, or x-SSHC, if for all fM we have

τ(h)qdegh/xτ(f)qdegf/x. 3

A polynomial which is x-SHC or x-SSHC for some x>0 is called superior highly composite or semi-superior highly composite, respectively.

Remark 1.7

Clearly, if hM is x-SHC, then it is x-SSHC. Moreover, any polynomial h which is x-SSHC is highly composite, since if fM with degfdegh, then by Eq. (3) we have that

τ(f)τ(h)q(degh-degf)/xτ(h).

After defining a particular set for the parameter x of an x-SSHC,

Definition 1.8

letting

S=Sq:=slogqlog(1+1/r):s,r1,

we are able to determine the structure of the superior highly composite polynomials.

Theorem 1

Let x>0.

  1. There is one, and only one, x-SHC polynomial, namely
    h^=h^(x)=k1pIkpakwhereak=ak(x)=1qk/x-1 4
    Moreover, h^ is the unique highly composite polynomial of its degree.
  2. If x<x are two consecutive elements of S, then h^(x)=h^(x) for all xx<x. So, there is a one-to-one correspondence between S and the set of superior highly composite polynomials, given by xh^(x),

and that of the semi-superior highly composite polynomials

Theorem 2

Let x>0.

  1. If xS, then there is only one x-SSHC polynomial, namely the polynomial h^(x) defined in Eq. (4).

  2. If x=slogqlog(1+1/r)S, then there are 2π(s) x-SSHC polynomials of the form
    h(x)=h^(x)Pi1Piv
    where h^(x) is as in equation (4), 0vπ(s), Pi1,,PivIs distinct, and degh(x)=degh^(x)-vs. Moreover, the unique polynomials h given by v=π(s) and v=0 are two (distinct) consecutive superior highly composite polynomials.
  3. If h(x) is x-SSHC and gMdegh(x) is a highly composite polynomial, then g is also x-SSHC.

This family of semi-superior highly composite polynomials is not too sparse, so we can use it to construct polynomials at every degree which make the divisor function close to its maximum. In particular, if we let T(N):=max{τ(f)|fMN}, then we are able to compute logT(N) within an error of at most log43:

Theorem 3

Let x=slogqlog(1+1/r)S, h^=h^(x) and ak=ak(x) be defined as in Eq. (4), and h be an x-SSHC polynomial of degree degh^(x)-vs with 0v<π(s). Then, if N=degh-u with 0us-1, we have

logT(N)=logτ(h)ifu=0logτ(h)-ϵ(N)otherwise,

where

uslog1+1rϵ(N)log1+1au.

Moreover, the size of this range for ϵ(N) is at most log(1+1au(au+2))log43.

Remark 1.9

From the final sentence of part 2 of Theorem 2, we know that the (distinct) superior highly composite polynomial h^(x) immediately preceding h^(x) has degree degh^(x)=degh^(x)-π(s)s. So, the form of N in Theorem 3 accounts for all integers between the degrees of these two consecutive superior highly composite polynomials. Therefore, for any N1, we can find x>0 so as to express N in the form presented in Theorem 3.

Superior highly composite polynomials

We begin by showing, contingent on some auxiliary lemmas proven subsequently, that

Proposition 2.1

For each x>0, the function τ(f)qdegf/x is maximised over all fM by (at least one) h=h(x)M. Moreover, if we write h=pIpap=pIpap(x), we have that

  1. If xS, then ap(x)=1qdegp/x-1 for each pI and so h is unique.

  2. Else, if x=slogqlog(1+1/r)S, so that r=1qs/x-1, then
    ap(x)=1qdegp/x-1ifdegps,rorr-1ifdegp=s
    and so there are 2π(s) such polynomials h.

Proof

From (1), we can write

τ(f)qdegf/x=pI1+apqapdegp/x=exppIlog(1+ap)-apdegplogqx

so that to maximise τ(f)qdegf/x, for each pI we must maximise the quantity ϕap:=log(1+ap)-αap with α=degplogqx.

If xS, then α cannot be written as log(1+1j) for any integer j, so by Lemma 2.3 we have that ϕap is maximised if and only if ap=1eα-1=1qdegp/x-1.

Otherwise, if xS, then by Lemma 2.4 there is a unique pair (sr) such that x=slogqlog(1+1/r). Therefore, if degps, then α cannot be written as log(1+1j) for any integer j, so by Lemma 2.3 we have that ϕap is maximised if and only if ap=1eα-1=1qdegp/x-1. Else, if degp=s, then α=log(1+1r) and so by Lemma 2.3 we have that ϕap is maximised if and only if ap=r or r-1.

Remark 2.2

Notice in both cases that ap(x) is zero for degp>xlog2logq, so that the factorisation of h is in fact a finite product.

This leads us first to the proof of Theorem 1:

Proof of Theorem 1

For x>0, let h^=h^(x)=k1pIkpak with ak(x)=1qk/x-1, and for x=slogqlog(1+1/r)S, let E=E(x) be the set of polynomials defined in part 2 of Proposition 2.1.

  1. If xS, then from part 1 of Proposition 2.1, we know that for all fM, we have
    τ(h^)qdegh^/x>τ(f)qdegf/x
    and so h^ is the unique x-SHC. Moreover, if degfdegh^ then
    τ(h^)>τ(f)q(degh^-degf)/xτ(f)
    and so h^ is the unique highly composite polynomial of its degree. Otherwise, if x=slogqlog(1+1/r)S, so that r=1qs/x-1, we observe that h^=pIpa^p with
    a^p=a^p(x)=1qdegp/x-1=1qdegp/x-1ifdegpsrifdegp=s
    so that h^(x)E. Therefore, by part 2 of Proposition 2.1, we have that
    τ(h^)qdegh^/x=τ(f)qdegf/xiffE,>τ(f)qdegf/xiffE,
    and that for all fE\{h^}, we have degfdegh^-s<degh^. Therefore h^ is the unique x-SHC, and moreover, if degfdegh^ then
    τ(h^)=τ(f)q(degh^-degf)/x>τ(f)iffE,>τ(f)q(degh^-degf)/xτ(f)iffE,
    and so h^ is the unique highly composite polynomial of its degree.
  2. Let x<x be two consecutive elements of S, and let x~=min{x>x:h^(x)h^(x)}. There are some k~ such that ak~(x~)=m>ak~(x). Therefore we must have that
    x<k~logqlog1+1mx~<k~logqlog1+11+m
    and by the minimality of x~ we must have that
    x~=k~logqlog1+1mS.
    So, by the minimality of x~ and the definition of x, we conclude that x~=x, and therefore that h^(x)=h^(x) for all xx<x. It follows that there is a one-to-one correspondence between S and the set of superior highly composite polynomials, given by xh^(x).

Then we move to the proof of Theorem 2:

Proof of Theorem 2

For x>0, let h^=h^(x)=k1pIkpak with ak(x)=1qk/x-1, and for x=slogqlog(1+1/r)S, let E=E(x) be the set of polynomials defined in part 2 of Proposition 2.1.

  1. If xS, then the result follows from part 1 of Proposition 2.1.

  2. If x=slogqlog(1+1/r)S, then from part 2 of Proposition 2.1, we have that the x-SSHC polynomials are precisely the 2π(s) polynomials in the set E, which we can rewrite as
    E=h(x)=h^(x)Pi1Piv:0vπ(s)andPi1,,PivIsdistinct.
    When v=0, h(x)=h^(x) is superior highly composite. When v=π(s), h(x)=k1pIkpa~k where
    a~k=a~k(x)=ak(x)ifks,r-1ifk=s.
    Now, let y=max{xS:x<x} so that, by the definition of x and y, we have
    slogqlog1+1r-1y<x=slogqlog1+1r
    and so ak(y)=r-1. When ks, by Lemma 2.4, we cannot have that x=klogqlog(1+1/ak(x))S, and so
    klogqlog1+1ak(x)<x<klogqlog1+11+ak(x).
    This means that, by the definition of y, we have for ks that
    klogqlog1+1ak(x)y<x<klogqlog1+11+ak(x)
    and so ak(y)=ak(x). Therefore, we have that h^(y)=h(x) and so, by part 2 of Theorem 1, h(x) is the (distinct) superior highly composite polynomial immediately preceding h^(x).
  3. Let h(x) be x-SSHC and gMdegh(x) be a highly composite polynomial. If xS, then by part 1 of Theorem 2, h(x)=h^(x), and by part 1 of Theorem 1, h^(x) is the unique highly composite polynomial of its degree, so g=h^(x)=h(x). Else, if xS, then by part 2 of Proposition 2.1, we have that hE and
    τ(h)qdegh/x=τ(f)qdegf/xiffE,>τ(f)qdegf/xiffE.
    Therefore τ(g)=τ(h) if, and only if, gE which means that g is also x-SSHC.

Finally we conclude by proving the auxiliary lemmas used in the proof of Proposition 2.1, namely

Lemma 2.3

Let α>0 and consider the sequence (ϕn)n0 defined by ϕn=log(1+n)-αn. We have that

  1. If log(1+1j+1)<α<log(1+1j) for some integer j, then ϕn is maximised if and only if n=j=1eα-1.

  2. Else, if α=log(1+1j) for some integer j, then ϕn is maximised if and only if n=j or j-1.

Proof

Let Δn=ϕn-ϕn-1=log(1+1n)-α for n1. Then we have that

  1. If log(1+1j+1)<α<log(1+1j), then Δn>0 when nj, and Δn<0 when n>j.

  2. Else, if α=log(1+1j), then Δn>0 when n<j, Δj=0 and Δn<0 when n>j.

and

Lemma 2.4

Let xS. Then there is a unique pair (sr) such that x=slogqlog(1+1/r).

Proof

Suppose otherwise, so that x=slogqlog(1+1/r)=Slogqlog(1+1/R) with (rs) and (RS) distinct. If s=S then r=R, so it must be that sS and in particular we may assume without loss of generality that S>s so that Ss>1.

Now slogqlog(1+1/r)=Slogqlog(1+1/R) implies 1+1Rs=1+1rS and therefore (R+1)sRs=(r+1)SrS. However, (R+1)sRs and (r+1)Srs are irreducible fractions, so we must have that Rs=rS and (R+1)s=(r+1)S. So, (1+r)S/s=1+R=1+rS/s, but (1+x)α>1+xα for x>0 and α>1, which is a contradiction.

The maximum value of the divisor function at each degree

Since the family of semi-superior highly composite polynomials is not too sparse, we can use it to construct polynomials at every degree which make the divisor function close to its maximum, and thus prove Theorem 3:

Proof of Theorem 3

If u=0, then N=degh, and by Theorem 2, h is highly composite, so T(N)=τ(h). Otherwise, if 1us-1, we have by Remark 1.4 that au(x)as(x)=r1. So, if we pick PIu and let g=hP, then gM with degg=degh-u=N and therefore

T(N)τ(g)=τ(h)au1+au=τ(h)1+1au.

On the other hand, by Theorem 2, h is x-SSHC, and so for any fMN, we have

τ(f)τ(h)q(degf-degh)/x=τ(h)q-u/x

and therefore

T(N)τ(h)q-u/x=τ(h)1+1r-us.

Overall, this gives us that

logqu/x=uslog1+1rlogτ(h)-logT(N)log1+1au. 5

Now, since

au=1qu/x-11qu/x-1-1,

we have that

qu/x1+11+au

and so the size of the range in equation (5) is at most

log1+1au-log1+11+au=log1+1au(au+2)log43.

Acknowledgements

The author would like to thank Andrew Granville for his encouragement and thoughtful advice, Sam Porritt for useful discussions, contributions and references, and the anonymous referee for suggestions which led to an extensive revision of the entire article.

Appendix: Table of highly composite polynomials in F2[t]

We conclude with a table of highly composite polynomials in F2[t], in which SSHC polynomials are additionally marked with and SHC polynomials are additionally marked with . We denote the monic irreducible polynomials in F2[t] by P1(t),P2(t), in ascending order of the value which they take on t=2 (so that, if degPi>degPj, then i>j), and we write fM in the form f=P1a1P2a2 in order to shorten the printing. We have listed the explicit values of P1(t),,P14(t), which are all of the irreducible polynomials which appear in the factorisations of polynomials in our table of highly composite polynomials, in Table 1, along with the values which they take on t=2.

Table 1.

Table of ordered monic irreducible polynomials in F2[t]

i Pi(t)I degPi Pi(2)
1 t 1 2
2 t+1 1 3
3 t2+t+1 2 7
4 t3+t+1 3 11
5 t3+t2+1 3 13
6 t4+t+1 4 19
7 t4+t3+1 4 25
8 t4+t3+t2+t+1 4 31
9 t5+t2+1 5 37
10 t5+t3+1 5 41
11 t5+t3+t2+t+1 5 47
12 t5+t4+t2+t+1 5 55
13 t5+t4+t3+t+1 5 59
14 t5+t4+t3+t2+1 5 61

The algorithm which we use to compute highly composite polynomials is an adaption of the algorithm used to compute highly composite numbers in [2]. Though we take q=2, it works in the same way for any Fq[t], and we give a brief description as follows.

We first define the set M(k)M of polynomials whose prime factors are in {P1,,Pk}, and we call fM(k) a k-highly composite polynomial if τ(f)=max{τ(g)|gM(k)anddeggdegf}. Then we let HC(k,n)M(k) be the set of k-highly composite polynomials of degree exactly n, and make the following observations:

  • If f=P1a1P2a2Pk-1ak-1PkakHC(k,n), then g=P1a1P2a2Pk-1ak-1HC(k-1,n-akdegPk). Otherwise, if we had some hHC(k-1,n-akdegPk) with τ(h)>τ(g) then we would have τ(hPkak)>τ(f) even though hPkakM(k) with deghPkak=n, which would be a contradiction.

  • If fHC(k,n), and PiaiPjaj divides f with degPj>degPi, then aiaj. The proof of this is identical to that presented in Remark 1.4.

The first observation allows us to iteratively compute HC(k,n), as long as we know HC(k-1,m) for all mn. In particular, for each j0 with n-jdegPk0, we pick any (one) gjHC(k-1,n-jdegPk), and determine which values of j maximise τ(gjPkj). Once we have determined such a set J={j1,,jr} we can conclude that

HC(k,n)={fjPkj:jJ,fjHC(k-1,n-jdegPk)}.

It is trivial to observe that the base case HC(1,n)={P1n} for all n0, and we proceed inductively from there.

The second observation allows to note that, if {P1,,Pk}=abIa for some b1, and degP1Pkn, then the set HC(k,n) is in fact the set of highly composite polynomials of degree n. Thus, once we have HC(k,n), by taking k sufficiently large, we are able to compute the highly composite polynomials of degree n (Table 2).

Table 2.

Table of highly composite polynomials in F2[t]

fM degf τ(f)
P11 1 2
P21 1 2
P11P21 2 4
P12P21 3 6
P11P22 3 6
P12P22 4 9
P13P22 5 12
P12P23 5 12
P12P21P31 5 12
P11P22P31 5 12
P12P22P31 6 18
P13P22P31 7 24
P12P23P31 7 24
P13P23P31 8 32
P14P23P31 9 40
P13P24P31 9 40
P14P24P31 10 50
P13P23P31P41 11 64
P13P23P31P51 11 64
P14P23P31P41 12 80
P13P24P31P41 12 80
P14P23P31P51 12 80
P13P24P31P51 12 80
P14P24P31P41 13 100
P14P24P31P51 13 100
P13P23P31P41P51 14 128
P14P23P31P41P51 15 160
P13P24P31P41P51 15 160
P14P24P31P41P51 16 200
P15P24P31P41P51 17 240
P14P25P31P41P51 17 240
P14P23P32P41P51 17 240
P13P24P32P41P51 17 240
P14P24P32P41P51 18 300
P15P24P32P41P51 19 360
P14P25P32P41P51 19 360
P15P25P32P41P51 20 432
P16P25P32P41P51 21 504
P15P26P32P41P51 21 504
P14P24P32P41P51P61 22 600
P14P24P32P41P51P71 22 600
P14P24P32P41P51P81 22 600
P15P24P32P41P51P61 23 720
P14P25P32P41P51P61 23 720
P15P24P32P41P51P71 23 720
P14P25P32P41P51P71 23 720
P15P24P32P41P51P81 23 720
P14P25P32P41P51P81 23 720
P15P25P32P41P51P61 24 864
P15P25P32P41P51P71 24 864
P15P25P32P41P51P81 24 864
P16P25P32P41P51P61 25 1008
P15P26P32P41P51P61 25 1008
P16P25P32P41P51P71 25 1008
P15P26P32P41P51P71 25 1008
P16P25P32P41P51P81 25 1008
P15P26P32P41P51P81 25 1008
P14P24P32P41P51P61P71 26 1200
P14P24P32P41P51P61P81 26 1200
P14P24P32P41P51P71P81 26 1200
P15P24P32P41P51P61P71 27 1440
P14P25P32P41P51P61P71 27 1440
P15P24P32P41P51P61P81 27 1440
P14P25P32P41P51P61P81 27 1440
P15P24P32P41P51P71P81 27 1440
P14P25P32P41P51P71P81 27 1440
P15P25P32P41P51P61P71 28 1728
P15P25P32P41P51P61P81 28 1728
P15P25P32P41P51P71P81 28 1728
P16P25P32P41P51P61P71 29 2016
P15P26P32P41P51P61P71 29 2016
P16P25P32P41P51P61P81 29 2016
P15P26P32P41P51P61P81 29 2016
P16P25P32P41P51P71P81 29 2016
P15P26P32P41P51P71P81 29 2016
P14P24P32P41P51P61P71P81 30 2400
P15P24P32P41P51P61P71P81 31 2880
P14P25P32P41P51P61P71P81 31 2880
P15P25P32P41P51P61P71P81 32 3456
P16P25P32P41P51P61P71P81 33 4032
P15P26P32P41P51P61P71P81 33 4032
P16P26P32P41P51P61P71P81 34 4704
P17P26P32P41P51P61P71P81 35 5376
P16P27P32P41P51P61P71P81 35 5376
P16P25P33P41P51P61P71P81 35 5376
P15P26P33P41P51P61P71P81 35 5376
P16P26P33P41P51P61P71P81 36 6272
P17P26P33P41P51P61P71P81 37 7168
P16P27P33P41P51P61P71P81 37 7168
P17P27P33P41P51P61P71P81 38 8192
P16P26P33P42P51P61P71P81 39 9408
P16P26P33P41P52P61P71P81 39 9408
P16P26P32P41P51P61P71P81P91 39 9408
P16P26P32P41P51P61P71P81P101 39 9408
P16P26P32P41P51P61P71P81P111 39 9408
P16P26P32P41P51P61P71P81P121 39 9408
P16P26P32P41P51P61P71P81P131 39 9408
P16P26P32P41P51P61P71P81P141 39 9408

Remark A.1

In F2[t], there are certain degrees at which there is a unique highly composite polynomial of that degree, but where that polynomial is neither SHC nor SSHC (see degrees 10, 30 and 38 in the table of highly composite polynomials, for example). We leave for further investigation the question of whether there are infinitely many degrees with this property.

Footnotes

The research leading to these results has received funding from the European Research Council under the European Union’s Seventh Framework Programme (FP7/2007-2013), ERC Grant Agreement No. 670239.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Alaoglu L, Erdős P. On highly composite and similar numbers. Trans. Am. Math. Soc. 1944;56(3):448–469. doi: 10.2307/1990319. [DOI] [Google Scholar]
  • 2.Kedlaya, K.S.: An algorithm for computing highly composite numbers. https://shreevatsa.github.io/site/assets/hcn/hcn-algorithm.pdf. Accessed 28 May 2020
  • 3.Ramanujan S. Highly composite numbers. Proc. Lond. Math. Soc. 1915;16(2):347–409. doi: 10.1112/plms/s2_14.1.347. [DOI] [Google Scholar]
  • 4.Ramanujan S. Collected Papers of Srinivasa Ramanujan. 1. Cambridge: Cambridge University Press; 1927. [Google Scholar]

Articles from The Ramanujan Journal are provided here courtesy of Springer

RESOURCES