OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 5052, 0, 0, 0, 0, 0, 0, 0, -1).
FORMULA
G.f.: (26 +27*x +53*x^2 +133*x^3 +452*x^4 +1037*x^5 +1489*x^6 +2526*x^7 +1489*x^8 -1037*x^9 +452*x^10 -133*x^11 +53*x^12 -27*x^13 +26*x^14 -x^15)/(1 -5052*x^8 +x^16). - Vincenzo Librandi, Nov 22 2013
a(n) = 5052*a(n-8) - a(n-16). - Vincenzo Librandi, Nov 22 2013
MATHEMATICA
Numerator[Convergents[Sqrt[707], 30]] (* or *) CoefficientList[Series[(26 + 27 x + 53 x^2 + 133 x^3 + 452 x^4 + 1037 x^5 + 1489 x^6 + 2526 x^7 + 1489 x^8 - 1037 x^9 + 452 x^10 - 133 x^11 + 53 x^12 - 27 x^13 + 26 x^14 - x^15)/(1 - 5052 x^8 + x^16), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 22 2013 *)
PROG
(Magma) I:=[26, 27, 53, 133, 452, 1037, 1489, 2526, 132841, 135367, 268208, 671783, 2283557, 5238897, 7522454, 12761351]; [n le 16 select I[n] else 5052*Self(n-8)-Self(n-16): n in [1..30]]; // Vincenzo Librandi, Nov 22 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved