A375031 Numbers whose prime factorization has at least one exponent that equals 2 and no higher even exponent.
4, 9, 12, 18, 20, 25, 28, 36, 44, 45, 49, 50, 52, 60, 63, 68, 72, 75, 76, 84, 90, 92, 98, 99, 100, 108, 116, 117, 121, 124, 126, 132, 140, 147, 148, 150, 153, 156, 164, 169, 171, 172, 175, 180, 188, 196, 198, 200, 204, 207, 212, 220, 225, 228, 234, 236, 242, 244, 245
Offset: 1
Examples
4 = 2^2 is a term because it has the exponent 2 in its prime factorization, and no higher even exponent. 144 = 2^4 * 3^2 is not a term because it has the exponent 4 in its prime factorization which is even and larger than 2.
Links
Crossrefs
Programs
-
Mathematica
q[n_] := Max[Select[FactorInteger[n][[;; , 2]], EvenQ]] == 2; Select[Range[250], q]
-
PARI
is(k) = {my(e = select(x -> !(x % 2), factor(k)[,2])); #e > 0 && vecmax(e) == 2;}
Formula
A375033(a(n)) = 2.
Comments