OFFSET
0,2
COMMENTS
For n>=3, a(n) = the hyper-Wiener index of the Jahangir graph J_{4,n}. The Jahangir graph J_{4,n} is a connected graph consisting of a cycle graph C(4n) and one additional center vertex that is adjacent to n vertices of C(4n) at distances 4 to each other on C(4n).
The Hosoya polynomial of J_{4,n} is 5nx + n(n+1))x^2/2 + n(2n+1)x^3 +n(3n-4)x^4 + 2n(n-2)x^5 + n(n-3)x^6/2 (see the Farahani reference, p. 234, last line; however, the expression in Theorem 1, p. 233, is accidentally incorrect).
LINKS
M. R. Farahani, Hosoya polynomial and of Jahangir graphs J_{4,m}, Global J. Math, 3 (1), 232-236, 2015.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f. = 4*x*(47*x-5)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
MAPLE
seq(84*n^2 - 104*n, n=0..40);
MATHEMATICA
Table[4 n (21 n - 26), {n, 0, 40}] (* Bruno Berselli, Oct 15 2015 *)
PROG
(Magma) [4*n*(21*n-26): n in [0..20]]; // Vincenzo Librandi, Oct 15 2015
(PARI) vector(50, n, n--; 4*n*(21*n-26)) \\ Altug Alkan, Oct 15 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Emeric Deutsch, Oct 13 2015
STATUS
approved