OFFSET
3,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 3..1000
Reinaldo E. Giudici and Aurora A. Olivieri, Quadratic modulo 2n Cayley graphs, Discrete Math. 215 (2000), no. 1-3, 73-79. See T(n) in Theorem 3.1.
Index entries for linear recurrences with constant coefficients, signature (8,20,-160,-64,512).
FORMULA
G.f.: 128*x^5*(32*x^2-1) / ((2*x-1)*(2*x+1)*(4*x-1)*(4*x+1)*(8*x-1)). - Colin Barker, Jul 23 2013
MAPLE
f:=n-> if n mod 2 = 1 then
(1/45)*(2^(3*(n-1))+5*2^(2*n-1)-7*2^(n+2));
else
(1/45)*(2^(3*(n-1))+5*2^(2*n)-7*2^(n+4));
fi;
[seq(f(n), n=3..40)];
MATHEMATICA
CoefficientList[Series[128 x^2 (32 x^2 - 1) / ((2 x - 1) (2 x + 1) (4 x - 1) (4 x + 1) (8 x - 1)), {x, 0, 33}], x] (* Vincenzo Librandi, Aug 21 2016 *)
LinearRecurrence[{8, 20, -160, -64, 512}, {0, 0, 128, 1024, 6656}, 30] (* Harvey P. Dale, May 31 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 05 2012
STATUS
approved