OFFSET
1,1
LINKS
Bruno Berselli, Table of n, a(n) for n = 1..1000
EXAMPLE
145 is a multiple of 5, and its digits, 1, 4, 5, add up to 10, which is also a multiple of 5. [Alonso del Arte, Oct 27 2012]
MATHEMATICA
Select[ Range[5, 1300, 5], Mod[ Total[ IntegerDigits[#]], 5] == 0 &] (* Jean-François Alcover, Oct 26 2012 *)
PROG
(Magma) [n: n in [5..1300 by 5] | IsZero(&+Intseq(n) mod 5)];
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Bruno Berselli, Oct 25 2012
STATUS
approved