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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A292835 Triangle C(nu,m) read by rows: the number of n-color odd compositions of nu into m parts. 3

%I #15 Aug 15 2023 10:53:26

%S 1,0,1,0,0,1,0,3,0,1,0,0,6,0,1,0,5,0,9,0,1,0,0,19,0,12,0,1,0,7,0,42,0,

%T 15,0,1,0,0,44,0,74,0,18,0,1,0,9,0,138,0,115,0,21,0,1,0,0,85,0,316,0,

%U 165,0,24,0,1,0,11,0,363,0,605,0,224,0,27,0,1,0,0,146,0,1059,0,1032,0,292,0,30,0,1

%N Triangle C(nu,m) read by rows: the number of n-color odd compositions of nu into m parts.

%H Y-h. Guo, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL15/Guo/guo4.html">Some n-Color Compositions</a>, J. Int. Seq. 15 (2012) 12.1.2, eq. (7).

%H Y.-h. Guo, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL17/Guo/guo9.html">n-Color Odd Self-Inverse Compositions</a>, J. Int. Seq. 17 (2014) # 14.10.5, eq (1).

%e The triangle starts in row nu=0 with columns 0<=m<=nu as

%e 1;

%e 0,1;

%e 0,0,1;

%e 0,3,0,1;

%e 0,0,6,0,1;

%e 0,5,0,9,0,1;

%e 0,0,19,0,12,0,1;

%e 0,7,0,42,0,15,0,1;

%e 0,0,44,0,74,0,18,0,1;

%e 0,9,0,138,0,115,0,21,0,1;

%e 0,0,85,0,316,0,165,0,24,0,1;

%e 0,11,0,363,0,605,0,224,0,27,0,1;

%p A292835 := proc(nu,m)

%p local a,j,i ;

%p a := 0 ;

%p for j from 0 to m do

%p i := (nu-m)/2-j ;

%p if type(i,integer) then

%p a := a+binomial(2*m+i-1,2*m-1)*binomial(m,j) ;

%p end if;

%p end do:

%p a;

%p end proc:

%p seq(seq(A292835(nu,m),m=0..nu),nu=0..12) ;

%t A292835[nu_, m_] := Module[{a, j, i}, a = 0; For[j = 0, j <= m, j++, i = (nu - m)/2 - j; If[IntegerQ[i], a = a + Binomial[2m + i - 1, 2m - 1]* Binomial[m, j]]]; a];

%t Table[Table[A292835[nu, m], {m, 0, nu}], {nu, 0, 12}] // Flatten (* _Jean-François Alcover_, Aug 15 2023, after Maple code *)

%Y Cf. A119749 (row sums), A005900 (column m=3), A300437.

%K nonn,tabl,easy

%O 0,8

%A _R. J. Mathar_, Sep 24 2017

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 30 15:52 EDT 2024. Contains 372136 sequences. (Running on oeis4.)