cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A243475 Number of isoscent sequences of length n with exactly two descents.

This page as a plain text file.
%I A243475 #8 Feb 09 2015 10:33:45
%S A243475 2,28,241,1667,10142,56748,299485,1514445,7415873,35424718,165963977,
%T A243475 765639729,3488740303,15739196772,70434524941,313136541466,
%U A243475 1384706596078,6096641331963,26747810596747,117015840972949,510745056446585,2225207050547044,9680854941464722
%N A243475 Number of isoscent sequences of length n with exactly two descents.
%H A243475 Joerg Arndt and Alois P. Heinz, <a href="/A243475/b243475.txt">Table of n, a(n) for n = 5..100</a>
%e A243475 a(5) = 2: [0,0,2,1,0], [0,1,0,1,0].
%t A243475 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, 2]; Table[a[n], {n, 5, 40}] (* _Jean-François Alcover_, Feb 09 2015, after A242352 *)
%Y A243475 Column k=2 of A242352.
%K A243475 nonn
%O A243475 5,1
%A A243475 _Joerg Arndt_ and _Alois P. Heinz_, Jun 05 2014