A297575 Numbers whose sum of divisors is divisible by 10.
19, 24, 27, 29, 38, 40, 54, 56, 57, 58, 59, 76, 79, 87, 88, 89, 95, 104, 108, 109, 114, 116, 118, 120, 133, 135, 136, 139, 145, 149, 152, 158, 168, 171, 174, 177, 178, 179, 184, 189, 190, 199, 203, 209, 216, 218, 228, 229, 232, 236, 237, 239, 247, 248
Offset: 1
Keywords
Examples
19 is in the sequence, since sigma(19) = 20, which is divisible by 10. 20 is not in the sequence as sigma(20) = 42, which isn't divisible by 10.
References
- I. Niven, H. S. Zuckermann and H. L. Montgomery, An Introduction to the Theory of Numbers, John Wiley and Sons, 1991, pages 4-20.
Links
- Zoltan Galantai, Table of n, a(n) for n = 1..1591
- Zoltan Galantai, List of numbers up to 3 million whose sum of divisors is divisible by 10
Programs
-
Maple
select(n -> numtheory:-sigma(n) mod 10 = 0, [$1..1000]); # Robert Israel, Jan 02 2018
-
Mathematica
Select[Range@250, Mod[DivisorSigma[1, #], 10] == 0 &] (* Robert G. Wilson v, Jan 03 2018 *)
-
PARI
is(n) = sigma(n) % 10 == 0 \\ David A. Corneth, Jan 01 2018
Comments