OFFSET
1,2
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..511
EXAMPLE
The number 120 is 10th in the sequence of highly composite numbers, since it sets a record for the divisor counting function. The index of this number in A025487 is 17.
MATHEMATICA
Block[{P = Product[Prime@ i, {i, 8}], s, t, u}, s = Array[DivisorSigma[0, #] &, P]; t = Array[If[# == 1, {0}, Sort[FactorInteger[#][[All, -1]], Greater]] &, P]; u = Values[PositionIndex@ t][[All, 1]]; Map[FirstPosition[u, #][[1]] &, FirstPosition[s, #][[1]] & /@ Union@ FoldList[Max, s]] ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Mar 12 2019
STATUS
approved