OFFSET
2,1
LINKS
Eric Weisstein's World of Mathematics, Crossed Prism Graph
Eric Weisstein's World of Mathematics, Hamiltonian Path
Index entries for linear recurrences with constant coefficients, signature (6, -12, 8).
FORMULA
a(n) = 12*2^(n-1)*n*(n+1). - Eric W. Weisstein, Dec 16 2013
a(n) = 5*a(n-1)-6*a(n-2)-4*a(n-3)+8*a(n-4). - Colin Barker, May 06 2014
G.f.: -48*x^2*(4*x^2-6*x+3) / (2*x-1)^3. - Colin Barker, May 06 2014
MAPLE
MATHEMATICA
Table[12*2^(n - 1)*n*(n + 1), {n, 2, 30}] (* Wesley Ivan Hurt, May 06 2014 *)
LinearRecurrence[{6, -12, 8}, {144, 576, 1920}, 30] (* Vincenzo Librandi, Feb 22 2016 *)
PROG
(Magma) [12*2^(n-1)*n*(n+1): n in [2..30]]; // Vincenzo Librandi, Feb 22 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Feb 20 2008
EXTENSIONS
More terms from Wesley Ivan Hurt, May 06 2014
STATUS
approved