|
|
A242371
|
|
Modified eccentric connectivity index of the cycle graph with n vertices, C[n].
|
|
1
|
|
|
12, 32, 40, 72, 84, 128, 144, 200, 220, 288, 312, 392, 420, 512, 544, 648, 684, 800, 840, 968, 1012, 1152, 1200, 1352, 1404, 1568, 1624, 1800, 1860, 2048, 2112, 2312, 2380, 2592, 2664, 2888, 2964, 3200, 3280, 3528, 3612, 3872, 3960, 4232, 4324, 4608, 4704
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,1
|
|
COMMENTS
|
The modified eccentric connectivity index of a graph is defined as the sum of the products of eccentricity with the total degree of neighboring vertices, over all vertices of the graph. This is a generalization of eccentric connectivity index.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*n*(n-1) if n is odd; and a(n) = 2*n^2 if n is even (n>2).
G.f.: -4*x^3*(3+5*x-4*x^2-2*x^3+2*x^4)/((x+1)^2*(x-1)^3). - Alois P. Heinz, Jun 26 2014
|
|
EXAMPLE
|
a(3) = 3*4 = 12 because there are 3 vertices and each vertex has eccentricity 1 and the total degree of neighboring vertices is 4.
|
|
MAPLE
|
a:= n-> n*(2*n-1+(-1)^n):
|
|
MATHEMATICA
|
a[n_] := 2n(n-Boole[OddQ[n]]);
|
|
PROG
|
(PARI) a(n) = if (n % 2, 2*n*(n-1), 2*n^2); \\ Michel Marcus, Jun 20 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|