OFFSET
1,2
COMMENTS
For n > 1, a(n) is n-2 9's followed by an 8, followed by n 0's. - John Cerkan, May 23 2017
LINKS
Hans Havermann, Table of A093211-A093299
Index entries for linear recurrences with constant coefficients, signature (10, -20).
FORMULA
From Chai Wah Wu, Oct 25 2018: (Start)
a(n) = 110*a(n-1) - 1000*a(n-2) for n > 3.
G.f.: 400*x^2*(25*x + 2)/((10*x - 1)*(100*x - 1)). (End)
EXAMPLE
a(3) is 98000 because its length-3 substrings (980, 800, 000) are all distinct and divisible by 20 and there is no larger number with this property
PROG
(GAP) a:=[800, 98000];; for n in [3..12] do a[n]:=110*a[n-1]-1000*a[n-2]; od; Concatenation([0], a); # Muniru A Asiru, Oct 25 2018
(PARI) concat(0, Vec(400*x^2*(25*x + 2)/((10*x - 1)*(100*x - 1)) + O(x^20))) \\ Felix Fröhlich, Oct 25 2018
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Hans Havermann, Mar 28 2004
EXTENSIONS
a(8)-a(10) from John Cerkan, May 23 2017
More terms from Felix Fröhlich, Oct 25 2018
STATUS
approved