OFFSET
0,1
LINKS
Vincenzo Librandi and Bruno Berselli, Table of n, a(n) for n = 0..100 (first 81 terms from Vincenzo Librandi).
Index entries for linear recurrences with constant coefficients, signature (0,102,0,-1).
FORMULA
G.f.: (10 + 51*x + 10*x^2 - x^3) / (1 - 102*x^2 + x^4). [Bruno Berselli, Oct 30 2013]
a(n) = 102*a(n-2) - a(n-4). [Bruno Berselli, Oct 30 2013]
MATHEMATICA
Numerator[Convergents[Sqrt[104], 30]] (* Vincenzo Librandi, Oct 30 2013 *)
RecurrenceTable[{a[0] == 10, a[1] == 51, a[2] == 1030, a[3] == 5201, a[n] == 102 a[n - 2] - a[n - 4]}, a, {n, 0, 20}] (* Bruno Berselli, Oct 30 2013 *)
LinearRecurrence[{0, 102, 0, -1}, {10, 51, 1030, 5201}, 20] (* Harvey P. Dale, Apr 01 2015 *)
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved