login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A041757
Denominators of continued fraction convergents to sqrt(398).
2
1, 1, 19, 20, 779, 799, 15161, 15960, 621641, 637601, 12098459, 12736060, 496068739, 508804799, 9654555121, 10163359920, 395862232081, 406025592001, 7704322888099, 8110348480100, 315897565131899, 324007913611999, 6148040010147881, 6472047923759880
OFFSET
0,3
FORMULA
G.f.: -(x^2-x-1)*(x^4+20*x^2+1) / (x^8-798*x^4+1). - Colin Barker, Nov 24 2013
a(n) = 798*a(n-4) - a(n-8) for n>7. - Vincenzo Librandi, Dec 24 2013
MATHEMATICA
Denominator[Convergents[Sqrt[398], 30]] (* Vincenzo Librandi, Dec 24 2013 *)
PROG
(Magma) I:=[1, 1, 19, 20, 779, 799, 15161, 15960]; [n le 8 select I[n] else 798*Self(n-4)-Self(n-8): n in [1..40]]; // Vincenzo Librandi, Dec 24 2013
CROSSREFS
Sequence in context: A197353 A041179 A041756 * A041758 A042735 A156758
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 24 2013
STATUS
approved