OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (50, 1).
FORMULA
a(n) = 50*a(n-1)+a(n-2) for n>1; a(0)=25, a(1)=1251. G.f.: (25+x)/(1-50*x-x^2). [Philippe Deléham, Nov 23 2008]
MATHEMATICA
Numerator[Convergents[Sqrt[626], 30]] (* Harvey P. Dale, Jul 15 2012 *)
CoefficientList[Series[(25 + x)/(1 - 50 x - x^2), {x, 0, 20}], x] (* Vincenzo Librandi, Nov 19 2013 *)
PROG
(Magma) I:=[25, 1251]; [n le 2 select I[n] else 50*Self(n-1)+Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 19 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved