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.
%I A034870 #97 Aug 07 2024 09:18:44 %S A034870 1,1,2,1,1,4,6,4,1,1,6,15,20,15,6,1,1,8,28,56,70,56,28,8,1,1,10,45, %T A034870 120,210,252,210,120,45,10,1,1,12,66,220,495,792,924,792,495,220,66, %U A034870 12,1,1,14,91,364,1001,2002,3003,3432,3003,2002,1001,364,91,14,1 %N A034870 Even-numbered rows of Pascal's triangle. %C A034870 The sequence of row lengths of this array is [1,3,5,7,9,11,13,...]= A005408(n), n>=0. %C A034870 Equals X^n * [1,0,0,0,...] where X = an infinite tridiagonal matrix with (1,1,1,...) in the main and subsubdiagonal and (2,2,2,...) in the main diagonal. X also = a triangular matrix with (1,2,1,0,0,0,...) in each column. - _Gary W. Adamson_, May 26 2008 %C A034870 a(n,m) has the following interesting combinatoric interpretation. Let s(n,m) equal the set of all base-4, n-digit numbers with n-m more 1-digits than 2-digits. For example s(2,1) = {10,01,13,31} (note that numbers like 1 are left-padded with 0's to ensure that they have 2 digits). Notice that #s(2,1) = a(2,1) with # indicating cardinality. This is true in general. a(n,m)=#s(n,m). In words, a(n,m) gives the number of n-digit, base-4 numbers with n-m more 1 digits than 2 digits. A proof is provided in the Links section. - _Russell Jay Hendel_, Jun 23 2015 %H A034870 Reinhard Zumkeller, <a href="/A034870/b034870.txt">Rows n=0..150 of triangle, flattened</a> %H A034870 Peter Bala, <a href="/A260492/a260492.pdf">Notes on generalized Riordan arrays</a> %H A034870 E. H. M. Brietzke, <a href="http://dx.doi.org/10.1016/j.disc.2007.08.050">An identity of Andrews and a new method for the Riordan array proof of combinatorial identities</a>, Discrete Math., 308 (2008), 4246-4262. %H A034870 Russell Jay Hendel, <a href="/A034870/a034870_1.txt">Proof that a(n,m) gives the number of n-digit, base-4 numbers with n-m more 1-digits than 2-digits.</a> %H A034870 Wolfdieter Lang, <a href="/A034870/a034870.txt">First 9 rows</a>. %H A034870 Franck Ramaharo, <a href="https://arxiv.org/abs/1802.07701">Statistics on some classes of knot shadows</a>, arXiv:1802.07701 [math.CO], 2018. %H A034870 Franck Ramaharo, <a href="https://arxiv.org/abs/2002.06672">A bracket polynomial for 2-tangle shadows</a>, arXiv:2002.06672 [math.CO], 2020. %H A034870 <a href="/index/Pas#Pascal">Index entries for triangles and arrays related to Pascal's triangle</a> %F A034870 T(n, m) = binomial(2*n, m), 0<= m <= 2*n, 0<=n, else 0. %F A034870 G.f. for column m=2*k sequence: (x^k)*Pe(k, x)/(1-x)^(2*k+1), k>=0; for column m=2*k-1 sequence (x^k)*Po(k, x)/(1-x)^(2*k), k>=1, with the row polynomials Pe(k, x) := sum(A091042(k, m)*x^m, m=0..k) and Po(k, x) := 2*sum(A091044(k, m)*x^m, m=0..k-1); see also triangle A091043. %F A034870 From _Paul D. Hanna_, Apr 18 2012: (Start) %F A034870 Let A(x) be the g.f. of the flattened sequence, then: %F A034870 G.f.: A(x) = Sum_{n>=0} x^(n^2) * (1+x)^(2*n). %F A034870 G.f.: A(x) = Sum_{n>=0} x^n*(1+x)^(2*n) * Product_{k=1..n} (1 - (1+x)^2*x^(4*k-3)) / (1 - (1+x)^2*x^(4*k-1)). %F A034870 G.f.: A(x) = 1/(1 - x*(1+x)^2/(1 + x*(1-x^2)*(1+x)^2/(1 - x^5*(1+x)^2/(1 + x^3*(1-x^4)*(1+x)^2/(1 - x^9*(1+x)^2/(1 + x^5*(1-x^6)*(1+x)^2/(1 - x^13*(1+x)^2/(1 + x^7*(1-x^8)*(1+x)^2/(1 - ...))))))))), a continued fraction. %F A034870 (End) %F A034870 From _Peter Bala_, Jul 14 2015: (Start) %F A034870 Denote this array by P. Then P * transpose(P) is the square array ( binomial(2*n + 2*k, 2*k) )n,k>=0, which, read by antidiagonals, is A086645. %F A034870 Transpose(P) is a generalized Riordan array (1, (1 + x)^2) as defined in the Bala link. %F A034870 Let p(x) = (1 + x)^2. P^2 gives the coefficients in the expansion of the polynomials ( p(p(x)) )^n, P^3 gives the coefficients in the expansion of the polynomials ( p(p(p(x))) )^n and so on. %F A034870 Row sums are 2^(2*n); row sums of P^2 are 5^(2*n), row sums of P^3 are 26^(2*n). In general, the row sums of P^k, k = 0,1,2,..., are equal to A003095(k)^(2*n). %F A034870 The signed version of this array ( (-1)^k*binomial(2*n,k) )n,k>=0 is a left-inverse for A034839. %F A034870 A034839 * P = A080928. (End) %F A034870 T(n, k) = GegenbauerC(m, -n, -1) where m = k if k<n else 2*n-k. - _Peter Luschny_, May 08 2016 %F A034870 G.f.: 1/(1-x*(y+1)^2). - _Vladimir Kruchinin_, Nov 22 2020 %e A034870 Triangle begins: %e A034870 1; %e A034870 1, 2, 1; %e A034870 1, 4, 6, 4, 1; %e A034870 1, 6, 15, 20, 15, 6, 1; %e A034870 1, 8, 28, 56, 70, 56, 28, 8, 1; %e A034870 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1; %e A034870 1, 12, 66, 220, 495, 792, 924, 792, 495, 220, 66, 12, 1; %p A034870 T := (n,k) -> simplify(GegenbauerC(`if`(k<n,k,2*n-k),-n, -1)); %p A034870 for n from 0 to 6 do seq(T(n,k),k=0..2*n) od; # _Peter Luschny_, May 08 2016 %t A034870 Flatten[Table[Binomial[n,k],{n,0,20,2},{k,0,n}]] (* _Harvey P. Dale_, Dec 15 2014 *) %o A034870 (Haskell) %o A034870 a034870 n k = a034870_tabf !! n !! k %o A034870 a034870_row n = a034870_tabf !! n %o A034870 a034870_tabf = map a007318_row [0, 2 ..] %o A034870 -- _Reinhard Zumkeller_, Apr 19 2012, Apr 02 2011 %o A034870 (Magma) /* As triangle: */ [[Binomial(n,k): k in [0..n]]: n in [0.. 15 by 2]]; // _Vincenzo Librandi_, Jul 16 2015 %o A034870 (Maxima) %o A034870 taylor(1/(1-x*(y+1)^2),x,0,10,y,0,10); /* _Vladimir Kruchinin_, Nov 22 2020 */ %o A034870 (Sage) flatten([[binomial(2*n, k) for k in (0..2*n)] for n in (0..12)]) # _G. C. Greubel_, Mar 18 2022 %Y A034870 Cf. A007318, A034871. %Y A034870 Cf. A000302 (row sums, powers of 4), alternating row sums are 0, except for n=0 which gives 1. %Y A034870 Cf. A003095, A034839, A080928, A086645. %K A034870 nonn,tabf,easy %O A034870 0,3 %A A034870 _N. J. A. Sloane_