login
A242657
Mahonian numbers T(n,7) (cf. A008302).
1
15, 101, 359, 961, 2191, 4489, 8504, 15159, 25728, 41926, 66013, 100913, 150349, 218995, 312646, 438407, 604902, 822504, 1103587, 1462801, 1917371, 2487421, 3196324, 4071079, 5142716, 6446730, 8023545, 9919009, 12184921, 14879591, 18068434, 21824599, 26229634, 31374188, 37358751, 44294433, 52303783, 61521649
OFFSET
5,1
COMMENTS
45 years ago this was A000712, but it was dropped during the preparation of the 1973 Handbook of Integer Sequences.
MAPLE
g := proc(n, k) option remember; if k=0 then return(1) else if (n=1 and k=1) then return(0) else if (k<0 or k>binomial(n, 2)) then return(0) else g(n-1, k)+g(n, k-1)-g(n-1, k-n) end if end if end if end proc;
[seq(g(n, 7), n=5..40)];
CROSSREFS
Cf. A008302.
Sequence in context: A034266 A087661 A319777 * A163717 A111370 A093739
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 30 2014
STATUS
approved