cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A042300 Numerators of continued fraction convergents to sqrt(677).

Original entry on oeis.org

26, 1353, 70382, 3661217, 190453666, 9907251849, 515367549814, 26809019842177, 1394584399343018, 72545197785679113, 3773744869254656894, 196307278399027837601, 10211752221618702212146, 531207422802571542869193, 27632997737955338931410182
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    I:=[26,1353]; [n le 2 select I[n] else 52*Self(n-1)+Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 21 2013
  • Mathematica
    Numerator[Convergents[Sqrt[677], 30]] (* or *) LinearRecurrence[{52, 1}, {26, 1353}, 30] (* Harvey P. Dale, Nov 09 2011 *)

Formula

a(n) = 52*a(n-1)+a(n-2) for n>1, a(0)=26, a(1)=1353. G.f.: (26+x)/(1-52*x -x^2). [Philippe Deléham, Nov 23 2008]

Extensions

Additional term from Colin Barker, Dec 07 2013