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.

A003079 One of the basic cycles in the x->3x-1 (x odd) or x/2 (x even) problem.

Original entry on oeis.org

5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10, 5, 14, 7, 20, 10
Offset: 0

Views

Author

Keywords

References

  • R. K. Guy, Unsolved Problems in Number Theory, E16.

Programs

  • Mathematica
    NestList[If[OddQ[#],3#-1,#/2]&,5,80] (* Harvey P. Dale, Feb 27 2023 *)