login
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
OFFSET
1,1
LINKS
FORMULA
a(n)=A118519(n+1). [From R. J. Mathar, Aug 08 2008]
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
Cf. A117831, A118517 on.
Sequence in context: A106218 A315961 A315962 * A095213 A263773 A242874
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, May 06 2006
STATUS
approved