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.

Showing 1-3 of 3 results.

A108558 Symmetric triangle, read by rows, where row n equals the (n+1)-th differences of the crystal ball sequence for D_n lattice, for n>=0.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 9, 9, 1, 1, 20, 54, 20, 1, 1, 35, 180, 180, 35, 1, 1, 54, 447, 852, 447, 54, 1, 1, 77, 931, 2863, 2863, 931, 77, 1, 1, 104, 1724, 7768, 12550, 7768, 1724, 104, 1, 1, 135, 2934, 18186, 43128, 43128, 18186, 2934, 135, 1, 1, 170, 4685, 38200, 124850, 183356, 124850, 38200, 4685, 170, 1
Offset: 0

Views

Author

Paul D. Hanna, Jun 10 2005

Keywords

Comments

Row n equals the (n+1)-th differences of row n of the square array A108553. G.f. of row n equals: (1-x)^(n+1)*CBD_n(x), where CBD_n denotes the g.f. of the crystal ball sequence for D_n lattice.
From Peter Bala, Oct 23 2008: (Start)
Let D_n be the root lattice generated as a monoid by {+-e_i +- e_j: 1 <= i not equal to j <= n}. Let P(D_n) be the polytope formed by the convex hull of this generating set. Then the rows of this array are the h-vectors of a unimodular triangulation of P(D_n) [Ardila et al.]. See A108556 for the corresponding array of f-vectors for these type D_n polytopes. See A008459 for the array of h-vectors for type A_n polytopes and A086645 for the array of h-vectors associated with type C_n polytopes.
The Hilbert transform of this array (as defined in A145905) equals A108553.
(End)

Examples

			G.f.s of initial rows of square array A108553 are:
  (1)/(1-x),
  (1 + x)/(1-x)^2,
  (1 + 2*x + x^2)/(1-x)^3,
  (1 + 9*x + 9*x^2 + x^3)/(1-x)^4,
  (1 + 20*x + 54*x^2 + 20*x^3 + x^4)/(1-x)^5,
  (1 + 35*x + 180*x^2 + 180*x^3 + 35*x^4 + x^5)/(1-x)^6.
Triangle begins:
  1;
  1,   1;
  1,   2,    1;
  1,   9,    9,     1;
  1,  20,   54,    20,      1;
  1,  35,  180,   180,     35,      1;
  1,  54,  447,   852,    447,     54,      1;
  1,  77,  931,  2863,   2863,    931,     77,     1;
  1, 104, 1724,  7768,  12550,   7768,   1724,   104,    1;
  1, 135, 2934, 18186,  43128,  43128,  18186,  2934,  135,   1;
  1, 170, 4685, 38200, 124850, 183356, 124850, 38200, 4685, 170, 1;
  ...
		

Crossrefs

Cf. A108553, A008353, A108558, A008459, A086645, A108556. Row n equals (n+1)-th differences of: A001844 (row 2), A005902 (row 3), A007204 (row 4), A008356 (row 5), A008358 (row 6), A008360 (row 7), A008362 (row 8), A008377 (row 9), A008379 (row 10).
T(2n,n) gives A305693.

Programs

  • Mathematica
    T[1, 0] = T[1, 1]=1; T[n_, k_] := Binomial[2n, 2k] - 2n Binomial[n-2, k-1];
    Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Jul 25 2018 *)
  • PARI
    T(n,k)=if(n
    				

Formula

T(n, k) = C(2*n, 2*k) - 2*n*C(n-2, k-1) for n>1, with T(0, 0)=1, T(1, 0)=T(1, 1)=1. Row sums equal A008353: 2^(n-1)*(2^n-n) for n>1.
From Peter Bala, Oct 23 2008: (Start)
O.g.f. : rational function N(x,z)/D(x,z), where N(x,z) = 1 - 3*(1 + x)*z + (3 + 2*x + 3*x^2)*z^2 - (1 + x)*(1 - 8*x + x^2)z^3 - 8*x*(1 + x^2)*z^4 + 2*x*(1 + x)*(1 - x)^2*z^5 and D(x,z) = ((1 - z)^2 - 2*x*z*(1 + z) + x^2*z^2)*(1 - z*(1 + x))^2.
For n >= 2, the row n generating polynomial equals 1/2*[(1 + sqrt(x))^(2n) + (1 - sqrt(x))^(2n)] - 2*n*x*(1 + x)^(n-2).
(End)

A108556 Triangle, read by rows, where row n equals the inverse binomial transform of the crystal ball sequence for D_n lattice.

Original entry on oeis.org

1, 1, 2, 1, 4, 4, 1, 12, 30, 20, 1, 24, 120, 192, 96, 1, 40, 330, 940, 1080, 432, 1, 60, 732, 3200, 6240, 5568, 1856, 1, 84, 1414, 8708, 25200, 37184, 27104, 7744, 1, 112, 2480, 20352, 80960, 173824, 206080, 126976, 31744, 1, 144, 4050, 42588, 221544, 643824, 1096032, 1085760, 579456, 128768
Offset: 0

Views

Author

Paul D. Hanna, Jun 10 2005

Keywords

Comments

Row n equals the inverse binomial transform of row n of the square array A108553.
Array of f-vectors for type D root polytopes [Ardila et al.]. See A063007 and A127674 for the arrays of f-vectors for type A and type C root polytopes respectively. - Peter Bala, Oct 23 2008

Examples

			Triangle begins:
1;
1,2;
1,4,4;
1,12,30,20;
1,24,120,192,96;
1,40,330,940,1080,432;
1,60,732,3200,6240,5568,1856;
1,84,1414,8708,25200,37184,27104,7744;
1,112,2480,20352,80960,173824,206080,126976,31744; ...
		

Crossrefs

Cf. A108553, A108557 (row sums), A108558, Rows are inverse binomial transforms of: A001844 (row 2), A005902 (row 3), A007204 (row 4), A008356 (row 5), A008358 (row 6), A008360 (row 7), A008362 (row 8), A008377 (row 9), A008379 (row 10).

Programs

  • Mathematica
    T[n_, k_] := Module[{A}, A = Table[Table[If[r - 1 == 0 || c - 1 == 0, 1, If[r - 1 == 1, 2c - 1, Sum[Binomial[r + c - j - 2, c - j - 1] (Binomial[2r - 2, 2j] - 2(r - 1) Binomial[r - 3, j - 1]), {j, 0, c - 1}]]], {c, 1, n + 1}], {r, 1, n + 1}]; SeriesCoefficient[((A[[n + 1]]. x^Range[0, n]) /. x -> x/(1 + x))/(1 + x), {x, 0, k}]];
    Table[T[n, k], {n, 0, 9}, {k, 0, n}] // Flatten (* Jean-François Alcover, Jul 26 2018, from PARI *)
  • PARI
    T(n,k)=local(A=vector(n+1,r,vector(n+1,c,if(r-1==0 || c-1==0,1,if(r-1==1,2*c-1, sum(j=0,c-1,binomial(r+c-j-2,c-j-1)*(binomial(2*r-2,2*j)-2*(r-1)*binomial(r-3,j-1)))))))); polcoeff(subst(Ser(A[n+1]),x,x/(1+x))/(1+x),k)

Formula

Main diagonal equals A008353: 2^(n-1)*(2^n-n) for n>1.
O.g.f. : rational function N(x,z)/D(x,z), where N(x,z) = 1 - 3*(1 + 2*x)*z + (3 + 8*x + 8*x^2)*z^2 - (1 + 2*x)*(1 - 6*x - 6*x^2)z^3 - 8*x*(1 + x)(1 + 2*x + 2*x^2)*z^4 + 2*x*(1 + x)*(1 + 2*x)*z^5 and D(x,z) = ((1-z)^2 - 4*x*z)*(1 - z*(1 + 2*x))^2. - Peter Bala, Oct 23 2008

A066345 Winning binary "same game" templates of length n as defined below.

Original entry on oeis.org

1, 1, 4, 7, 20, 39, 96, 191, 432, 863, 1856, 3711, 7744, 15487, 31744, 63487, 128768, 257535, 519168, 1038335, 2085888, 4171775, 8364032, 16728063, 33501184, 67002367, 134103040, 268206079, 536625152, 1073250303, 2146959360
Offset: 1

Views

Author

Frank Ellermann, Dec 23 2001

Keywords

Comments

A "same game template" is a pattern representing the run pattern of a string in a 2 symbol alphabet. Each position in the template represents either an isolated symbol, or a run of two or more identical symbols. Such a template can be represented as a ternary number without digit 0 (A007931), where 2 represents any run of 2 or more identical symbols and ternary 1 represents remaining single bitsymbols, e.g. 211 for 0010, 1101, 00010, etc. A winning template represents an infinite subset of winning binary "same games", e.g. 121 for 0110, 1001, 01110, etc.

Examples

			There are a(3)= 4 winning templates 121, 122, 221, 222 with 3 ternary digits and a(4)= 7 winning templates 1212, 2121, 1222, 2221, 2122, 2212, 2222.
		

Crossrefs

a(2*n-1)= A008353(n-1), cf. A035615, A007931, A066067.

Formula

a(2*n-1)= 2^(2*n-1) -n * 2^(n-1), a(2*n)= 2*a(2*n-1) -1.
G.f. x*( 1-x-3*x^2+4*x^3+4*x^4-4*x^5 ) / ( (x-1)*(2*x-1)*(1+x)*(-1+2*x^2)^2 ). - R. J. Mathar, May 07 2013
Showing 1-3 of 3 results.