login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A244883
Expansion of (1+6*x+16*x^2+8*x^3+x^4)/(1-x)^8.
1
1, 14, 100, 472, 1691, 4988, 12744, 29160, 61149, 119482, 220220, 386464, 650455, 1056056, 1661648, 2543472, 3799449, 5553510, 7960468, 11211464, 15540019, 21228724, 28616600, 38107160, 50177205, 65386386, 84387564, 107938000, 136911407, 172310896, 215282848
OFFSET
0,2
LINKS
R. P. Stanley, Examples of Magic Labelings, Unpublished Notes, 1973 [Cached copy, with permission]
FORMULA
a(n) = ((n+1)*(n+2)*(n+3)*(n*(n+4)*(n*(16*n+57)+137)+420))/2520. - Todd Silvestri, Nov 16 2014
MATHEMATICA
a[n_Integer/; n>=0]:=((n+1) (n+2) (n+3) (n (n+4) (n (16 n+57)+137)+420))/2520 (* Todd Silvestri, Nov 16 2014 *)
CoefficientList[Series[(1 + 6 x + 16 x^2 + 8 x^3 + x^4) / (1 - x)^8, {x, 0, 100}], x] (* Vincenzo Librandi, Nov 16 2014 *)
LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {1, 14, 100, 472, 1691, 4988, 12744, 29160}, 40] (* Harvey P. Dale, May 11 2020 *)
PROG
(Magma) [((n+1)*(n+2)*(n+3)*(n*(n+4)*(n*(16*n+57)+137)+420))/2520: n in [0..40]]; // Vincenzo Librandi, Nov 16 2014
CROSSREFS
Sequence in context: A099193 A086951 A041370 * A055913 A283805 A005757
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 08 2014
STATUS
approved