(MAGMAMagma) [1] cat [(n^6+51*n^5-407*n^4-99*n^3+7750*n^2-22416*n+20160)* Factorial(2*n-9)/(6*Factorial(n)*Factorial(n-5)): n in [5..30]]; // Vincenzo Librandi, Oct 30 2018
(MAGMAMagma) [1] cat [(n^6+51*n^5-407*n^4-99*n^3+7750*n^2-22416*n+20160)* Factorial(2*n-9)/(6*Factorial(n)*Factorial(n-5)): n in [5..30]]; // Vincenzo Librandi, Oct 30 2018
editing
approved
(MAGMA) [1] cat [(n^6+51*n^5-407*n^4-99*n^3+7750*n^2-22416*n+20160)* Factorial(2*n-9)/(6*Factorial(n)*Factorial(n-5)): n in [5..30]]; // Vincenzo Librandi, Oct 30 2018
a[4] = 1; a[n_] := (n^6 + 51n51 n^5 - 407n407 n^4 - 99n99 n^3 + 7750n7750 n^2 - 22416n 22416 n + 20160) (2n 2 n - 9)!/(6 n! (n - 5)!);
(MAGMA) [1] cat [(n^6+51*n^5-407*n^4-99*n^3+7750*n^2-22416*n+20160)*Factorial(2*n - 9) / (6*Factorial(n) / 6 / *Factorial(n - 5)*(n^6 + 51*n^5 - 407*n^4 - 99*n^3 + 7750*n^2 - 22416*n + 20160): n in [5..30]]; // Vincenzo Librandi, Oct 30 2018
proposed
editing
editing
proposed
1, 14, 82, 410, 1918, 8657, 38225, 166322, 716170, 3059864, 12994936, 54924212, 231235054, 970347575, 4060697955, 16952812170, 70629116910, 293720506860, 1219498444500, 5055891511980, 20933654593020, 86571545598642, 357628915621698, 1475896409177780
Vincenzo Librandi, <a href="/A082971/b082971.txt">Table of n, a(n) for n = 4..1000</a>
(MAGMA) [1] cat [Factorial(2*n - 9) / Factorial(n) / 6 / Factorial(n - 5)*(n^6 + 51*n^5 - 407*n^4 - 99*n^3 + 7750*n^2 - 22416*n + 20160): n in [5..30]]; // Vincenzo Librandi, Oct 30 2018
proposed
editing
editing
proposed
T. Mansour and A. Vainshtein, <a href="httphttps://arXivarxiv.org/abs/math.CO/0105073">Counting occurrences of 132 in a permutation</a>, arXiv:math/0105073 [math.CO], 2001.
proposed
editing
editing
proposed