OFFSET
0,4
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-9,7,-3,3,-3,1).
FORMULA
MAPLE
nmax:=29: a(0):=0: a(1):=0: a(2):=1: for n from 3 to nmax do a(n):= a(n-1)+a(n-2)+a(n-3)+(8*n^3-48*n^2+112*n-96)/3 od: seq(a(n), n=0..nmax);
MATHEMATICA
RecurrenceTable[{a[0]==a[1]==0, a[2]==1, a[n]==a[n-1]+a[n-2]+a[n-3]+(8n^3-48n^2+112n-96)/3}, a, {n, 30}] (* or *) LinearRecurrence[{5, -9, 7, -3, 3, -3, 1}, {0, 0, 1, 9, 42, 140, 383}, 30] (* Harvey P. Dale, Dec 04 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Sep 21 2010
STATUS
approved