OFFSET
0,2
MATHEMATICA
NestList[If[OddQ[#], 9#+1, #/2]&, 1, 40] (* Harvey P. Dale, Nov 30 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved