A263229 a(n) = 4*n*(21*n - 26).
0, -20, 128, 444, 928, 1580, 2400, 3388, 4544, 5868, 7360, 9020, 10848, 12844, 15008, 17340, 19840, 22508, 25344, 28348, 31520, 34860, 38368, 42044, 45888, 49900, 54080, 58428, 62944, 67628, 72480, 77500, 82688, 88044, 93568, 99260, 105120, 111148, 117344, 123708, 130240
Offset: 0
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).
Programs
-
Magma
[4*n*(21*n-26): n in [0..20]]; // Vincenzo Librandi, Oct 15 2015
-
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 *)
-
PARI
vector(50, n, n--; 4*n*(21*n-26)) \\ Altug Alkan, Oct 15 2015
Formula
G.f.: 4*x*(47*x-5)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
Comments