login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118879 Let T(S,Q) be the sequence obtaining by starting with S and repeatedly reversing the digits and adding Q to get the next term. This is T(1016,5), the first S for which T(S,5) reaches a cycle of length 36. 3
1016, 6106, 6021, 1211, 1126, 6216, 6131, 1321, 1236, 6326, 6241, 1431, 1346, 6436, 6351, 1541, 1456, 6546, 6461, 1651, 1566, 6656, 6571, 1761, 1676, 6766, 6681, 1871, 1786, 6876, 6791, 1981, 1896, 6986, 6901, 1101, 1016, 6106, 6021 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

The cycle is simply the first 36 terms, which then repeat.

For S < 1016, T(S,5) reaches a cycle of length 207 (cf. A117800).

LINKS

Table of n, a(n) for n=0..38.

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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).

MATHEMATICA

NestList[IntegerReverse[#]+5&, 1016, 40] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 05 2020 *)

CROSSREFS

Cf. A117828, A117800, A118878.

Sequence in context: A117807 A223089 A167807 * A023083 A221808 A202905

Adjacent sequences:  A118876 A118877 A118878 * A118880 A118881 A118882

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, May 26 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 26 10:27 EST 2021. Contains 340438 sequences. (Running on oeis4.)