OFFSET
0,1
MATHEMATICA
NestList[If[OddQ[#], 31#+1, #/2]&, 3, 30] (* Harvey P. Dale, Mar 07 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved