OFFSET
1,2
COMMENTS
A divisor d of integer n is highly composite iff more multiples of (n/d) divide n than divide any smaller positive integer. This is because the number of divisors of n that are multiples of (n/d) equals the number of divisors of d, or A000005(d). (Also see example.)
a(n) = a(n+12) if n is not a multiple of 12.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..100000
Eric Weisstein's World of Mathematics, Highly composite number.
FORMULA
a(n) = Sum_{d|n} A322586(d). - Antti Karttunen, Dec 20 2018
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A352418 = 2.132872... . - Amiram Eldar, Jan 01 2024
EXAMPLE
6 is a multiple of 3 highly composite integers (1, 2 and 6); therefore a(6) = 3.
As the first comment implies, there are also a(6) = 3 values of m such that 6 sets a record for number of divisors that are multiples of m. These values of m are 1, 3 and 6. All four of 6's divisors are multiples of 1; two (namely, 3 and 6) are multiples of 3; and one (namely, 6) is a multiple of 6. Each of these totals exceeds the corresponding total for any positive integer smaller than 6.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Matthew Vandermast, Nov 27 2010
STATUS
approved