A383007 Exponent of the highest power of 2 dividing the n-th cubefull number.
0, 3, 4, 0, 5, 6, 0, 0, 7, 3, 0, 8, 0, 4, 9, 0, 3, 0, 5, 3, 10, 4, 0, 6, 3, 4, 11, 0, 0, 0, 5, 3, 0, 0, 7, 4, 5, 12, 0, 3, 6, 4, 3, 0, 0, 8, 5, 6, 13, 0, 4, 0, 7, 3, 5, 4, 0, 9, 0, 6, 0, 7, 14, 0, 0, 3, 3, 3, 0, 5, 8, 4, 6, 5, 0, 3, 3, 10, 0, 0, 0, 0, 7, 8, 15
Offset: 1
Links
Programs
-
Mathematica
IntegerExponent[Select[Range[100000], # == 1 || Min[FactorInteger[#][[;; , 2]]] > 2 &], 2]
-
PARI
iscubefull(k) = if(k == 1, 1, my(e = factor(k)[, 2]); vecmin(e) > 2); list(lim) = for(k = 1, lim, if(iscubefull(k), print1(valuation(k, 2), ", ")));