Let S_n be the infinite sequence formed by starting with n and repeatedly reversing the digits and adding 16 to get the next term. Sequence gives number of steps for S_n to reach a cycle, or -1 if no cycle is ever reached.

A119451

Let S_n be the infinite sequence formed by starting with n and repeatedly reversing the digits and adding 16 to get the next term. Sequence gives number of steps for S_n to reach a cycle, or -1 if no cycle is ever reached.

Terms

    a(0) =721a(1) =708a(2) =686a(3) =709a(4) =714a(5) =656a(6) =724a(7) =756a(8) =662a(9) =721a(10) =708a(11) =695a(12) =664a(13) =732a(14) =728a(15) =715a(16) =720a(17) =707a(18) =685a(19) =708a(20) =713a(21) =655a(22) =723a(23) =755a(24) =661a(25) =15a(26) =707a(27) =712a(28) =699a(29) =686

External references