A377820 Powerful numbers that have a single odd exponent in their prime factorization.
8, 27, 32, 72, 108, 125, 128, 200, 243, 288, 343, 392, 432, 500, 512, 648, 675, 800, 968, 972, 1125, 1152, 1323, 1331, 1352, 1372, 1568, 1728, 1800, 2000, 2048, 2187, 2197, 2312, 2592, 2700, 2888, 3087, 3125, 3200, 3267, 3528, 3872, 3888, 4232, 4500, 4563, 4608, 4913, 5000
Offset: 1
Links
Crossrefs
Programs
-
Mathematica
With[{max = 5000}, Select[Union@ Flatten@Table[i^2 * j^3, {j, 1, max^(1/3)}, {i, 1, Sqrt[max/j^3]}], # > 1 && Count[FactorInteger[#][[;; , 2]], _?OddQ] == 1 &]]
-
PARI
is(k) = if(k == 1, 0, my(e = factor(k)[, 2]); vecmin(e) > 1 && #select(x -> (x%2), e) == 1);
Comments