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!)
A174526 Triangle t(n,m) = 2*A022166(n,m)-binomial(n,m), read by rows, 0<=m<=n. 1

%I #15 Apr 09 2016 12:21:15

%S 1,1,1,1,4,1,1,11,11,1,1,26,64,26,1,1,57,300,300,57,1,1,120,1287,2770,

%T 1287,120,1,1,247,5313,23587,23587,5313,247,1,1,502,21562,194254,

%U 401504,194254,21562,502,1,1,1013,86834,1575986,6619368,6619368,1575986,86834

%N Triangle t(n,m) = 2*A022166(n,m)-binomial(n,m), read by rows, 0<=m<=n.

%C Row sums are 1, 2, 6, 24, 118, 716, 5586, 58296, 834142, 16566404, 459510186,... = 2*A006116(n)-2^n.

%C The column m=1 might be A000295. - _R. J. Mathar_, Nov 14 2011

%e 1;

%e 1, 1;

%e 1, 4, 1;

%e 1, 11, 11, 1;

%e 1, 26, 64, 26, 1;

%e 1, 57, 300, 300, 57, 1;

%e 1, 120, 1287, 2770, 1287, 120, 1;

%e 1, 247, 5313, 23587, 23587, 5313, 247, 1;

%e 1, 502, 21562, 194254, 401504, 194254, 21562, 502, 1;

%e 1, 1013, 86834, 1575986, 6619368, 6619368, 1575986, 86834, 1013, 1;

%e 1, 2036, 348457, 12695310, 107487764, 218443050, 107487764, 12695310, 348457, 2036, 1;

%p A174526 := proc(n,k)

%p 2*A022166(n,k)-binomial(n,k) ;

%p end proc:

%p seq(seq(A174526(n,m),m=0..n),n=0..10) ; # _R. J. Mathar_, Nov 14 2011

%t c[n_, q_] = Product[1 - q^i, {i, 1, n}];

%t t[n_, m_, q_] = 2*c[n, q]/(c[m, q]*c[n - m, q]) - Binomial[n, m];

%t Table[Flatten[Table[Table[t[n, m, q], {m, 0, n}], {n, 0, 10}]], {q, 2, 12}]

%t (* second program: *)

%t t[n_, m_] := 2 QBinomial[n, m, 2] - Binomial[n, m]; Table[t[n, m], {n, 0, 10}, {m, 0, n}] // Flatten (* _Jean-François Alcover_, Apr 09 2016 *)

%Y Cf. A008292.

%K nonn,tabl

%O 0,5

%A _Roger L. Bagula_ and _Gary W. Adamson_, Mar 21 2010

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 18 15:16 EDT 2024. Contains 371780 sequences. (Running on oeis4.)