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

A243083
Number of compositions of n into parts with multiplicity not larger than 5.
4
1, 1, 2, 4, 8, 16, 31, 63, 120, 240, 459, 897, 1716, 3294, 6258, 11852, 22283, 41647, 78197, 144013, 264485, 489979, 892277, 1612753, 2933983, 5288025, 9454944, 16891074, 30121434, 53179092, 93997401, 164816943, 289313718, 502617530, 877419533, 1514746093
OFFSET
0,3
COMMENTS
Number of compositions of n avoiding the pattern 111111.
LINKS
MAPLE
b:= proc(n, i, p) option remember; `if`(n=0, p!, `if`(i<1, 0,
add(b(n-i*j, i-1, p+j)/j!, j=0..min(n/i, 5))))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..50);
CROSSREFS
Column k=5 of A243081.
Sequence in context: A018487 A251749 A251763 * A239561 A010747 A318776
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 29 2014
STATUS
approved