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.

A057933 Floor[(80/81)*10^n].

Original entry on oeis.org

9, 98, 987, 9876, 98765, 987654, 9876543, 98765432, 987654320, 9876543209, 98765432098, 987654320987, 9876543209876, 98765432098765, 987654320987654, 9876543209876543, 98765432098765432, 987654320987654320
Offset: 1

Views

Author

Henry Bottomley, Oct 04 2000

Keywords

Crossrefs

Cf. A057932.

Programs

  • Mathematica
    Floor[80/81*10^Range[20]] (* Harvey P. Dale, May 28 2017 *)
  • PARI
    a(n)=10^n*80\81

Formula

G.f.:(9x+8x^2+7x^3+6x^4+5x^5+4x^6+3x^7+2x^8)/((1-10x)(1-x^9)).
a(n)=10*a(n-1)-(n%9)+10*(n%9!=0).