OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,0,0,1,-10).
FORMULA
a(n) = 10*a(n-1) + a(n-4) - 10*a(n-5). G.f.: x*(2+x+3*x^2) / ((x-1)*(10*x-1)*(1+x)*(x^2+1)). - R. J. Mathar, Oct 05 2009
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 1, 3, 0}]], {n, 20}] (* Harvey P. Dale, Feb 24 2025 *)
PROG
(PARI) Vec(x*(2+x+3*x^2)/((x-1)*(10*x-1)*(1+x)*(x^2+1)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
KEYWORD
nonn,base,easy,changed
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Aug 16 2011
STATUS
approved