OFFSET
0,3
COMMENTS
Row sums of the triangle in A214084.
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
G.f.: x*(1+23*x+153*x^2+161*x^3+22*x^4)/(1-x)^7. - Bruno Berselli, Jul 09 2012
a(0)=0, a(1)=1, a(2)=30, a(3)=342, a(4)=1960, a(5)=7575, a(6)=22806, a(n)=7*a(n-1)-21*a(n-2)+35*a(n-3)-35*a(n-4)+21*a(n-5)-7*a(n-6)+a(n-7). - Harvey P. Dale, Dec 12 2012
MATHEMATICA
Table[n^2 (n^4 - n^2 + n + 1)/2, {n, 0, 29}] (* Bruno Berselli, Jul 09 2012 *)
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 1, 30, 342, 1960, 7575, 22806}, 40] (* Harvey P. Dale, Dec 12 2012 *)
PROG
(Haskell)
a214085 n = n^2 * (n^4 - n^2 + n + 1) `div` 2
(Magma) [n^2*(n^4-n^2+n+1)/2: n in [0..29]]; // Bruno Berselli, Jul 09 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jul 07 2012
STATUS
approved