A070788 Positive integers n such that the Reverse and Add! trajectory of n (presumably) does not join the trajectory of any m < n.
1, 3, 5, 7, 9, 100, 102, 106, 108, 111, 112, 113, 114, 116, 117, 118, 119, 122, 124, 128, 133, 135, 137, 138, 166, 184, 186, 196, 199, 359, 399, 459, 539, 659, 679, 739, 759, 779, 799, 859, 879, 919, 939, 959, 979, 999, 1000, 1006, 1011, 1013, 1022, 1033, 1037
Offset: 1
Examples
The trajectory of 2 is part of the trajectory of 1; the trajectory of 3 does not join the trajectory of 1 within 10000 steps; the trajectory of 5 does not join the trajectory of 1 or of 3 within 10000 steps.
Links
- Klaus Brockhaus, Illustration: Distribution of terms below 2000000
- Klaus Brockhaus, List of terms below 2000000
- Index entries for sequences related to Reverse and Add!
Programs
-
Mathematica
limit = 10^3; utraj = {}; Select[Range[1037], (x = NestList[ # + IntegerReverse[#] &, #, limit]; If[Intersection[x, utraj] == {}, utraj = Union[utraj, x]; True, utraj = Union[utraj, x]]) &] (* Robert Price, Oct 20 2019 *)
Comments