|
|
A243085
|
|
Number of compositions of n into parts with multiplicity not larger than 7.
|
|
4
|
|
|
1, 1, 2, 4, 8, 16, 32, 64, 127, 255, 502, 1004, 1972, 3908, 7660, 15044, 29361, 57209, 110982, 214648, 413552, 793936, 1518344, 2892496, 5500825, 10392649, 19569158, 36845760, 68891188, 128241332, 238736764, 442162796, 814790985, 1499513369, 2750419066
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Number of compositions of n avoiding the pattern {1}^8.
|
|
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, 7))))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..50);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|