login
Triangle read by rows: T(n,k) is the number of k-matchings in the n-sunlet graph (0 <= k <= n).
7

%I #45 Aug 02 2024 19:08:57

%S 1,1,1,1,4,1,1,6,6,1,1,8,16,8,1,1,10,30,30,10,1,1,12,48,76,48,12,1,1,

%T 14,70,154,154,70,14,1,1,16,96,272,384,272,96,16,1,1,18,126,438,810,

%U 810,438,126,18,1,1,20,160,660,1520,2004,1520,660,160,20,1,1,22,198,946,2618,4334,4334,2618,946,198,22,1

%N Triangle read by rows: T(n,k) is the number of k-matchings in the n-sunlet graph (0 <= k <= n).

%C The n-sunlet graph is the corona C'(n) of the cycle graph C(n) and the complete graph K(1); in other words, C'(n) is the graph constructed from C(n) to which for each vertex v a new vertex v' and the edge vv' is added.

%C Row n contains n+1 terms. Row sums yield A099425. T(n,k) = T(n,n-k).

%C For n > 2: same recurrence like A008288 and A128966. - _Reinhard Zumkeller_, Apr 15 2014

%D J. L. Gross and J. Yellen, Handbook of Graph Theory, CRC Press, Boca Raton, 2004, p. 894.

%D F. Harary, Graph Theory, Addison-Wesley, Reading, Mass., 1969, p. 167.

%H Reinhard Zumkeller, <a href="/A102413/b102413.txt">Rows n = 0..125 of table, flattened</a>

%H Frédéric Bihan, Francisco Santos, and Pierre-Jean Spaenlehauer, <a href="https://arxiv.org/abs/1804.5683">A Polyhedral Method for Sparse Systems with many Positive Solutions</a>, arXiv:1804.05683 [math.CO], 2018.

%H A. F. Horadam, <a href="https://www.fq.math.ca/Papers1/43-2/paper43-2-3.pdf">Chebyshev and Pell connections</a>, Fib. Quart. 43 (2) (2005) 108-121, table (6.11)

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Matching-GeneratingPolynomial.html">Matching-Generating Polynomial</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SunletGraph.html">Sunlet Graph</a>

%F G.f.: G(t,z) = (1 + t*z^2) / (1 - (1+t)*z - t*z^2).

%F For n > 2: T(n,k) = T(n-1,k-1) + T(n-1,k) + T(n-2,k-1), 0 < k < n. - _Reinhard Zumkeller_, Apr 15 2014 (corrected by _Andrew Woods_, Dec 08 2014)

%F From _Peter Bala_, Jun 25 2015: (Start)

%F The n-th row polynomial R(n, t) = [z^n] F(z, t)^n, where F(z, t) = 1/2*( 1 + (1 + t)*z + sqrt(1 + 2*(1 + t)*z + (1 + 6*t + t^2)*z^2) ).

%F exp( Sum_{n >= 1} R(n, t)*z^n/n ) = 1 + (1 + t)*z + (1 + 3*t + t^2)*z^2 + (1 + 5*t + 5*t^2 + t^3)*z^3 + ... is the o.g.f for A008288 read as a triangular array. (End)

%F From _Peter Bala_, Aug 01 2024: (Start)

%F T(n, k) = A008288(n-k, k) + A008288(n-k-1, k-1) (Bihan et al., Proposition 6.6).

%F T(n, k) = 1 if n = 0 or k = n, else for 1 <= k <= n-1, T(n, k) = Sum_{j = 0..min(n-k, k)} (2^j)*(binomial(n-k, j)*binomial(k, j) + binomial(n-k-1, j)*binomial(k-1, j)).

%F Let S(x) = (1 - x - (1 - 6*x + x^2)^(1/2))/(2*x) denote the g.f. of the sequence of large Schröder numbers A006318. The signed n-th row polynomial R(n, -x) = 1/S(x)^n + (x*S(x))^n. (End)

%e T(3,2) = 6 because in the graph with vertex set {A,B,C,a,b,c} and edge set {AB,AC,BC,Aa,Bb,Cc} we have the following six 2-matchings: {Aa,BC}, {Bb,AC}, {Cc,AB}, {Aa,Bb}, {Aa,Cc} and {Bb,Cc}.

%e The triangle starts:

%e 1;

%e 1, 1;

%e 1, 4, 1;

%e 1, 6, 6, 1;

%e 1, 8, 16, 8, 1;

%e From _Eric W. Weisstein_, Apr 03 2018: (Start)

%e Rows as polynomials:

%e 1

%e 1 + x,

%e 1 + 4*x + x^2,

%e 1 + 6*x + 6*x^2 + x^3,

%e 1 + 8*x + 16*x^2 + 8*x^3 + x^4,

%e 1 + 10*x + 30*x^2 + 30*x^3 + 10*x^4 + x^5,

%e ... (End)

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

%t CoefficientList[Table[2^-n ((1 + x - Sqrt[1 + x (6 + x)])^n + (1 + x + Sqrt[1 + x (6 + x)])^n), {n, 10}], x] // Flatten (* _Eric W. Weisstein_, Apr 03 2018 *)

%t LinearRecurrence[{1 + x, x}, {1, 1 + x, 1 + 4 x + x^2}, 10] // Flatten (* _Eric W. Weisstein_, Apr 03 2018 *)

%t Join[{1}, CoefficientList[CoefficientList[Series[(-1 - x - 2 x z)/(-1 + z + x z + x z^2), {z, 0, 10}], z], x]] // Flatten (* _Eric W. Weisstein_, Apr 03 2018 *)

%o (Haskell)

%o a102413 n k = a102413_tabl !! n !! k

%o a102413_row n = a102413_tabl !! n

%o a102413_tabl = [1] : [1,1] : f [2] [1,1] where

%o f us vs = ws : f vs ws where

%o ws = zipWith3 (((+) .) . (+))

%o ([0] ++ us ++ [0]) ([0] ++ vs) (vs ++ [0])

%o -- _Reinhard Zumkeller_, Apr 15 2014

%Y Cf. A099425, A006318, A008288.

%Y Cf. A241023 (central terms).

%K nonn,tabl,easy

%O 0,5

%A _Emeric Deutsch_, Jan 07 2005

%E Row 0 in polynomials and Mathematica programs added by _Georg Fischer_, Apr 01 2019