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
KEYWORD
nonn
AUTHOR
Henry Bottomley, Oct 04 2000
STATUS
approved