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.

A067896 Trajectory of 41 under map x -> x/2 if x even, x-> 3x+3 if x odd.

Original entry on oeis.org

41, 126, 63, 192, 96, 48, 24, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3, 12, 6, 3
Offset: 0

Views

Author

Ernst Berg, May 15 2003

Keywords

Programs

  • Mathematica
    NestList[If[EvenQ[#],#/2,3#+3]&,41,100]  (* Harvey P. Dale, Mar 30 2011 *)