|
|
A118521
|
|
Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_6. This reaches a cycle of length 6 in 2 steps.
|
|
1
|
|
|
6, 9, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
NestList[FromDigits[Reverse[IntegerDigits[#]]]+3&, 6, 70] (* Harvey P. Dale, Sep 25 2012 *)
Join[{6, 9}, LinearRecurrence[{0, 0, 0, 0, 0, 1}, {12, 24, 45, 57, 78, 90}, 66]] (* Ray Chandler, Jul 18 2015 *)
PadRight[{6, 9}, 100, {78, 90, 12, 24, 45, 57}] (* Harvey P. Dale, Oct 03 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|