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”).

A118512
Define sequence S_m by: initial term = m, reverse digits and add 1 to get next term. Entry shows S_11. This reaches a cycle of length 9 in 18 steps.
3
11, 12, 22, 23, 33, 34, 44, 45, 55, 56, 66, 67, 77, 78, 88, 89, 99, 100, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10
OFFSET
1,1
LINKS
N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki.
MATHEMATICA
NestList[FromDigits[Reverse[IntegerDigits[#]]]+1&, 11, 90] (* Harvey P. Dale, Oct 16 2011 *)
Join[{11, 12, 22, 23, 33, 34, 44, 45, 55, 56, 66, 67, 77, 78, 88, 89, 99, 100}, LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 1}, {2, 3, 4, 5, 6, 7, 8, 9, 10}, 72]] (* Ray Chandler, Jul 18 2015 *)
NestList[IntegerReverse[#]+1&, 11, 90] (* Harvey P. Dale, Oct 13 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, May 06 2006
STATUS
approved