OFFSET
0,2
COMMENTS
T(n,4) of A085475.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1)
FORMULA
G.f.: (1 + 11*x + 15*x^2 + 5*x^3)/(1-x)^4.
a(n) = (16*n^3 + 12*n^2 + 14*n + 3)/3.
MAPLE
MATHEMATICA
Table[(16n^3+12n^2+14n+3)/3, {n, 0, 50}] (* Wesley Ivan Hurt, Nov 12 2013 *)
LinearRecurrence[{4, -6, 4, -1}, {1, 15, 69, 195}, 40] (* Harvey P. Dale, Nov 10 2017 *)
PROG
(Magma) [(16*n^3+12*n^2+14*n+3)/3: n in [0..50]]; // Vincenzo Librandi, Sep 22 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Jul 01 2003
STATUS
approved