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.

A304158 a(n) is the second Zagreb index of the linear phenylene G[n], defined pictorially in the Darafsheh reference (Fig. 3).

Original entry on oeis.org

24, 84, 144, 204, 264, 324, 384, 444, 504, 564, 624, 684, 744, 804, 864, 924, 984, 1044, 1104, 1164, 1224, 1284, 1344, 1404, 1464, 1524, 1584, 1644, 1704, 1764, 1824, 1884, 1944, 2004, 2064, 2124, 2184, 2244, 2304, 2364, 2424, 2484, 2544, 2604, 2664, 2724, 2784, 2844, 2904, 2964
Offset: 1

Views

Author

Emeric Deutsch, May 08 2018

Keywords

Comments

The second Zagreb index of a simple connected graph is the sum of the degree products 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.

Examples

			a(1) = 24; indeed, G[1] is a hexagon; we have 6 edges, each with end vertices of degree 2; then the second Zagreb index is 6*2*2 =24.
		

Crossrefs

Subsequence of A121024.

Programs

  • Julia
    [60*n-36 for n in 1:50] |> println # Bruno Berselli, May 09 2018
    
  • Maple
    seq(60*n - 36, n = 1 .. 40);
  • PARI
    a(n) = 60*n-36; \\ Altug Alkan, May 09 2018
    
  • PARI
    Vec(12*x*(2 + 3*x)/(1 - x)^2 + O(x^40)) \\ Colin Barker, May 23 2018

Formula

a(n) = 60*n - 36.
a(n) = 12 * A016873(n-1). - Alois P. Heinz, May 09 2018
From Bruno Berselli, May 09 2018: (Start)
O.g.f.: 12*x*(2 + 3*x)/(1 - x)^2.
E.g.f.: 12*(3 - 3*exp(x) + 5*x*exp(x)).
a(n) = 2*a(n-1) - a(n-2).
a(n) = A008594(5*n-3) = A017317(6*n-4) = A072710(4*n-2) = A139245(3*n-1). (End)

A304839 a(n) = 61*n - 38 (n>=1).

Original entry on oeis.org

23, 84, 145, 206, 267, 328, 389, 450, 511, 572, 633, 694, 755, 816, 877, 938, 999, 1060, 1121, 1182, 1243, 1304, 1365, 1426, 1487, 1548, 1609, 1670, 1731, 1792, 1853, 1914, 1975, 2036, 2097, 2158, 2219, 2280, 2341, 2402, 2463, 2524, 2585, 2646, 2707, 2768, 2829, 2890, 2951, 3012
Offset: 1

Views

Author

Emeric Deutsch, May 24 2018

Keywords

Comments

For n>=2, a(n) is the second Zagreb index of the angular phenylene shown in the Bodroza-Pantic et al. reference (Fig. 1 (b)).
The second Zagreb index of a simple connected graph is the sum of the degree products d(i)d(j) over all edges ij of the graph.
The M-polynomial of the angular phenylene A(n) is M(A(n); x, y) = (n + 4)*x^2*y^2 + 2*n*x^2*y^3 + (5*n - 6)*x^3*y^3.

Crossrefs

Cf. A304157.

Programs

  • Maple
    seq(61*n-38, n = 1 .. 50);
  • Mathematica
    Array[61#-38&,50] (* Harvey P. Dale, Nov 23 2022 *)
  • PARI
    Vec(x*(23 + 38*x) / (1 - x)^2 + O(x^40)) \\ Colin Barker, May 24 2018

Formula

From Colin Barker, May 24 2018: (Start)
G.f.: x*(23 + 38*x) / (1 - x)^2.
a(n) = 2*a(n-1) - a(n-2) for n>2.
(End)
Showing 1-2 of 2 results.