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.

A061425 Sum of digits = 8 times number of digits.

Original entry on oeis.org

8, 79, 88, 97, 699, 789, 798, 879, 888, 897, 969, 978, 987, 996, 5999, 6899, 6989, 6998, 7799, 7889, 7898, 7979, 7988, 7997, 8699, 8789, 8798, 8879, 8888, 8897, 8969, 8978, 8987, 8996, 9599, 9689, 9698, 9779, 9788, 9797, 9869, 9878, 9887, 9896, 9959
Offset: 1

Views

Author

Amarnath Murthy, May 03 2001

Keywords

Examples

			879 is a term as the arithmetic mean of the digits is (8+7+9)/3 = 8.
		

Crossrefs

Programs

  • Maple
    Q:= proc(n,t) option remember; local j,R;
          if t > 9*n or t <= 0 then return [] fi;
          R:= NULL;
          for j from 0 to min(t,9) do
            R:= R, op(map(s -> 10*s+j, procname(n-1,t-j)))
          od;
          [R]
    end proc;
    for i from 0 to 9 do Q(1,i):= [i] od:
    seq(op(sort(Q(d,8*d))),d=1..4); # Robert Israel, Dec 07 2020

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), May 16 2001