A118517 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_1. This reaches a cycle of length 3 in 1 step.
1, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10, 4, 7, 10
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, 1).
Programs
-
Mathematica
Join[{1},LinearRecurrence[{0,0,1},{4,7,10},90]] (* Ray Chandler, Jul 18 2015 *)