A328954 Numbers m that are neither arithmetic (A003601) nor antiharmonic (A020487).
2, 8, 10, 12, 18, 24, 26, 28, 32, 34, 40, 48, 52, 58, 63, 72, 74, 75, 76, 80, 82, 84, 88, 90, 98, 104, 106, 108, 112, 120, 122, 124, 128, 130, 136, 146, 148, 152, 156, 160, 162, 170, 171, 172, 175, 176, 178, 192, 194, 202, 208, 216, 218, 226, 228, 232, 234
Offset: 1
Keywords
Programs
-
Magma
[m: m in [1..10^5] | not IsIntegral(SumOfDivisors(m) / NumberOfDivisors(m)) and not IsIntegral(&+[d^2: d in Divisors(m)] / SumOfDivisors(m))]
-
Mathematica
Select[Range[235], !Divisible[DivisorSigma[2, #], (s = DivisorSigma[1, #])] && !Divisible[s, DivisorSigma[0, #]] &] (* Amiram Eldar, Dec 06 2019 *)
Comments