OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (3, -1, 1, -2).
FORMULA
a(0)=1, a(1)=3, a(2)=8, a(3)=22, a(n)=3*a(n-1)-a(n-2)+a(n-3)-2*a(n-4). - Harvey P. Dale, Oct 12 2012
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1-2x-x^2-2x^3), {x, 0, 30}], x] (* or *) LinearRecurrence[{3, -1, 1, -2}, {1, 3, 8, 22}, 30] (* Harvey P. Dale, Oct 12 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved