|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|