|
|
A120216
|
|
Start with 100013 and repeatedly reverse the digits and add 2 to get the next term.
|
|
6
|
|
|
100013, 310003, 300015, 510005, 500017, 710007, 700019, 910009, 900021, 120011, 110023, 320013, 310025, 520015, 510027, 720017, 710029, 920019, 910031, 130021, 120033, 330023, 320035, 530025, 520037, 730027, 720039, 930029, 920041, 140031
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Let T(S,Q) be the sequence obtained by starting with S and repeatedly reversing the digits and adding Q to get the next term. This is T(100013,2). 100013 is the first S for which T(S,2) reaches a cycle of length 1890. The cycle is simply the first 1890 terms, which then repeat. A full period is given in the table.
|
|
LINKS
|
|
|
MATHEMATICA
|
NestList[FromDigits[Reverse[IntegerDigits[#]]]+2&, 100013, 30] (* Harvey P. Dale, Oct 03 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|