OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (10,0,1,-10).
FORMULA
G.f.: x*(2+3*x^2) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
CoefficientList[Series[(2 + 3 x^2) / ((x - 1) (10 x - 1) (1 + x + x^2)), {x, 0, 20}], x] (* Vincenzo Librandi, Feb 16 2018 *)
Table[FromDigits[PadRight[{}, n, {2, 0, 3}]], {n, 20}] (* Harvey P. Dale, Jul 29 2024 *)
PROG
(Magma) I:=[2, 20, 203, 2032]; [n le 4 select I[n] else 10*Self(n-1)+Self(n-3)-10*Self(n-4): n in [1..30]]; // Vincenzo Librandi, Feb 16 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved