A328557 Arithmetic numbers (A003601) that are not squares (A000290).
3, 5, 6, 7, 11, 13, 14, 15, 17, 19, 20, 21, 22, 23, 27, 29, 30, 31, 33, 35, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 51, 53, 54, 55, 56, 57, 59, 60, 61, 62, 65, 66, 67, 68, 69, 70, 71, 73, 77, 78, 79, 83, 85, 86, 87, 89, 91, 92, 93, 94, 95, 96, 97, 99, 101, 102
Offset: 1
Keywords
Programs
-
Magma
[m: m in [1..10^5] | IsIntegral(SumOfDivisors(m) / NumberOfDivisors(m)) and not IsIntegral(Sqrt(m))]
-
Mathematica
Select[Range[100], !IntegerQ @ Sqrt[#] && Divisible[DivisorSigma[1, #], DivisorSigma[0, #]] &] (* Amiram Eldar, Oct 20 2019 *)
-
PARI
isA328557(n) = (!issquare(n)&&!(sigma(n)%numdiv(n))); \\ Antti Karttunen, Oct 19 2019
Comments