login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062753 Multiples of 4 whose sum of digits is also a multiple of 4. 4
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; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Sequence is infinite since 4*10^k, k>=0 is a subsequence. - Michel Marcus, Jun 29 2018
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 1001 terms from Harry J. Smith)
FORMULA
Is a(n) ~ 16*n? - David A. Corneth, Jun 29 2018
EXAMPLE
44 is a term of the sequence since 4 + 4 = 8 which is also a multiple of 4;
112 is a term of the sequence since 1 + 1 + 2 = 4 and 4 is obviously a multiple of 4.
8 is a multiple of 4. Numbers having digitsum 8 and are divisible by 4 below 1000 are: {8, 44, 80, 116, 152, 224, 260, 332, 404, 440, 512, 620, 800}. - David A. Corneth, Jun 29 2018
MATHEMATICA
Select[4 Range[250], Mod[Plus @@ IntegerDigits@ #, 4] == 0 &] (* Giovanni Resta, Jun 29 2018 *)
PROG
(PARI) { forstep (a=4, 10^3, 4, if (sumdigits(a)%4 == 0, print1(a, ", "))) } \\ Harry J. Smith, Aug 10 2009
CROSSREFS
Subsequence of A008586.
Sequence in context: A228755 A007215 A195677 * A062898 A343810 A165458
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
Offset set to 1 by Giovanni Resta, Jun 29 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 20 05:24 EDT 2024. Contains 375310 sequences. (Running on oeis4.)