OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..444
Eric Weisstein's World of Mathematics, Graph Cycle
Eric Weisstein's World of Mathematics, Transposition Graph
FORMULA
a(n) = n!*(binomial(n,3) + 116*binomial(n,4) + 105*binomial(n,5) + 30*binomial(n,6)). - Andrew Howroyd, Mar 13 2018
a(n) = n!*binomial(n, 3)*(n^3 + 9*n^2 + 16*n - 152)/4.
E.g.f.: x^3*(1+113*x-124*x^2+40*x^3)/(1-x)^7. - Robert Israel, Mar 14 2018
MAPLE
seq(n!*binomial(n, 3)*(n^3 + 9*n^2 + 16*n - 152)/4, n=1..30); # Robert Israel, Mar 14 2018
MATHEMATICA
Table[n! Binomial[n, 3] (n^3 + 9 n^2 + 16 n - 152)/4, {n, 20}]
PROG
(PARI) a(n) = n!*(binomial(n, 3) + 116*binomial(n, 4) + 105*binomial(n, 5) + 30*binomial(n, 6)); \\ Andrew Howroyd, Mar 13 2018
(PARI) x='x+O('x^99); concat([0, 0], Vec(serlaplace(x^3*(1+113*x-124*x^2+40*x^3)/(1-x)^7))) \\ Altug Alkan, Mar 14 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Mar 13 2018
EXTENSIONS
Terms a(9) and beyond from Andrew Howroyd, Mar 13 2018
STATUS
approved