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.

A161023 Collatz trajectory starting at 35655.

Original entry on oeis.org

35655, 106966, 53483, 160450, 80225, 240676, 120338, 60169, 180508, 90254, 45127, 135382, 67691, 203074, 101537, 304612, 152306, 76153, 228460, 114230, 57115, 171346, 85673, 257020, 128510, 64255, 192766, 96383, 289150, 144575, 433726
Offset: 0

Views

Author

Reinhard Zumkeller, Jun 03 2009

Keywords

Comments

35655 = A060412(7); a(A006577(35655)) = a(323) = 1.
a(n) = A161021(n-153) for n with 297 <= n <= 323;
a(n) = A161022(n-100) for n with 308 <= n <= 323.
At step 321 becomes periodic: 4 2 1 4 2 1 4 2 1 ... - N. J. A. Sloane, Jul 27 2019

Crossrefs

Cf. A008884.

Programs

  • Mathematica
    NestWhileList[If[EvenQ[#],#/2,3#+1]&,35655,#>1&] (* Harvey P. Dale, Apr 28 2016 *)

Extensions

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