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.

A185185 Indices of record values in A177413.

Original entry on oeis.org

0, 1, 2, 4, 6, 19, 29, 53, 2035, 3995, 5328, 10141, 14675, 292557
Offset: 1

Views

Author

Ben Branman, Dec 22 2011

Keywords

Crossrefs

Programs

  • Mathematica
    z = x /. FindRoot[x == Cos[x], {x, 0},
       WorkingPrecision -> 1000000]; data = ContinuedFraction[z];
    g[list_] :=
    Delete[list,
      Transpose[{DeleteCases[
         Table[If[list[[n]] < list[[n - 1]], n, no], {n, 2,
           Length[list]}], no]}]]; p =
    FixedPoint[g, DeleteDuplicates[data]]; Flatten[
    Map[Position[data, #, 1, 1] &, p, {1}]]-1

Formula

A177413(a(n)) = A184952(n).

Extensions

Offset changed by Andrew Howroyd, Aug 10 2024