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.

A380138 a(n) is the largest value in the '3x+1' trajectory of starting points producing a record number of steps.

Original entry on oeis.org

1, 2, 16, 16, 52, 52, 52, 88, 9232, 9232, 9232, 9232, 9232, 9232, 9232, 9232, 9232, 9232, 250504, 190996, 190996, 250504, 250504, 250504, 481624, 975400, 975400, 497176, 11003416, 11003416, 106358020, 18976192, 41163712, 106358020, 21933016, 104674192, 593279152
Offset: 1

Views

Author

Hugo Pfoertner, Jan 13 2025

Keywords

Crossrefs

Programs

  • Mathematica
    s = Map[ToExpression,
      StringSplit[
        Import["https://oeis.org/A006877/b006877.txt", "Data"][[2 ;; -1]]
      ][[All, -1]] ];
    Map[Max@ NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, #, # > 1 &] &, s] (* Michael De Vlieger, Jan 13 2025 *)

Formula

a(n) = A025586(A006877(n)).