OFFSET
0,2
FORMULA
For n >= 1, a(n+5) = (-8 + 5*n)*a(n-1) + (72 - 20*n)*a(n) + (-146 + 21*n)*a(n+1) + (128 - 8*n)*a(n+2) + (-56 + n)*a(n+3) + 12*a(n+4). - Jianing Song, Nov 10 2018
MATHEMATICA
M[n_] := {{0, 1, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0}, {0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 1}, -1*{8 - 5 n, -72 + 20 n, 146 - 21 n, -128 + 8 n, 56 - n, -12}};
v[0] = {1, 12, 90, 548, 2986, 15284};
v[n_] := v[n] = M[n].v[n - 1]
a = Table[v[n][[1]], {n, 0, 30}]
PROG
(PARI) M(n) = [0, 1, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0; 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 1; -8 + 5*n, 72 - 20*n, -146 + 21*n, 128 - 8*n, -56 + n, 12];
T(n) = if(n==0, [1; 12; 90; 548; 2986; 15284], M(n)*T(n-1))
a(n) = T(n)[1, 1] \\ Jianing Song, Nov 10 2018
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Roger L. Bagula, Jun 16 2007
EXTENSIONS
Edited, new name, and offset corrected by Jianing Song, Nov 10 2018
STATUS
approved