OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,0,0,1,-4).
FORMULA
G.f.: x*(3+2*x^2+x^3) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 02 2015
a(n) = 4*a(n-1) + a(n-4) - 4*a(n-5). - Wesley Ivan Hurt, Apr 25 2023
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 2, 1}], 4], {n, 30}] (* Harvey P. Dale, May 09 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved