OFFSET
0,1
REFERENCES
A. Heydari, I. Gutman, On the terminal index of thorn graphs, Kragujevac J. Sci., 32, 2010, 57-64.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10, -32, 32).
FORMULA
a(n) = 3*2^n + 9*4^n*(n+1).
G.f.: 6*(2-7*x+8*x^2)/((1-2*x)*(1-4*x)^2).
MAPLE
a := proc (n) options operator, arrow: 3*2^n+9*4^n*(n+1) end proc: seq(a(n), n = 0 .. 25);
MATHEMATICA
CoefficientList[Series[6 (2 - 7 x + 8 x^2) / ((1 - 2 x) (1 - 4 x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 04 2013 *)
PROG
(Magma) [3*2^n+9*4^n*(n+1): n in [0..25]]; // Vincenzo Librandi, Aug 04 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, Aug 02 2013
STATUS
approved