cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A216997 Multiples of 8 that have a digit sum which is a multiple of 8.

Original entry on oeis.org

8, 80, 88, 152, 224, 376, 440, 448, 512, 592, 664, 736, 800, 808, 880, 888, 952, 1016, 1096, 1160, 1168, 1232, 1304, 1384, 1456, 1520, 1528, 1672, 1744, 1816, 1896, 1960, 1968, 2024, 2176, 2240, 2248, 2312, 2392, 2464, 2536, 2600, 2608, 2680, 2688, 2752, 2824
Offset: 1

Views

Author

Jon Perry, Sep 22 2012

Keywords

Comments

Between a(5) and a(6) there are 151 terms that does not satisfy the property. [Bruno Berselli, Oct 26 2012]

Examples

			376 = 8*47 and 3+7+6 = 16 = 8*2.
		

Crossrefs

Programs

  • JavaScript
    function sumarray(arr) {
    t=0;
    for (i=0;i
    				
  • Mathematica
    Select[8*Range[400], Mod[Total[IntegerDigits[#]], 8] == 0 &] (* T. D. Noe, Sep 24 2012 *)