This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A151579 #7 May 06 2020 01:37:49 %S A151579 0,7,960,38637,882340,14413894,188690976,2112659718,21078701112, %T A151579 192648942945,1644431982848,13295963811083,102911255502876, %U A151579 768689550213368,5575887557096640,39473882067826332,273820542615005232,1867156445048432043,12548621876834960064 %N A151579 Number of permutations of 1..n arranged in a circle with exactly 6 adjacent element pairs in decreasing order. %H A151579 Andrew Howroyd, <a href="/A151579/b151579.txt">Table of n, a(n) for n = 6..500</a> %F A151579 From _Andrew Howroyd_, May 05 2020: (Start) %F A151579 a(n) = n*A000514(n-1). %F A151579 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) %o A151579 (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 %Y A151579 Column k=6 of A334218. %Y A151579 Cf. A000514. %K A151579 nonn %O A151579 6,2 %A A151579 _R. H. Hardin_, May 21 2009 %E A151579 Terms a(17) and beyond from _Andrew Howroyd_, May 05 2020