OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..100
Index entries for linear recurrences with constant coefficients, signature (0,34,0,-1).
FORMULA
G.f.: -(x+1)*(x^2-9*x-8) / ((x^2-6*x+1)*(x^2+6*x+1)). - Colin Barker, Nov 05 2013
From Gerry Martens, Jul 11 2015: (Start)
Interspersion of 2 sequences [a1(n),a0(n)] for n>0:
a0(n) = (-4+3*sqrt(2))*(17+12*sqrt(2))^n-((4+3*sqrt(2))/(17+12*sqrt(2))^n).
a1(n) = (1/(17+12*sqrt(2))^n+(17+12*sqrt(2))^n)/2. (End)
MATHEMATICA
Numerator[Convergents[Sqrt[72], 30]] (* Vincenzo Librandi, Oct 29 2013 *)
a0[n_] := (-4+3*Sqrt[2])*(17+12*Sqrt[2])^n-((4+3*Sqrt[2])/(17+12*Sqrt[2])^n) // Simplify
a1[n_] := (1/(17+12*Sqrt[2])^n+(17+12*Sqrt[2])^n)/2 // FullSimplify
Flatten[MapIndexed[{a0[#], a1[#]} &, Range[20]]] (* Gerry Martens, Jul 11 2015 *)
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 05 2013
STATUS
approved