|
Search: id:A062753
|
|
|
| A062753 |
|
Multiples of 4 such that the sum of their digits is also a multiple of 4. |
|
+0 1
|
|
| 4, 8, 40, 44, 48, 80, 84, 88, 112, 116, 152, 156, 192, 196, 220, 224, 228, 260, 264, 268, 332, 336, 372, 376, 400, 404, 408, 440, 444, 448, 480, 484, 488, 512, 516, 552, 556, 592, 596, 620, 624, 628, 660, 664, 668, 732, 736, 772, 776, 800, 804, 808, 840, 844
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,1000
|
|
EXAMPLE
|
44 is an element of the sequence since 4+4 = 8 which is also a multiple of 4; 112 is an element of the sequence since 1+1+2 = 4 and 4 is obviously a multiple of 4.
|
|
PROGRAM
|
(PARI) SumD(x)= { s=0; while (x>9, s+=x-10*(x\10); x\=10); return(s + x) } { n=-1; forstep (a=4, 10^9, 4, if (SumD(a)%4 == 0, write("b062753.txt", n++, " ", a); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 10 2009]
|
|
CROSSREFS
|
Sequence in context: A032042 A032056 A007215 this_sequence A062898 A165458 A009335
Adjacent sequences: A062750 A062751 A062752 this_sequence A062754 A062755 A062756
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Lisa O Coulter (lisa_coulter(AT)my-deja.com), Jul 15 2001
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org), Jul 24 2001
|
|
|
Search completed in 0.002 seconds
|