OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,0,1,-10).
FORMULA
a(n) = 10*a(n-1) + a(n-3) - 10*a(n-4). G.f.: x*(1+3*x)/((x-1)*(10*x-1)*(1+x+x^2)). - R. J. Mathar, Aug 03 2009
MATHEMATICA
With[{mm=PadRight[{}, 18, {1, 3, 0}]}, Table[FromDigits[Take[mm, n]], {n, 18}]] (* Harvey P. Dale, Dec 13 2011 *)
PROG
(PARI) Vec(x*(1+3*x)/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved