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.

A132137 a(1)=1, a(n)=maximal digit of sum a(1)+...+a(n-1).

Original entry on oeis.org

1, 1, 2, 4, 8, 6, 2, 4, 8, 6, 4, 6, 5, 7, 6, 7, 7, 8, 9, 1, 2, 4, 8, 6, 2, 4, 8, 6, 4, 6, 5, 7, 6, 7, 7, 8, 9, 2, 3, 6, 2, 4, 8, 6, 3, 5, 4, 4, 8, 6, 6, 8, 7, 8, 9, 3, 3, 6, 3, 5, 3, 3, 6, 3, 5, 4, 4, 8, 6, 6, 8, 7, 8, 9, 4, 4, 8, 6, 4, 6, 4, 6, 4, 6, 5, 7, 6, 7, 7, 8, 9, 5, 6, 5, 7, 5, 9, 8, 6, 5, 7, 6, 7, 7, 8
Offset: 1

Views

Author

Zak Seidov, Oct 31 2007

Keywords

Crossrefs

Cf. A134548.

Programs

  • Mathematica
    a[1]=i=s=1;Do[i++;b=0+Max[IntegerDigits[s]];a[i]=b;s+=b,{225}] Table[a[k],{k,i}]