Define sequence S_n by: initial term = n, reverse digits and add 1 to get next term. It is conjectured that S_n always reaches a cycle of length 9, as in A117230. Sequence gives number of steps for S_n to reach the cycle.

A118511

Define sequence S_n by: initial term = n, reverse digits and add 1 to get next term. It is conjectured that S_n always reaches a cycle of length 9, as in A117230. Sequence gives number of steps for S_n to reach the cycle.

Terms

    a(0) =1a(1) =0a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =0a(8) =0a(9) =0a(10) =18a(11) =17a(12) =15a(13) =13a(14) =11a(15) =9a(16) =7a(17) =5a(18) =3a(19) =1a(20) =16a(21) =16a(22) =15a(23) =13a(24) =11a(25) =9a(26) =7a(27) =5a(28) =3a(29) =1

External references