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

A151657
Number of permutations of 7 indistinguishable copies of 1..n with exactly 3 adjacent element pairs in decreasing order.
1
0, 1225, 818300, 160310458, 22727054364, 2892619063243, 354402440786800, 42837393111682484, 5153280785356119360, 618914057659003904189, 74290570601695876667092, 8915697686087571194412590, 1069916360274028756641650036, 128391238501628502906890984271
OFFSET
1,2
LINKS
FORMULA
a(n) = 120^n - (7*n + 1)*36^n + binomial(7*n+1, 2)*8^n - binomial(7*n+1, 3). - Andrew Howroyd, May 07 2020
PROG
(PARI) a(n) = {120^n - (7*n + 1)*36^n + binomial(7*n+1, 2)*8^n - binomial(7*n+1, 3)} \\ Andrew Howroyd, May 07 2020
CROSSREFS
Sequence in context: A250848 A014795 A267297 * A218273 A046177 A031748
KEYWORD
nonn
AUTHOR
R. H. Hardin, May 29 2009
EXTENSIONS
Terms a(7) and beyond from Andrew Howroyd, May 07 2020
STATUS
approved