OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (4, 0, 0, 1, -4).
FORMULA
a(1)=2, a(2)=11, a(3)=44, a(4)=177, a(5)=710, a(n)=4*a(n-1)+a(n-4)- 4*a(n-5). - Harvey P. Dale, Apr 29 2015
G.f.: ( x*(2+3*x+x^3) ) / ( (x-1)*(4*x-1)*(1+x)*(1+x^2) ). - R. J. Mathar, Oct 14 2015
MATHEMATICA
Module[{nn=30, c}, c=PadRight[{}, nn, {2, 3, 0, 1}]; Table[FromDigits[ Take[ c, n], 4], {n, nn}]] (* or *) LinearRecurrence[{4, 0, 0, 1, -4}, {2, 11, 44, 177, 710}, 30] (* Harvey P. Dale, Apr 29 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved