OFFSET
1,1
COMMENTS
a(n) = the first Zagreb index of the dendrimer nanostar NS2[n], defined pictorially in Fig. 2 of the Madanshekaf reference.
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 dendrimer nanostar NS2[n] is M(NS2[n]; x,y) = 3*2^n*x*y^2 + (27*2^n - 24)*x^2*y^2 + (33*2^n - 18)*x^2*y^3 + 6*2^n*x^3*y^3.
REFERENCES
A. Madanshekaf, The Randic index of some dendrimer nanostars, J. Appl. Math. & Informatics, 29, No. 5-6, 2011, 1075-1080.
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
E. Deutsch and Sandi Klavzar, M-polynomial and degree-based topological indices, Iranian J. Math. Chemistry, 6, No. 2, 2015, 93-102.
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
From Colin Barker, May 15 2018: (Start)
G.f.: 6*x*(75 - 44*x) / ((1 - x)*(1 - 2*x)).
a(n) = 3*a(n-1) - 2*a(n-2) for n>2.
(End)
MAPLE
seq(318*2^n-186, n = 1 .. 40);
MATHEMATICA
Array[318*2^# - 186 &, 31] (* Michael De Vlieger, May 14 2018 *)
LinearRecurrence[{3, -2}, {450, 1086}, 40] (* Harvey P. Dale, Sep 09 2021 *)
PROG
(GAP) List([1..40], n->318*2^n-186); # Muniru A Asiru, May 15 2018
(PARI) Vec(6*x*(75 - 44*x) / ((1 - x)*(1 - 2*x)) + O(x^40)) \\ Colin Barker, May 15 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, May 14 2018
STATUS
approved