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

A243086
Number of compositions of n into parts with multiplicity not larger than 8.
4
1, 1, 2, 4, 8, 16, 32, 64, 128, 255, 511, 1013, 2026, 4007, 7969, 15728, 31081, 61127, 120063, 234991, 458813, 892999, 1733063, 3352924, 6466805, 12432745, 23825009, 45552282, 86701276, 164516870, 311753791, 587855120, 1104493663, 2072926133, 3874661542
OFFSET
0,3
COMMENTS
Number of compositions of n avoiding the pattern {1}^9.
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, 8))))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..50);
CROSSREFS
Column k=8 of A243081.
Sequence in context: A194631 A251746 A251760 * A087079 A252757 A230579
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 29 2014
STATUS
approved