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.

A010337 Numbers k such that the continued fraction for sqrt(k) has period 5.

Original entry on oeis.org

13, 29, 53, 74, 85, 89, 125, 173, 185, 218, 229, 293, 338, 346, 365, 373, 445, 533, 557, 629, 701, 733, 818, 845, 914, 925, 965, 985, 1009, 1042, 1093, 1105, 1129, 1145, 1229, 1373, 1378, 1490, 1525, 1685, 1853, 1901, 1970, 2029, 2138, 2213, 2362, 2378, 2405
Offset: 1

Views

Author

N. J. A. Sloane and Walter Gilbert

Keywords

Programs

  • Mathematica
    q[k_] := Module[{c = ContinuedFraction[Sqrt[k]]}, Length[c] == 2 && Length[c[[2]]] == 5]; Select[Range[2500], q] (* Amiram Eldar, Aug 21 2025 *)