A381953 Numbers k such that A381952(k) = 2.
4, 12, 18, 20, 28, 36, 44, 50, 52, 60, 64, 68, 76, 84, 90, 92, 98, 100, 116, 124, 126, 132, 140, 148, 150, 156, 162, 164, 172, 180, 188, 196, 198, 204, 212, 220, 228, 234, 236, 242, 244, 252, 260, 268, 276, 284, 292, 294, 300, 306, 308, 316, 320, 332, 338, 340
Offset: 1
Examples
4 is a term since A381952(4) = gcd(4, A051903(4)) = gcd(4, 2) = 2.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
q[k_] := GCD[k, Max[FactorInteger[k][[;;, 2]]]] == 2; Select[2*Range[200], q]
-
PARI
isok(k) = !(k % 2) && gcd(k, vecmax(factor(k)[, 2])) == 2;
Comments