login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A033962
Trajectory of 1 under map n->9n+1 if n odd, n->n/2 if n even
0
1, 10, 5, 46, 23, 208, 104, 52, 26, 13, 118, 59, 532, 266, 133, 1198, 599, 5392, 2696, 1348, 674, 337, 3034, 1517, 13654, 6827, 61444, 30722, 15361, 138250, 69125, 622126, 311063, 2799568, 1399784
OFFSET
0,2
MATHEMATICA
NestList[If[OddQ[#], 9#+1, #/2]&, 1, 40] (* Harvey P. Dale, Nov 30 2022 *)
CROSSREFS
Sequence in context: A141321 A146266 A146218 * A241360 A096898 A146008
KEYWORD
nonn
AUTHOR
STATUS
approved