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!)
A105474 Triangle read by rows: T(n,k) is number of compositions of n into k parts when each odd part can be of two kinds. 1

%I #3 Mar 30 2012 17:36:01

%S 2,1,4,2,4,8,1,9,12,16,2,8,30,32,32,1,14,37,88,80,64,2,12,66,136,240,

%T 192,128,1,19,75,257,440,624,448,256,2,16,116,352,890,1312,1568,1024,

%U 512,1,24,126,564,1401,2844,3696,3840,2304,1024,2,20,180,720,2370,5004

%N Triangle read by rows: T(n,k) is number of compositions of n into k parts when each odd part can be of two kinds.

%F G.f.=tz(2+z)/(1-2tz-z^2-tz^2).

%e T(4,2)=9 because we have (1,3),(1',3),(1,3'),(1',3'),(3,1),(3',1),(3,1'),(3',1') and (2,2).

%e Triangle begins:

%e 2;

%e 1,4;

%e 2,4,8;

%e 1,9,12,16;

%e 2,8,30,32,32;

%p G:=t*z*(2+z)/(1-2*t*z-z^2-t*z^2): Gser:=simplify(series(G,z=0,14)): for n from 1 to 12 do P[n]:=sort(coeff(Gser,z^n)) od: for n from 1 to 12 do seq(coeff(P[n],t^k),k=1..n) od; # yields sequence in triangular form

%Y Row sums yield A052945.

%K nonn,tabl

%O 1,1

%A _Emeric Deutsch_, Apr 09 2005

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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)