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.

A158525 Number of connected spanning subgraphs and number of forests of the wheel graph W_n.

Original entry on oeis.org

38, 134, 462, 1582, 5406, 18462, 63038, 215230, 734846, 2508926, 8566014, 29246206, 99852798, 340918782, 1163969534, 3974040574, 13568223230, 46324811774, 158162800638, 540001579006, 1843680714750, 6294719700990, 21491517374462, 73376630095870, 250523485634558
Offset: 4

Views

Author

Alois P. Heinz, Mar 20 2009

Keywords

Comments

The wheel graph W_n has n vertices and 2n-2 edges. A single vertex is connected to all vertices of an (n-1)-cycle.

Crossrefs

Cf. A035344.

Programs

  • Maple
    a:= n-> `if`(n<4, 0, (Matrix([[5, 1, 0], [ -6, 0, 1], [2, 0, 0]])^n)[3, 2]): seq(a(n), n=4..30);
  • Mathematica
    CoefficientList[Series[((1 / x^4) (38 - 56 x + 20 x^2) x^4 / (6 x^2 + 1 - 5 x - 2 x^3)), {x, 0, 50}], x] (* Vincenzo Librandi, Jun 06 2013 *)

Formula

G.f.: (38-56*x+20*x^2)*x^4 / (6*x^2+1-5*x-2*x^3).
a(n) = 2 * A035344(n-2).