The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A118295 Start with 20 and repeatedly reverse the digits and add 1 to get the next term. 0
 20, 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, 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 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS After 1 step enters a cycle of length 9. LINKS Table of n, a(n) for n=1..99. N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki. Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1). EXAMPLE After a(9) = 10 we get a(10) = (reversed digits of a(9)) + 1 = 01 + 1 = 2. - David A. Corneth, Jan 08 2024 MATHEMATICA PadRight[{20}, 100, Range[2, 10]] (* Paolo Xausa, Jan 08 2024 *) PROG (PARI) a(n) = if(n == 1, return(20)); return(((n-1)%9) + 2) \\ David A. Corneth, Jan 08 2024 CROSSREFS Cf. A118551. Essentially the same as A117230. Sequence in context: A040391 A255860 A195600 * A070645 A248136 A040392 Adjacent sequences: A118292 A118293 A118294 * A118296 A118297 A118298 KEYWORD nonn,easy,base AUTHOR Luc Stevens (lms022(AT)yahoo.com), May 14 2006 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 24 14:39 EDT 2024. Contains 372778 sequences. (Running on oeis4.)