OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (4,4,-16).
FORMULA
MATHEMATICA
CoefficientList[Series[(5 - x - 28 x^2)/(1 - 4 x - 4 x^2 + 16 x^3), {x, 0, 33}], x]
PROG
(Magma) [2^(n-2)*(2^(n+4)-(-1)^n+5): n in [0..25]] /* or */ I:=[5, 19, 68]; [n le 3 select I[n] else 4*Self(n-1)+4*Self(n-2)-16*Self(n-3): n in [1..30]]
(PARI) a(n)=(2^(n+4)-(-1)^n+5)<<(n-2) \\ Charles R Greathouse IV, Aug 26 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 07 2014
STATUS
approved