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.

A031779 Numbers k such that the period of the continued fraction for sqrt(k) contains exactly 11 ones.

Original entry on oeis.org

1075, 1675, 2183, 2623, 2783, 2871, 3075, 3224, 3256, 3551, 3915, 4675, 5656, 6808, 6815, 7599, 7663, 7987, 8299, 8399, 8695, 8995, 9271, 10672, 10855, 11395, 11403, 11919, 12728, 13407, 14608, 14672, 15023, 15568, 15640, 15768, 16119, 16856, 17043
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    oQ[n_]:=Module[{sqn=Sqrt[n]},!IntegerQ[sqn]&&Count[ ContinuedFraction[ sqn][[2]],1]==11]; Select[Range[20000],oQ] (* Harvey P. Dale, Nov 10 2011 *)