|
|
A192845
|
|
Molecular topological indices of the sun graphs.
|
|
1
|
|
|
4, 56, 180, 400, 740, 1224, 1876, 2720, 3780, 5080, 6644, 8496, 10660, 13160, 16020, 19264, 22916, 27000, 31540, 36560, 42084, 48136, 54740, 61920, 69700, 78104, 87156, 96880, 107300, 118440
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Sun graphs are defined for n >= 3; extended to n=1 using closed form.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4*n*(-3 + 3*n + n^2).
G.f.: 4*x*(1 + 10*x - 5*x^2)/(1-x)^4. - Colin Barker, Aug 07 2012
|
|
MATHEMATICA
|
Table[4*n*(-3+3*n+n^2), {n, 1, 40}] (* G. C. Greubel, Jan 05 2019 *)
LinearRecurrence[{4, -6, 4, -1}, {4, 56, 180, 400}, 30] (* Harvey P. Dale, Mar 02 2024 *)
|
|
PROG
|
(PARI) vector(40, n, 4*n*(-3+3*n+n^2)) \\ G. C. Greubel, Jan 05 2019
(Magma) [4*n*(-3+3*n+n^2): n in [1..40]]; // G. C. Greubel, Jan 05 2019
(Sage) [4*n*(-3+3*n+n^2) for n in (1..40)] # G. C. Greubel, Jan 05 2019
(GAP) List([1..40], n -> 4*n*(-3+3*n+n^2)); # G. C. Greubel, Jan 05 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|