Let T_n be the infinite sequence formed by starting with 1 and repeatedly reversing the digits and adding n to get the next term. If T_n eventually reaches a cycle, sequence gives length of that cycle, otherwise -1.
A117817
Let T_n be the infinite sequence formed by starting with 1 and repeatedly reversing the digits and adding n to get the next term. If T_n eventually reaches a cycle, sequence gives length of that cycle, otherwise -1.
Terms
- a(0) =9a(1) =81a(2) =3a(3) =54a(4) =207a(5) =30a(6) =63a(7) =27a(8) =1a(9) =-1a(10) =9a(11) =15a(12) =18a(13) =72a(14) =-1a(15) =90a(16) =54a(17) =13a(18) =18a(19) =-1a(20) =15a(21) =9a(22) =9a(23) =36a(24) =45a(25) =18a(26) =9a(27) =36a(28) =18a(29) =-1
External references
- oeis: A117817