OFFSET
0,3
LINKS
Moa Apagodu, David Applegate, N. J. A. Sloane, and Doron Zeilberger, Analysis of the Gift Exchange Problem, arXiv:1701.08394, 2017.
David Applegate and N. J. A. Sloane, The Gift Exchange Problem (arXiv:0907.0513, 2009)
MAPLE
f:=n->add( add( add( add( (i+j+k+l)!/(4!*i!*j!*k!*l!), i=1..n), j=1..n), k=1..n), l=1..n); [seq(f(n), n=0..16)];
MATHEMATICA
a[n_] := Sum[(i+j+k+l)!/(4! i! j! k! l!), {i, n}, {j, n}, {k, n}, {l, n}];
Table[a[n], {n, 0, 15}] (* Jean-François Alcover, Sep 05 2018 *)
Table[(Binomial[2*n + 2, n + 1] - 2*(1 + n) + Sum[(1 + k + l + 2*n)! HypergeometricPFQ[{1, -1 - k - l - n, -n}, {-1 - k - l - 2*n, -k - l - n}, 1]/((1 + k + l + n) k! l! (n!)^2) - (2*(1 + k + l + n)!)/((1 + k + l) k! l! n!), {k, 1, n}, {l, 1, n}])/24, {n, 0, 15}] (* Vaclav Kotesovec, Apr 04 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 01 2009
STATUS
approved