A118519 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_3. This reaches a cycle of length 6 in 3 steps.
3, 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
Links
- N. J. A. Sloane and others, Sequences of RADD type, OEIS wiki.
- Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 1).
Programs
-
Mathematica
Join[{3,6,9},LinearRecurrence[{0,0,0,0,0,1},{12,24,45,57,78,90},66]] (* Ray Chandler, Jul 18 2015 *)