OFFSET
0,3
LINKS
Ray Chandler, Table of n, a(n) for n = 0..813
Index entries for linear recurrences with constant coefficients, signature (0,290,0,-289).
FORMULA
From Colin Barker, Apr 30 2014: (Start)
a(n) = (-1)*((-3+(-1)^n)*(-1+17^n))/64.
a(n) = 290*a(n-2)-289*a(n-4).
G.f.: x*(17*x^2+9*x+1) / ((x-1)*(x+1)*(17*x-1)*(17*x+1)). (End)
MAPLE
MATHEMATICA
a[n_] :=(17^n - 1)/(2^(5 - Mod[n, 2])); Table[a[n], {n, 0, 30}]
LinearRecurrence[{0, 290, 0, -289}, {0, 1, 9, 307}, 30] (* Harvey P. Dale, May 21 2015 *)
PROG
(PARI) concat(0, Vec((17*x^3+9*x^2+x)/(289*x^4-290*x^2+1) + O(x^100))) \\ Colin Barker, Apr 30 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Dec 04 2008
STATUS
approved