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.

A161022 Collatz (or 3x+1) trajectory starting at 10087.

Original entry on oeis.org

10087, 30262, 15131, 45394, 22697, 68092, 34046, 17023, 51070, 25535, 76606, 38303, 114910, 57455, 172366, 86183, 258550, 129275, 387826, 193913, 581740, 290870, 145435, 436306, 218153, 654460, 327230, 163615, 490846, 245423, 736270
Offset: 0

Views

Author

Reinhard Zumkeller, Jun 03 2009

Keywords

Comments

10087 = A060412(6); a(A006577(10087)) = a(223) = 1;
a(n)=A161021(n-53)=A161023(n+100) for n with 208<=n<=228.
At step 221 becomes periodic: 4 2 1 4 2 1 4 2 1 ... - N. J. A. Sloane, Jul 27 2019

Crossrefs

Programs

  • Mathematica
    NestList[If[EvenQ[#],#/2,3#+1]&,10087,30] (* Harvey P. Dale, Jul 25 2023 *)

Extensions

Edited by N. J. A. Sloane, Jul 27 2019