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.

A224454 The Wiener index of the linear phenylene with n hexagons.

Original entry on oeis.org

27, 180, 567, 1296, 2475, 4212, 6615, 9792, 13851, 18900, 25047, 32400, 41067, 51156, 62775, 76032, 91035, 107892, 126711, 147600, 170667, 196020, 223767, 254016, 286875, 322452, 360855, 402192, 446571, 494100, 544887, 599040, 656667, 717876, 782775, 851472, 924075, 1000692, 1081431, 1166400
Offset: 1

Views

Author

Emeric Deutsch, Apr 10 2013

Keywords

Comments

a(2) and a(5) have been checked by the direct computation of the Wiener index (using Maple).

References

  • I. Gutman, The topological indices of linear phenylenes, J. Serb. Chem. Soc., 60, No. 2, 1995, 99-104.

Crossrefs

Cf. A224455.

Programs

  • Magma
    [9*n^2*(2*n+1): n in [1..40]]; // Vincenzo Librandi, Dec 09 2016
  • Maple
    a := proc (n) options operator, arrow: 9*n^2*(2*n+1) end proc: seq(a(n), n = 1 .. 40);
  • Mathematica
    LinearRecurrence[{4, -6, 4, -1}, {27, 180, 567, 1296}, 100] (* or *) Table[9*n^2*(2*n+1), {n,1,100}] (* G. C. Greubel, Dec 08 2016 *)
  • PARI
    Vec(9*x*(3 + 8*x + x^2)/(1-x)^4 + O(x^50)) \\ G. C. Greubel, Dec 08 2016
    

Formula

a(n) = 9*n^2*(2n+1) = 9*A099721(n).
G.f.: 9*x*(3 + 8*x + x^2)/(1-x)^4.
The Hosoya polynomial of the linear phenylene with n hexagons is nt(t^3-t^2-4t-8)/(t-1) + 2t(t+1)(t^(3n)-1)/(t-1)^2.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - G. C. Greubel, Dec 08 2016

A304157 a(n) is the first Zagreb index of the linear phenylene G[n], defined pictorially in the Darafsheh reference.

Original entry on oeis.org

24, 68, 112, 156, 200, 244, 288, 332, 376, 420, 464, 508, 552, 596, 640, 684, 728, 772, 816, 860, 904, 948, 992, 1036, 1080, 1124, 1168, 1212, 1256, 1300, 1344, 1388, 1432, 1476, 1520, 1564, 1608, 1652, 1696, 1740, 1784, 1828, 1872, 1916, 1960, 2004, 2048
Offset: 1

Views

Author

Emeric Deutsch, May 07 2018

Keywords

Comments

The first Zagreb index of a simple connected graph is the sum of the squared degrees of its vertices. Alternatively, it is the sum of the degree sums d(i) + d(j) over all edges ij of the graph.
The M-polynomial of the linear phenylene G[n] is M(G[n];x,y) = 6*x^2*y^2 + 4*(n - 1)*x^2*y^3 + 4(n - 1)*x^3*y^3.
a(n) is the first Zagreb index of the angular phenylene shown in the Bodroza-Pantic et al. reference (Fig. 1 (b)). - Emeric Deutsch, May 24 2018

Examples

			From _Andrew Howroyd_, May 09 2018: (Start)
Illustration of the first two graphs:
       o              o         o
     /   \          /   \     /   \
    o     o        o     o---o     o
    |     |        |     |   |     |
    o     o        o     o---o     o
     \   /          \   /     \   /
       o              o         o
In general, the graph consists of a chain of n linked hexagons.
.
Case n=1: There are 6 vertices of degree 2, so a(1) = 6*2^2 = 24.
Case n=2: There are 8 vertices of degree 2 and 4 of degree 3, so a(2) = 8*2^2 + 4*3^3 = 32 + 36 = 68.
In general, there will be 2n + 4 vertices of degree 2 and 4n - 4 of degree 3.
(End)
		

Crossrefs

Programs

  • Maple
    seq(44*n - 20, n = 1 .. 40);
  • PARI
    Vec(4*x*(6 + 5*x) / (1 - x)^2 + O(x^60)) \\ Colin Barker, May 07 2018

Formula

a(n) = 44*n - 20.
a(n) = 4 * A017461(n-1).
From Colin Barker, May 07 2018: (Start)
G.f.: 4*x*(6 + 5*x) / (1 - x)^2.
a(n) = 2*a(n-1) - a(n-2) for n>2.
(End)
Showing 1-2 of 2 results.