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.

A241695 Number of Carlitz compositions of n with exactly five descents.

This page as a plain text file.
%I A241695 #6 Apr 28 2014 09:27:55
%S A241695 8,43,159,497,1365,3412,7959,17529,36820,74341,145037,274632,506546,
%T A241695 912668,1610174,2787338,4742439,7942378,13109810,21351242,34344574,
%U A241695 54611144,85907033,133783286,206382165,315561476,478474684,719778651,1074701635,1593288000
%N A241695 Number of Carlitz compositions of n with exactly five descents.
%C A241695 No two adjacent parts of a Carlitz composition are equal.
%H A241695 Alois P. Heinz, <a href="/A241695/b241695.txt">Table of n, a(n) for n = 15..1000</a>
%p A241695 b:= proc(n, i) option remember; `if`(n=0, 1,
%p A241695        convert(series(add(`if`(i=j, 0, b(n-j, j)*
%p A241695       `if`(j<i, x, 1)), j=1..n), x, 6), polynom))
%p A241695     end:
%p A241695 a:= n-> coeff(b(n, 0), x, 5):
%p A241695 seq(a(n), n=15..50);
%Y A241695 Column k=5 of A241701.
%K A241695 nonn
%O A241695 15,1
%A A241695 _Alois P. Heinz_, Apr 27 2014