OFFSET
1,1
MATHEMATICA
it5Q[n_]:=Last[NestWhileList[If[EvenQ[#], #/2, 3#-1]&, n, #!=5&, 1, 100]]==5; Select[Range[200], it5Q] (* Harvey P. Dale, May 09 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Christian G. Bower, Feb 15 1999
STATUS
approved