OFFSET
0,3
COMMENTS
FORMULA
From Vaclav Kotesovec, Sep 13 2025: (Start)
Recurrence: (n-2)*a(n) = 2*(n-1)*n*a(n-1) - (n-1)^2*n*a(n-2).
a(n) ~ n^(n + 5/4) / (sqrt(2) * exp(n - 2*sqrt(n) + 1/2)) * (1 - 65/(48*sqrt(n))). (End)
a(n) = (n-1) * n! * LaguerreL(n-2, -1). - Mark van Hoeij, Jan 14 2026
EXAMPLE
a(5)=2720 since the number of ways are (number of people in parentheses):
1 bench (5): 120 configurations, 1200 ways;
2 benches (4,1): 120 configurations, 720 ways;
2 benches (3,2): 120 configurations, 480 ways;
3 benches (3,1,1): 60 configurations, 180 ways;
3 benches (2,2,1): 60 configurations, 120 ways;
4 benches (2,1,1,1): 20 configurations, 20 ways;
5 benches (1,1,1,1,1): 1 configuration, 0 ways, for a total of 2720 ways.
MATHEMATICA
CoefficientList[Series[(x^2/(1-x)^3)*Exp[x/(1-x)], {x, 0, 21}], x]*Range[0, 21]! (* Stefano Spezia, Sep 11 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Enrique Navarrete, Sep 10 2025
STATUS
approved
