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”).

A041763
Denominators of continued fraction convergents to sqrt(402).
2
1, 20, 801, 16040, 642401, 12864060, 515204801, 10316960080, 413193608001, 8274189120100, 331380758412001, 6635889357360120, 265766955052816801, 5321974990413696140, 213144766571600662401, 4268217306422426944160, 170941837023468678428801
OFFSET
0,2
FORMULA
G.f.: -(x^2-20*x-1) / (x^4-802*x^2+1). - Colin Barker, Nov 24 2013
a(n) = 802*a(n-2) - a(n-4) for n>3. - Vincenzo Librandi, Dec 24 2013
MATHEMATICA
Denominator[Convergents[Sqrt[402], 30]] (* Vincenzo Librandi, Dec 24 2013 *)
LinearRecurrence[{0, 802, 0, -1}, {1, 20, 801, 16040}, 30] (* Harvey P. Dale, Oct 09 2017 *)
PROG
(Magma) I:=[1, 20, 801, 16040]; [n le 4 select I[n] else 802*Self(n-2)-Self(n-4): n in [1..40]]; // Vincenzo Librandi, Dec 24 2013
CROSSREFS
Sequence in context: A322890 A267671 A281777 * A041760 A250550 A292417
KEYWORD
nonn,frac,easy,less
AUTHOR
EXTENSIONS
a(16) from Colin Barker, Nov 24 2013
STATUS
approved