A378376 Smallest starting x which requires n steps to reach 1 under the map x -> 3x-1 if x odd, x -> 3x-1 or x/2 if x even.
1, 2, 4, 8, 3, 6, 11, 22, 43, 15, 29, 10, 20, 7, 14, 5, 9, 18, 35, 13, 23, 46, 91, 31, 61, 21, 41, 81, 161, 55, 109, 37, 73, 25, 49, 17, 33, 65, 129, 257, 87, 173, 341, 117, 225, 455, 153, 305, 607, 209, 405, 809, 273, 543, 185, 369, 721, 1433, 481, 961, 321
Offset: 0
Keywords
Examples
For n=4, a(4) = 3 is the smallest x requiring n=4 steps to reach 1 (by trajectory 3 -> 8 -> 4 -> 2 -> 1). a(4) = 3 is also an example where a(n) is its lower bound (a(n-1)+1)/3 (with a(3) = 8).
Links
- Kevin Ryde, Table of n, a(n) for n = 0..130
- Kevin Ryde, C Code
Crossrefs
Cf. A261870.
Programs
-
C
/* See links. */
Comments