cp's OEIS Frontend

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.

A357257 Number of n-node tournaments that have exactly three circular triads.

Original entry on oeis.org

240, 2880, 33600, 403200, 5093760, 68275200, 972787200, 14724864000, 236396160000, 4016659046400, 72067387392000, 1362306097152000, 27071765360640000, 564357385912320000, 12317692759916544000, 280955128203509760000
Offset: 5

Views

Author

Keywords

Examples

			a(6) = 6!*(2*(6-4) + (1/3)*(6-5)*(6-6) + (1/162)*(6-6)*(6-7)*(6-8)*[6>5]) = 2880.
		

Crossrefs

Programs

  • Mathematica
    Table[n!*(2*(n-4) + (1/3)*(n-5)*(n-6) + (1/162)*(n-6)*(n-7)*(n-8)*Boole[n>5]), {n,5,20}] (* Stefano Spezia, Sep 27 2022 *)

Formula

a(n) = n!*(2*(n-4) + (1/3)*(n-5)*(n-6) + (1/162)*(n-6)*(n-7)*(n-8)*[n>5]) (see Kadane).
E.g.f.: (x^4 - 18*x^3 + 72*x^2 - 108*x + 54)*x^5/((3^3)*(1-x)^4).