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.

A063416 Multiples of 7 whose sum of digits is equal to 7.

Original entry on oeis.org

7, 70, 133, 322, 511, 700, 1015, 1141, 1204, 1330, 2023, 2212, 2401, 3031, 3220, 4102, 5110, 7000, 10024, 10150, 10213, 10402, 11032, 11221, 11410, 12040, 12103, 13111, 13300, 15001, 20041, 20104, 20230, 21112, 21301, 22120, 23002, 24010
Offset: 1

Views

Author

Klaus Brockhaus, Jul 20 2001

Keywords

Comments

Numbers are all 7 mod 63.

Examples

			133 = 19*7 and 1+3+3 = 7, so 133 is a term of this sequence.
		

Crossrefs

Programs

  • ARIBAS
    : var stk: stack; end; minarg := 0; maxarg := 5000; n := 7; for k := minarg to maxarg do m := k*n; s := itoa(m); for j := 0 to length(s) - 1 do stack_push(stk,atoi(s[j..j])); end; if sum(stack2array(stk)) = n then write(m," "); end; end;.
    
  • Mathematica
    Select[Range[7, 25000, 7], Plus @@ IntegerDigits[ # ] == 7 &]
  • PARI
    forstep(m=0, 70000, 7, if(vecsum(digits(m))==7, print1(m, ", "))) \\ Harry J. Smith, Aug 20 2009