OFFSET
1,4
COMMENTS
Also the maximum length of a divisibility chain of consecutive divisors of n less than n.
The divisors of n (except 1) are row n of A027749.
EXAMPLE
The divisors of 272 greater than 1 are {2, 4, 8, 16, 17, 34, 68, 136, 272}, with divisibility chains {{2, 4, 8, 16}, {17, 34, 68, 136, 272}}, so a(272) = 5.
MATHEMATICA
Table[If[n==1, 0, Max@@Length/@Split[DeleteCases[Divisors[n], 1], Divisible[#2, #1]&]], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 14 2019
STATUS
approved