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 A038376 #29 Aug 13 2025 19:57:41 %S A038376 0,0,0,0,1,5,12,28,50,90,140,220,315,455,616,840,1092,1428,1800,2280, %T A038376 2805,3465,4180,5060,6006,7150,8372,9828,11375,13195,15120,17360, %U A038376 19720,22440,25296,28560,31977,35853,39900,44460,49210,54530,60060,66220,72611 %N A038376 a(n) = (n-3)*A006918(n-2)/2 for n >= 2, with a(0) = a(1) = 0. %C A038376 a(n) is the maximum number of 4-circuits in an n-tournament. - _Franck Maminirina Ramaharo_, Aug 06 2025 %D A038376 K. B. Reid and L. W. Beineke "Tournaments", pp. 169-204 in L. W. Beineke and R. J. Wilson, editors, Selected Topics in Graph Theory, Academic Press, NY, 1978, p. 186 Theorem 6.11. %H A038376 Colin Barker, <a href="/A038376/b038376.txt">Table of n, a(n) for n = 0..1000</a> %H A038376 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (2,2,-6,0,6,-2,-2,1). %F A038376 From _Colin Barker_, Nov 19 2016: (Start) %F A038376 a(n) = (n^4-3*n^3-4*n^2+12*n)/48 for n even. %F A038376 a(n) = (n^4-3*n^3-n^2+3*n)/48 for n odd. %F A038376 a(n) = 2*a(n-1) + 2*a(n-2) - 6*a(n-3) + 6*a(n-5) - 2*a(n-6) - 2*a(n-7) + a(n-8) for n>7. %F A038376 G.f.: x^4*(1+3*x) / ((1-x)^5 * (1+x)^3). (End) %F A038376 a(n) = n*(n - 3)*(2*n^2 - 3*(-1)^n - 5)/96. - _Paolo Xausa_, Sep 17 2024 (derived from _Bruno Berselli_ formula in A006918) %t A038376 LinearRecurrence[{2, 2, -6, 0, 6, -2, -2, 1}, {0, 0, 0, 0, 1, 5, 12, 28}, 100] %t A038376 (* or *) %t A038376 A038376[n_] := n*(n - 3)*(2*n^2 - 3*(-1)^n - 5)/96; %t A038376 Array[A038376, 100, 0] (* _Paolo Xausa_, Sep 16 2024 *) %o A038376 (PARI) concat(vector(4), Vec(x^4*(1+3*x) / ((1-x)^5 * (1+x)^3) + O(x^100))) \\ _Colin Barker_, Nov 19 2016 %Y A038376 Cf. A006918. %K A038376 nonn,easy %O A038376 0,6 %A A038376 _N. J. A. Sloane_ %E A038376 Name corrected by _Paolo Xausa_, Sep 16 2024