|
|
A001779
|
|
Expansion of 1/((1+x)(1-x)^8).
|
|
6
|
|
|
1, 7, 29, 91, 239, 553, 1163, 2269, 4166, 7274, 12174, 19650, 30738, 46782, 69498, 101046, 144111, 201993, 278707, 379093, 508937, 675103, 885677, 1150123, 1479452, 1886404, 2385644, 2993972
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (-1)^{7-n}*Sum_{i=0..n} ((-1)^(7-i)*binomial(7+i,i)). - Sergio Falcon, Feb 13 2007
|
|
MAPLE
|
A001779 := proc(n) 1/80640*(2*n+9) *(4*n^6 +108*n^5 +1138*n^4 +5904*n^3 +15628*n^2 +19638*n +8925)+(-1)^n/256 ; end proc:
|
|
MATHEMATICA
|
CoefficientList[Series[1/((1 + x) (1 - x)^8), {x, 0, 50}], x] (* G. C. Greubel, Nov 24 2017 *)
LinearRecurrence[{7, -20, 28, -14, -14, 28, -20, 7, -1}, {1, 7, 29, 91, 239, 553, 1163, 2269, 4166}, 30] (* Harvey P. Dale, Jan 21 2023 *)
|
|
PROG
|
(Magma) [1/80640*(2*n+9) *(4*n^6 +108*n^5 +1138*n^4 +5904*n^3 +15628*n^2 +19638*n +8925)+(-1)^n/256 : n in [0..30]]; // Vincenzo Librandi, Oct 08 2011
(PARI) a(n)=(2*n+9)*(4*n^6+108*n^5+1138*n^4+5904*n^3+15628*n^2+19638*n + 8925)/80640 +(-1)^n/256 \\ Charles R Greathouse IV, Apr 17 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|