OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (12,-48,64).
FORMULA
a(n) = 4^n*(n^2 + n + 8)/8.
a(n) = [x^n] (-16*x^2 + 7*x - 1)/(4*x - 1)^3.
a(n) = n! [x^n] exp(4*x)*(2*x^2 + x + 1).
a(n) = a(n-1)*4*(8 + n + n^2)/(8 - n + n^2).
a(n) = A328000(2*n).
From Colin Barker, Feb 05 2020: (Start)
a(n) = 12*a(n-1) - 48*a(n-2) + 64*a(n-3) for n>2.
a(n) = 2^(2*n - 3)*(8 + n + n^2).
(End)
MATHEMATICA
LinearRecurrence[{12, -48, 64}, {1, 5, 28}, 24] (* Michael De Vlieger, Feb 07 2020 *)
PROG
(PARI) Vec((1 - 7*x + 16*x^2) / (1 - 4*x)^3 + O(x^25)) \\ Colin Barker, Feb 05 2020
(PARI) apply( {A327999(n)=(n^2+n+8)<<(2*n-3)}, [0..25]) \\ M. F. Hasler, Feb 07 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Oct 01 2019
STATUS
approved