OFFSET
1,1
COMMENTS
This equation is used for worked examples in the Robertson link.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
John P. Robertson, Solving the generalized Pell equation x^2 - Dy^2 = N
Index entries for linear recurrences with constant coefficients, signature (0,0,0,11,0,0,0,-1).
FORMULA
G.f.: -x*(x-1)*(11*x^6+26*x^5+50*x^4+91*x^3+50*x^2+26*x+11) / ((x^4-3*x^2-1)*(x^4+3*x^2-1)).
a(n) = 11*a(n-4)-a(n-8).
MATHEMATICA
CoefficientList[Series[-(x - 1) (11 x^6 + 26 x^5 + 50 x^4 + 91 x^3 + 50 x^2 + 26 x + 11) / ((x^4 - 3 x^2 - 1) (x^4 + 3 x^2 - 1)), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 17 2013 *)
PROG
(PARI) Vec(-x*(x-1)*(11*x^6+26*x^5+50*x^4+91*x^3+50*x^2+26*x+11)/((x^4-3*x^2-1)*(x^4+3*x^2-1)) + O(x^100))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Aug 16 2013
STATUS
approved