A386259 Exponent of the highest power of 2 dividing the maximum exponent in the prime factorization of n; a(1) = 0.
0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 2, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 2, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 2, 2, 0, 0, 1, 0, 0, 0
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
a[n_] := IntegerExponent[Max[FactorInteger[n][[;; , 2]]], 2]; a[1] = 0; Array[a, 100]
-
PARI
a(n) = if(n == 1, 0, valuation(vecmax(factor(n)[,2]), 2));
Comments