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.

A357242 Number of n node tournaments that have exactly two circular triads.

Original entry on oeis.org

24, 240, 2240, 21840, 228480, 2580480, 31449600, 412473600, 5801241600, 87178291200, 1394852659200, 23683435776000, 425430061056000, 8062248370176000, 160770717499392000, 3365514444644352000, 73798027581358080000, 1691677863018823680000, 40464026199993876480000
Offset: 4

Views

Author

Ian R Harris, Sep 19 2022

Keywords

Examples

			For n = 4 the a(4) = 24 solution is 4!*(4 - 3 + (1/18)*(4 - 4)*(4 - 5)) = 24.
		

Programs

  • R
    fact(n)*(n-3+(1/18)*(n-4)*(n-5))

Formula

a(n) = n!*(n - 3 + (1/18)*(n - 4)*(n - 5)) (proven by Kadane).