|
|
A243231
|
|
Number of isoscent sequences of length n with exactly five ascents.
|
|
2
|
|
|
53, 2751, 56905, 771451, 8134377, 72508373, 573143602, 4140884203, 27910175578, 178061795837, 1086790574778, 6397136152382, 36542124316824, 203563522508400, 1110216333288652, 5946996009211010, 31369110229193995, 163289639236069520, 840329677373681576
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
9,1
|
|
LINKS
|
|
|
MAPLE
|
b:= proc(n, i, t) option remember; `if`(n<1, 1, expand(add(
`if`(j>i, x, 1) *b(n-1, j, t+`if`(j=i, 1, 0)), j=0..t+1)))
end:
a:= n-> coeff(b(n-1, 0$2), x, 5):
seq(a(n), n=9..35);
|
|
MATHEMATICA
|
b[n_, i_, t_] := b[n, i, t] = If[n < 1, 1, Expand[Sum[
If[j > i, x, 1] *b[n - 1, j, t + If[j == i, 1, 0]], {j, 0, t + 1}]]];
a[n_] := Coefficient[b[n - 1, 0, 0], x, 5];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|