OFFSET
4,1
LINKS
Robert Israel, Table of n, a(n) for n = 4..3319
Francis N. Castro, Luis A. Medina, and L. Brehsner SepĂșlveda, Recursions associated to trapezoid, symmetric and rotation symmetric functions over Galois fields, arXiv preprint arXiv:1702.08038 [math.CO] (2017).
Francis N. Castro, Luis A. Medina, and L. Brehsner SepĂșlveda, Recursions associated to trapezoid, symmetric and rotation symmetric functions over Galois fields, Discrete Math., 341 (2018), 1915-1931.
Index entries for linear recurrences with constant coefficients, signature (2,2,-4,0,4,-8).
FORMULA
a(n) = 2*a(n-1) + 2*a(n-2) - 4*a(n-3) + 4*a(n-5) - 8*a(n-6).
G.f.: 2*x^4*(2 - x + 2*x^2 - 4*x^3 + 8*x^4 - 16*x^5)/((1 - 2*x)*(1 - 2*x^2 - 4*x^5)). - Bruno Berselli, Jun 20 2018
MAPLE
f:= gfun:-rectoproc({a(n) = 2*a(n-1)+2*a(n-2)-4*a(n-3)+4*a(n-5)-8*a(n-6),
seq(a(n) = [4, 6, 24, 36, 112, 184][n+1], n=0..5)}, a(n), remember):
map(f, [$0..40]); # Robert Israel, Jun 20 2018
MATHEMATICA
LinearRecurrence[{2, 2, -4, 0, 4, -8}, {4, 6, 24, 36, 112, 184}, 32] (* Giovanni Resta, Jun 20 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 16 2018
EXTENSIONS
More terms from Giovanni Resta, Jun 20 2018
STATUS
approved