login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A101821
Triangle read by rows: T(n,h) = number of functions f:{1,2,...,n}->{1,2,...,n-2} such that |Image(f)|=h, h=1,2,...,n-2; n=3,4,....
4
2, 3, 42, 4, 180, 600, 5, 620, 5400, 7800, 6, 1890, 36120, 126000, 100800, 7, 5534, 202860, 1428840, 2646000, 1340640, 8, 14280, 1016400, 13053600, 46710720, 53343360, 18627840, 9, 36792, 4702320, 103133520, 642978000, 1380576960
OFFSET
0,1
FORMULA
T(n, h) = C(n-2, h)*U(n, h), where U(n, h) is the array in A019538.
EXAMPLE
First rows:
2
3 42
4 180 600
5 620 5400 7800
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Dec 17 2004
STATUS
approved