OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 1, -1).
FORMULA
G.f.: (-3*x^3+2*x^2+4*x+7)/((x-1)^2*(x^2+x+1)). - Harvey P. Dale, Aug 26 2012
MATHEMATICA
a[0] = 7; a[1] = 11; a[2] = 13; a[3] = 17; a[n_Integer?Positive] := a[n] = a[n - 1] + a[n - 3] - a[n - 4]; aa = Table[a[n], {n, 0, 200}]
LinearRecurrence[{1, 0, 1, -1}, {7, 11, 13, 17}, 60] (* Harvey P. Dale, Aug 26 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 21 2005
STATUS
approved