OFFSET
1,3
COMMENTS
REFERENCES
Miklos Bona, editor, Handbook of Enumerative Combinatorics, CRC Press, 2015, page 533.
LINKS
Jennifer Elder, Nadia Lafrenière, Erin McNicholas, Jessica Striker and Amanda Welch, Homomesies on permutations -- an analysis of maps and statistics in the FindStat database, math.CO, arXiv, 2022. (Def. 4.20 and Prop. 4.22.)
Peter Luschny, Permutation Trees.
FORMULA
T(n,k) = sum( ((-1)^j*(k-j)^(n+1))*binomial(n+1,j),j=0..k) - Olivier Gérard, Aug 04 2012
EXAMPLE
1;
1, 2;
1, 5, 6;
1, 12, 23, 24;
1, 27, 93, 119, 120;
1, 58, 360, 662, 719, 720;
1, 121, 1312, 3728, 4919, 5039, 5040;
1, 248, 4541, 20160, 35779, 40072, 40319, 40320;
1, 503, 15111, 103345, 259535, 347769, 362377, 362879, 362880;
MAPLE
Eulerian:= (n, k)-> sum((-1)^j*(k-j+1)^n * binomial(n+1, j), j=0..k+1):
s:=(j, n)-> sum(Eulerian(j, k-1), k=1..n):
for i from 1 to 15 do print(seq(s(i, n), n=1..i)) od; # Gary Detlefs, Nov 18 2011
MATHEMATICA
Flatten[Table[Table[Sum[(-1)^j (k-j)^(n+1) Binomial[n+1, j], {j, 0, k}], {k, 1, n + 1}], {n, 0, 10}], 1] (* Olivier Gérard, Aug 04 2012 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Aug 11 2010
STATUS
approved