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

A118856
Start with 1 and repeatedly place the first digit at the end of the number and add 13.
0
1, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54, 58, 98, 102, 34, 56, 78, 100, 14, 54
OFFSET
1,2
COMMENTS
After 1 step the sequence enters a cycle of length 9.
MATHEMATICA
NestList[Module[{a, b}, {a, b}=TakeDrop[IntegerDigits[#], 1]; FromDigits[ Join[ b, a]]]+13&, 1, 70] (* The program uses the TakeDrop function from Mathematica version 10 *) (* Harvey P. Dale, Feb 25 2016 *)
CROSSREFS
Sequence in context: A214659 A241354 A240811 * A118530 A048971 A299646
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), May 24 2006
STATUS
approved