editing
approved
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”).
editing
approved
NestList[If[IntegerReverse[#]>#, IntegerReverse[#], 2#]&, 1, 40] (* Harvey P. Dale, Aug 23 2023 *)
approved
editing
Dann Toliver (fsdrt(AT)hotmail.com)
_Reinhard Zumkeller_, , <a href="/A041013/b041013.txt">Table of n, a(n) for n = 0..1000</a>
_Reinhard Zumkeller, _, <a href="/A041013/b041013.txt">Table of n, a(n) for n = 0..1000</a>
-- _Reinhard Zumkeller, _, Aug 08 2011
editing
approved
rd[n_]:=Module[{rev=FromDigits[Reverse[IntegerDigits[n]]]}, If[ rev>n, rev, 2n]]; NestList[rd, 1, 40] (* Harvey P. Dale, Jan 25 2013 *)
approved
editing
Reinhard Zumkeller, <a href="/A041013/b041013_1.txt">Table of n, a(n) for n = 0..1000</a>
proposed
approved
editing
proposed