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.

A372027 Maximum second Zagreb index of maximal outerplanar graphs with n vertices.

Original entry on oeis.org

12, 33, 61, 96, 135, 181, 233, 291, 355, 425, 501, 583, 671, 765, 865, 971, 1083, 1201, 1325, 1455, 1591, 1733, 1881, 2035, 2195, 2361, 2533, 2711, 2895, 3085, 3281, 3483, 3691, 3905, 4125, 4351, 4583, 4821, 5065, 5315, 5571, 5833, 6101, 6375, 6655, 6941, 7233, 7531
Offset: 3

Views

Author

Allan Bickle, Apr 16 2024

Keywords

Comments

The second Zagreb index of a graph is the sum of the products of the degrees over all edges of the graph.
A maximal outerplanar graph has all vertices on the exterior region, and all other regions triangles. The extremal graphs are fans, except when n=6. Then the extremal graph is the triangular grid with degrees 4,4,4,2,2,2.

Examples

			The graph K_3 has 3 degree 2 vertices, so a(3) = 3*4 = 12.
		

Crossrefs

Cf. A002378, A152811, A371912 (Zagreb indices of maximal k-degenerate graphs).
Cf. A051624, A372025, A372026 (second Zagreb indices of maximal k-degenerate graphs).

Programs

  • Mathematica
    LinearRecurrence[{3, -3, 1}, {12, 33, 61, 96, 135, 181, 233}, 50] (* Paolo Xausa, Jan 22 2025 *)

Formula

a(n) = 3*n^2 + n - 19 when n is not 3 or 6.
From Chai Wah Wu, Apr 16 2024: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 9.
G.f.: x^3*(x^6 - 3*x^5 + 3*x^4 + 2*x^2 + 3*x - 12)/(x - 1)^3. (End)