OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1, 3, -3, -3, 3, 1, -1).
FORMULA
G.f.: 2*x^2*(1 + x + 3*x^2 + x^3)/((1+x)^3*(1-x)^4). - R. J. Mathar, Dec 19 2008
a(n) = a(n-1) + 3*a(n-2) - 3*a(n-3) - 3*a(n-4) + 3*a(n-5) + a(n-6) - a(n-7).
PROG
(Magma) [Floor(n/2)*Floor(n^2/2): n in [0..60]]; // Vincenzo Librandi, Jun 16 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jul 27 2007
STATUS
approved