OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1594
Index entries for linear recurrences with constant coefficients, signature (0,17,0,17,0,-1).
FORMULA
a(n) = 17*a(n-2)+17*a(n-4)-a(n-6). - R. J. Mathar, Feb 10 2012
G.f.: -(x-1)*(x^4+10*x^3+42*x^2+10*x+1) / ((x^2-4*x-1)*(x^2+1)*(x^2+4*x-1)). - Colin Barker, May 14 2014
MATHEMATICA
Select[LucasL[Range[50]], OddQ]^2 (* Harvey P. Dale, Nov 13 2021 *)
PROG
(PARI) Vec(-(x-1)*(x^4+10*x^3+42*x^2+10*x+1)/((x^2-4*x-1)*(x^2+1)*(x^2+4*x-1)) + O(x^100)) \\ Colin Barker, May 14 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, May 14 2014
STATUS
approved