A375536 The maximum exponent in the prime factorization of the largest 5-smooth divisor of n.
0, 1, 1, 2, 1, 1, 0, 3, 2, 1, 0, 2, 0, 1, 1, 4, 0, 2, 0, 2, 1, 1, 0, 3, 2, 1, 3, 2, 0, 1, 0, 5, 1, 1, 1, 2, 0, 1, 1, 3, 0, 1, 0, 2, 2, 1, 0, 4, 0, 2, 1, 2, 0, 3, 1, 3, 1, 1, 0, 2, 0, 1, 2, 6, 1, 1, 0, 2, 1, 1, 0, 3, 0, 1, 2, 2, 0, 1, 0, 4, 4, 1, 0, 2, 1, 1, 1, 3, 0, 2, 0, 2, 1, 1, 1, 5, 0, 1, 2, 2, 0, 1, 0, 3, 1
Offset: 1
Links
Crossrefs
Programs
-
Mathematica
a[n_] := Max[IntegerExponent[n, {2, 3, 5}]]; Array[a, 100]
-
PARI
a(n) = max(max(valuation(n, 2), valuation(n, 3)), valuation(n, 5));