login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118525 Start with 1 and repeatedly reverse the digits and add 6 to get the next term. 1
1, 7, 13, 37, 79, 103, 307, 709, 913, 325, 529, 931, 145, 547, 751, 163, 367, 769, 973, 385, 589, 991, 205, 508, 811, 124, 427, 730, 43, 40, 10, 7, 13, 37, 79, 103, 307, 709, 913, 325, 529, 931, 145, 547, 751, 163, 367, 769, 973, 385, 589, 991 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
After the initial term, the sequence enters the cycle (7, 13, 37, ..., 10) of length 30.
LINKS
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, 1).
FORMULA
a(n) = a((n-2 mod 30)+2) for all n>1. - M. F. Hasler, May 22 2014
MATHEMATICA
NestList[FromDigits[Reverse[IntegerDigits[#]]]+6&, 1, 60] (* Harvey P. Dale, Apr 22 2011 *)
PROG
(PARI) a(n, s=1)={n>1&&for(i=0, (n-2)%30, s=R(s)+6); s} \\ R = A004086. - M. F. Hasler, May 22 2014
CROSSREFS
Sequence in context: A281317 A336773 A118819 * A213537 A094069 A338812
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, May 06 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 07:11 EDT 2024. Contains 371782 sequences. (Running on oeis4.)