OFFSET
1,4
COMMENTS
The 7x+1 map sends x to x/2 if x is even, x/3 if x is divisible by 3, x/5 if x is divisible by 5, otherwise 7x+1.
LINKS
MATHEMATICA
nxt[x_]:= Which[Mod[x, 2]==0, x/2, Mod[x, 3]==0, x/3, Mod[x, 5]==0, x/5, True, 7x+1]; Table[First[First[Position[NestList[nxt, i, 100], 1]]]-1, {i, 50}] - Harvey P. Dale, Dec 27 2007
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 27 2007
EXTENSIONS
More terms from Harvey P. Dale, Dec 27 2007
More terms from Sean A. Irvine, Mar 29 2010
STATUS
approved