login
A057933
Floor[(80/81)*10^n].
1
9, 98, 987, 9876, 98765, 987654, 9876543, 98765432, 987654320, 9876543209, 98765432098, 987654320987, 9876543209876, 98765432098765, 987654320987654, 9876543209876543, 98765432098765432, 987654320987654320
OFFSET
1,1
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).
MATHEMATICA
Floor[80/81*10^Range[20]] (* Harvey P. Dale, May 28 2017 *)
PROG
(PARI) a(n)=10^n*80\81
CROSSREFS
Cf. A057932.
Sequence in context: A076758 A085868 A147637 * A064617 A225608 A220490
KEYWORD
nonn
AUTHOR
Henry Bottomley, Oct 04 2000
STATUS
approved