OFFSET
0,2
COMMENTS
Display peculiar digit patterns.
FORMULA
From Chai Wah Wu, Nov 09 2018: (Start)
a(n) = 11111*a(n-1) - 11222110*a(n-2) + 1122211000*a(n-3) - 11111000000*a(n-4) + 10000000000*a(n-5) for n > 4.
G.f.: (-160000000000*x^4 - 102065000000*x^3 - 1753593000*x^2 - 912410*x - 1)/((x - 1)*(10*x - 1)*(100*x - 1)*(1000*x - 1)*(10000*x - 1)). (End)
MATHEMATICA
(FromDigits/@Table[Join[PadLeft[{}, n, 3], {1}], {n, 0, 20}])^4 (* Harvey P. Dale, Oct 20 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Labos Elemer, Oct 20 2004
STATUS
approved