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.

A063042 Collatz-2 (A063041) trajectory starting at 3.

Original entry on oeis.org

3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9, 3, 7, 36, 18, 9
Offset: 0

Views

Author

Reinhard Zumkeller, Jul 07 2001

Keywords

Comments

a(0) = a(5) = 3

Crossrefs

Programs

  • Mathematica
    NestList[If[PrimeQ[#],#*Prime[PrimePi[#]-1]+1,#/Min@@First/@FactorInteger[#]]&,3,104] (* Jayanta Basu, May 27 2013 *)

Formula

a(0) = 3 and a(n) = A063041(a(n-1)) for n > 0