OFFSET
1,4
LINKS
FORMULA
EXAMPLE
36 has 9 divisors: 1, 2, 3, 4, 6, 9, 12, 18, 36. When A002034 is applied to them, one obtains values [1, 2, 3, 4, 3, 6, 4, 6, 6], thus there are six divisors that do not obtain the maximal value 6 obtained at 36 itself, therefore a(36) = 6.
MATHEMATICA
a[n_]:=(m=1; While[Mod[m!, n]!=0, m++]; m); Table[Length@Select[Divisors@k, a@#<a@k&], {k, 100}] (* Giorgos Kalogeropoulos, Jul 03 2021 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 02 2021
STATUS
approved