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-2 of 2 results.

A003696 Number of spanning trees in P_4 X P_n.

Original entry on oeis.org

1, 56, 2415, 100352, 4140081, 170537640, 7022359583, 289143013376, 11905151192865, 490179860527896, 20182531537581071, 830989874753525760, 34214941811800329425, 1408756312731277540744
Offset: 1

Views

Author

Keywords

Comments

Also number of domino tilings of the 7 X (2n-1) rectangle with upper left corner removed. - Alois P. Heinz, Apr 14 2011
A linear divisibility sequence of order 8; a(n) divides a(m) whenever n divides m. It is the product of a 2nd-order Lucas sequence and a 4th-order linear divisibility sequence. - Peter Bala, Apr 27 2014

References

  • F. Faase, On the number of specific spanning subgraphs of the graphs G X P_n, Ars Combin. 49 (1998), 129-154.

Crossrefs

A row of A116469. - N. J. A. Sloane, May 27 2012
Bisection of A189004. - Alois P. Heinz, Sep 20 2012

Programs

  • Maple
    seq(resultant(simplify(ChebyshevU(3, (x-4)*(1/2))), simplify(ChebyshevU(n-1, (1/2)*x)), x), n = 1 .. 14); # Peter Bala, Apr 27 2014
  • Mathematica
    LinearRecurrence[{56, -672, 2632, -4094, 2632, -672, 56, -1}, {1, 56, 2415, 100352, 4140081, 170537640, 7022359583, 289143013376}, 20] (* Jean-François Alcover, Feb 28 2020 *)
  • PARI
    {a(n) = polresultant((x-4)*(x^2-8*x+14), polchebyshev(n-1, 2, x/2))}; /* Michael Somos, Oct 31 2022 */

Formula

a(1) = 1,
a(2) = 56,
a(3) = 2415,
a(4) = 100352,
a(5) = 4140081,
a(6) = 170537640,
a(7) = 7022359583,
a(8) = 289143013376 and
a(n) = 56a(n-1) - 672a(n-2) + 2632a(n-3) - 4094a(n-4) + 2632a(n-5) - 672a(n-6) + 56a(n-7) - a(n-8).
G.f.: x(x^6-49x^4+112x^3-49x^2+1) / (x^8-56x^7 +672x^6-2632x^5 +4094x^4 -2632x^3 +672x^2-56x+1). - Paul Raff, Mar 06 2009
From Peter Bala, Apr 27 2014: (Start)
a(n) = Resultant( U(3,(x-4)/2),U(n-1,x/2) ), where U(n,x) denotes the Chebyshev polynomial of the second kind. The polynomial U(3,(x-4)/2) = x^3 - 12*x^2 + 46*x - 56 (see A159764) has zeros z_1 = 4, z_2 = 4 + sqrt(2) and z_3 = 4 - sqrt(2). Hence a(n) = U(n-1,2)*U(n-1,1/2*(4 + sqrt(2)))*U(n-1,1/2*(4 - sqrt(2))).
a(n) = A001353(n)*A161158(n-1). (End)
a(n) = (9/3968)*(A028469(n+3)-A028469(n-4)) - (497/3968)*(A028469(n+2)-A028469(n-3)) + (5687/3968)*(A028469(n+1)-A028469(n-2)) - (19983/3968)*(A028469(n)-A028469(n-1)), n>3. - Sergey Perepechko, May 02 2016
a(n) = -a(-n) for all n in Z. - Michael Somos, Oct 31 2022

Extensions

Added recurrence from Faase's web page. - N. J. A. Sloane, Feb 03 2009

A189006 Array A(m,n) read by antidiagonals: number of domino tilings of the m X n grid with upper left corner removed iff m*n is odd, (m>=0, n>=0).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 5, 4, 5, 1, 1, 1, 1, 8, 11, 11, 8, 1, 1, 1, 1, 13, 15, 36, 15, 13, 1, 1, 1, 1, 21, 41, 95, 95, 41, 21, 1, 1, 1, 1, 34, 56, 281, 192, 281, 56, 34, 1, 1, 1, 1, 55, 153, 781, 1183, 1183, 781, 153, 55, 1, 1, 1, 1, 89, 209, 2245, 2415, 6728, 2415, 2245, 209, 89, 1, 1
Offset: 0

Views

Author

Alois P. Heinz, Apr 15 2011

Keywords

Examples

			A(3,3) = 4, because there are 4 domino tilings of the 3 X 3 grid with upper left corner removed:
  . .___. . .___. . .___. . .___.
  ._|___| ._|___| ._| | | ._|___|
  | |___| | | | | | |_|_| |___| |
  |_|___| |_|_|_| |_|___| |___|_|
Array begins:
  1, 1,  1,  1,   1,    1,    1, ...
  1, 1,  1,  1,   1,    1,    1, ...
  1, 1,  2,  3,   5,    8,   13, ...
  1, 1,  3,  4,  11,   15,   41, ...
  1, 1,  5, 11,  36,   95,  281, ...
  1, 1,  8, 15,  95,  192, 1183, ...
  1, 1, 13, 41, 281, 1183, 6728, ...
		

Crossrefs

Rows m=0+1, 2-12 give: A000012, A000045(n+1), A002530(n+1), A005178(n+1), A189003, A028468, A189004, A028470, A189005, A028472, A210724, A028474.
Main diagonal gives: A189002.

Programs

  • Maple
    with(LinearAlgebra):
    A:= proc(m, n) option remember; local i, j, s, t, M;
          if m=0 or n=0 then 1
        elif m1 or j>1 or s=0 then
                   if j
    				
  • Mathematica
    A[1, 1] = 1; A[m_, n_] := A[m, n] = Module[{i, j, s, t, M}, Which[m == 0 || n == 0, 1, m < n, A[n, m], True, s = Mod[n*m, 2];M[i_, j_] /; j < i := -M[j, i]; M[, ] = 0; For[i = 1, i <= n, i++, For[j = 1, j <= m, j++, t = (i-1)*m+j-s; If[i > 1 || j > 1 || s == 0, If[j < m, M[t, t+1] = 1]; If[i < n, M[t, t+m] = 1-2*Mod[j, 2]]]]]; Sqrt[Det[Array[M, {n*m-s, n*m-s}]]]]]; Table[Table[A[m, d-m], {m, 0, d}], {d, 0, 15}] // Flatten (* Jean-François Alcover, Dec 26 2013, translated from Maple *)
Showing 1-2 of 2 results.