OFFSET
1,1
COMMENTS
The corresponding indices of the highly composite numbers are 2, 5, 10, 14, 18, 19, 30, 40, ... (see the link for more values). - Amiram Eldar, Jul 17 2019
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1374
EXAMPLE
120 is in the sequence because d(120)=16 and the previous highly composite number is 60 with d(60)=12, the gap between the number of divisor 16-12=4 is the maximum with number <=120
MATHEMATICA
s={}; dmax = dmprev= gapmax=0; Do[d = DivisorSigma[0, k]; If[d > dmax , dmprev = dmax; dmax = d; gap = dmax - dmprev ; If[gap > gapmax, gapmax = gap; AppendTo[s, k]]], {k, 1, 1500000}]; s (* Amiram Eldar, Jul 17 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Stefano Lanfranco (lastefano(AT)yahoo.it), Jul 08 2004
EXTENSIONS
Definition edited by Harvey P. Dale, Apr 09 2018
More terms from Amiram Eldar, Jul 17 2019
STATUS
approved