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

A243087
Number of compositions of n into parts with multiplicity not larger than 9.
4
1, 1, 2, 4, 8, 16, 32, 64, 128, 256, 511, 1023, 2036, 4072, 8089, 16123, 31971, 63447, 125464, 247848, 488248, 959954, 1882518, 3682966, 7186687, 13987505, 27151374, 52561888, 101473646, 195352782, 375197136, 718154110, 1370815210, 2611751010, 4957566835
OFFSET
0,3
COMMENTS
Number of compositions of n avoiding the pattern {1}^10.
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, 9))))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..50);
CROSSREFS
Column k=9 of A243081.
Sequence in context: A194632 A282584 A251759 * A123464 A113019 A329562
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 29 2014
STATUS
approved