Last term of the preperiodic part of the 'Reverse and Subtract' trajectory of n, or -1 if the trajectory is completely periodic.
A072139
Last term of the preperiodic part of the 'Reverse and Subtract' trajectory of n, or -1 if the trajectory is completely periodic.
Terms
- a(0) =-1a(1) =1a(2) =2a(3) =3a(4) =4a(5) =5a(6) =6a(7) =7a(8) =8a(9) =9a(10) =9a(11) =11a(12) =9a(13) =9a(14) =9a(15) =9a(16) =9a(17) =9a(18) =9a(19) =9a(20) =9a(21) =9a(22) =22a(23) =9a(24) =9a(25) =9a(26) =9a(27) =9a(28) =9a(29) =9
External references
- oeis: A072139