|
|
A244718
|
|
Number of compositions of n with exactly 6 transitions between different parts.
|
|
2
|
|
|
1, 8, 52, 225, 813, 2444, 6563, 15837, 35304, 73544, 144542, 270622, 485229, 838813, 1401911, 2277346, 3601229, 5565741, 8415746, 12487185, 18197114, 26097804, 36868409, 51383060, 70693900, 96130946, 129286606, 172104111, 226920654, 296516361, 384211698
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
10,2
|
|
LINKS
|
|
|
MAPLE
|
b:= proc(n, v) option remember; `if`(n=0, [1, 0$6],
add(`if`(v in [0, i], b(n-i, `if`(i<=n-i, i, -1)),
[0, b(n-i, `if`(i<=n-i, i, -1))[1..6][]]), i=1..n))
end:
a:= n-> b(n, 0)[7]:
seq(a(n), n=10..60);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|