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.

A195634 Denominators a(n) of Pythagorean approximations b(n)/a(n) to sqrt(3/4).

Original entry on oeis.org

4, 55, 1120, 2997, 35460, 3140676, 1921787, 32412552, 58579212, 441025780, 410535015, 77779347592, 654610870027, 2025218645520, 7961709199049, 29306172663680, 88433963478036, 109778426942667, 2900499582545112, 4716082204442140
Offset: 1

Views

Author

Clark Kimberling, Sep 22 2011

Keywords

Comments

See A195500 for a discussion and references.

Crossrefs

Programs

  • Mathematica
    r = Sqrt[3/4]; z = 28;
    p[{f_, n_}] := (#1[[2]]/#1[[
          1]] &)[({2 #1[[1]] #1[[2]], #1[[1]]^2 - #1[[
             2]]^2} &)[({Numerator[#1], Denominator[#1]} &)[
         Array[FromContinuedFraction[
            ContinuedFraction[(#1 + Sqrt[1 + #1^2] &)[f], #1]] &, {n}]]]];
    {a, b} = ({Denominator[#1], Numerator[#1]} &)[
      p[{r, z}]]  (* A195634, A195635 *)
    Sqrt[a^2 + b^2] (* A195636 *)
    (* Peter J. C. Moses, Sep 02 2011 *)