The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A243231 Number of isoscent sequences of length n with exactly five ascents. 2

%I

%S 53,2751,56905,771451,8134377,72508373,573143602,4140884203,

%T 27910175578,178061795837,1086790574778,6397136152382,36542124316824,

%U 203563522508400,1110216333288652,5946996009211010,31369110229193995,163289639236069520,840329677373681576

%N Number of isoscent sequences of length n with exactly five ascents.

%H Joerg Arndt and Alois P. Heinz, <a href="/A243231/b243231.txt">Table of n, a(n) for n = 9..100</a>

%p b:= proc(n, i, t) option remember; `if`(n<1, 1, expand(add(

%p `if`(j>i, x, 1) *b(n-1, j, t+`if`(j=i, 1, 0)), j=0..t+1)))

%p end:

%p a:= n-> coeff(b(n-1, 0\$2), x, 5):

%p seq(a(n), n=9..35);

%t b[n_, i_, t_] := b[n, i, t] = If[n < 1, 1, Expand[Sum[

%t If[j > i, x, 1] *b[n - 1, j, t + If[j == i, 1, 0]], {j, 0, t + 1}]]];

%t a[n_] := Coefficient[b[n - 1, 0, 0], x, 5];

%t Table[a[n], {n, 9, 35}] (* _Jean-François Alcover_, Aug 27 2021, after Maple code *)

%Y Column k=5 of A242351.

%K nonn

%O 9,1

%A _Joerg Arndt_ and _Alois P. Heinz_, Jun 01 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified March 27 18:31 EDT 2023. Contains 361575 sequences. (Running on oeis4.)