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”).

A243122
Number of compositions of n in which the maximal multiplicity of parts equals 5.
2
1, 0, 6, 6, 27, 49, 131, 279, 635, 1370, 2722, 5877, 12170, 24113, 47660, 94470, 186623, 355400, 680074, 1296600, 2456115, 4535638, 8495447, 15570655, 28505689, 52054671, 94229227, 169184891, 301060621, 540575365, 956101463, 1682865787, 2936425870, 5167830927
OFFSET
5,3
LINKS
FORMULA
a(n) = A243083(n) - A243082(n) = A243081(n,5) - A243081(n,4).
MAPLE
b:= proc(n, i, p, k) option remember; `if`(n=0, p!, `if`(i<1, 0,
add(b(n-i*j, i-1, p+j, k)/j!, j=0..min(n/i, k))))
end:
a:= n-> b(n$2, 0, 5) -b(n$2, 0, 4):
seq(a(n), n=5..50);
CROSSREFS
Column k=5 of A242447.
Sequence in context: A123874 A339321 A241865 * A274940 A341548 A253066
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 29 2014
STATUS
approved