|
|
A118518
|
|
Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_2. This reaches a cycle of length 6 in 3 steps.
|
|
2
|
|
|
2, 5, 8, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Join[{2, 5, 8}, LinearRecurrence[{0, 0, 0, 0, 0, 1}, {11, 14, 44, 47, 77, 80}, 66]] (* Ray Chandler, Jul 18 2015 *)
NestList[IntegerReverse[#]+3&, 2, 70] (* Requires Mathematica version 10 or later *) (* or *) PadRight[{2, 5, 8}, 70, {47, 77, 80, 11, 14, 44}] (* Harvey P. Dale, Jun 02 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|