A237997 Number of ordered ways to achieve a score of n in American football taking into account different scoring methods.
1, 0, 1, 1, 1, 2, 3, 4, 7, 9, 14, 20, 29, 43, 63, 92, 136, 198, 291, 426, 624, 915, 1341, 1965, 2881, 4221, 6187, 9067, 13288, 19475, 28542, 41830, 61306, 89847, 131678, 192983, 282830, 414508, 607491, 890321, 1304830, 1912320, 2802642, 4107471, 6019791
Offset: 0
Examples
a(8) = 7 because there are seven ways to score a total of 8 points: (a) touchdown and two-point conversion, (b) two field goals and a safety (3 orders), (c) a touchdown and safety (2 orders), and (d) four safeties.
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,0,1,1,1).
Programs
-
Mathematica
CoefficientList[Series[1/((1 + x) (1 - x^3 - x) (x^4 + 1)), {x, 0, 44}], x] (* or *) LinearRecurrence[{0, 1, 1, 0, 0, 1, 1, 1}, {1, 0, 1, 1, 1, 2, 3, 4, 7}, 45] (* Michael De Vlieger, Mar 20 2017 *)
Formula
G.f.: 1 / ( (1+x)*(1-x^3-x)*(x^4+1) ).
a(n) = a(n-2) + a(n-3) + a(n-6) + a(n-7) + a(n-8).
6*a(n) = 2*A068921(n) + (-1)^n +b(n) where b(n) = 3,-1,1,1,-3,1..., n>=0 is periodic with b(n) = -b(n-4). - R. J. Mathar, Mar 20 2017
Comments