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”).

A151579
Number of permutations of 1..n arranged in a circle with exactly 6 adjacent element pairs in decreasing order.
2
0, 7, 960, 38637, 882340, 14413894, 188690976, 2112659718, 21078701112, 192648942945, 1644431982848, 13295963811083, 102911255502876, 768689550213368, 5575887557096640, 39473882067826332, 273820542615005232, 1867156445048432043, 12548621876834960064
OFFSET
6,2
LINKS
FORMULA
From Andrew Howroyd, May 05 2020: (Start)
a(n) = n*A000514(n-1).
a(n) = n*(6^(n-1) - n*5^(n-1) + binomial(n,2)*4^(n-1) - binomial(n,3)*3^(n-1) + binomial(n,4)*2^(n-1) - binomial(n,5)). (End)
PROG
(PARI) a(n) = {n*(6^(n-1) - n*5^(n-1) + binomial(n, 2)*4^(n-1) - binomial(n, 3)*3^(n-1) + binomial(n, 4)*2^(n-1) - binomial(n, 5))} \\ Andrew Howroyd, May 05 2020
CROSSREFS
Column k=6 of A334218.
Cf. A000514.
Sequence in context: A068728 A028990 A304396 * A024098 A172918 A286913
KEYWORD
nonn
AUTHOR
R. H. Hardin, May 21 2009
EXTENSIONS
Terms a(17) and beyond from Andrew Howroyd, May 05 2020
STATUS
approved