|
|
A218292
|
|
Multiples of 10 such that the sum of their digits is also a multiple of 10.
|
|
4
|
|
|
190, 280, 370, 460, 550, 640, 730, 820, 910, 1090, 1180, 1270, 1360, 1450, 1540, 1630, 1720, 1810, 1900, 2080, 2170, 2260, 2350, 2440, 2530, 2620, 2710, 2800, 2990, 3070, 3160, 3250, 3340, 3430, 3520, 3610, 3700, 3890, 3980, 4060, 4150, 4240, 4330, 4420, 4510
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(38) = 3890 is a multiple of 10, and 3+8+9+0=20 is also a multiple of 10.
|
|
MATHEMATICA
|
Select[ Range[10, 4600, 10], Mod[ Total[ IntegerDigits[#]], 10] == 0 &] (* Jean-François Alcover, Oct 26 2012 *)
|
|
PROG
|
(Magma) [n: n in [10..4600 by 10] | IsZero(&+Intseq(n) mod 10)];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|