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.

A095387 Initial values for 3x+1 trajectories of which the largest term is 9232.

Original entry on oeis.org

27, 31, 41, 47, 54, 55, 62, 63, 71, 73, 82, 83, 91, 94, 95, 97, 103, 107, 108, 109, 110, 111, 121, 124, 125, 126, 129, 137, 142, 143, 145, 146, 147, 155, 159, 161, 164, 165, 166, 167, 171, 175, 182, 183, 188, 189, 190, 193, 194, 195, 199, 206, 207, 214, 215
Offset: 1

Views

Author

Labos Elemer, Jun 14 2004

Keywords

Comments

Altogether 1579 such initial values exist: 27, ..., 9232.

Crossrefs

Cf. A025586.

Programs

  • Mathematica
    c[x_]:=c[x]=(1-Mod[x, 2])*(x/2)+Mod[x, 2]*(3*x+1);c[1]=1; fpl[x_]:=Delete[FixedPointList[c, x], -1] {ta=Table[0, {1580}], u=1}; Do[If[Equal[Max[fpl[n]], 9232], ta[[u]]=n;u=u+1], {n, 1, 9232}];ta

Formula

1579 solutions to A025586(x) = 9232.