login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Smallest starting x which takes n steps to reach the minimum of a cycle in the 3x-1 iteration.
3

%I #15 Dec 27 2024 00:43:52

%S 1,2,4,7,3,6,11,19,21,13,26,9,18,35,37,73,25,49,98,33,66,131,45,90,

%T 175,127,117,85,149,57,113,199,209,133,265,89,177,65,119,237,87,159,

%U 165,329,231,225,439,309,293,585,377,391,273,261,521,1042,671,695,485

%N Smallest starting x which takes n steps to reach the minimum of a cycle in the 3x-1 iteration.

%C Each step is x -> 3x-1 if x odd, or x -> x/2 if x even (A001281).

%C The number of steps is A135730(x) so that a(n) = x is the smallest x for which A135730(x) = n.

%C a(n) <= 2*a(n-1) since x = 2*a(n-1) is a candidate for a(n) by first step x -> x/2.

%C Even terms are always a(n) = 2*a(n-1) since any smaller even a(n) would imply a smaller a(n-1) after first step x -> x/2.

%C No term is of the form 12*k+4, since its first step to 6*k+2 is also where the first step from 2*k+1 goes and the latter is a smaller start.

%C a(n) >= (a(n-1) + 1)/3 is a lower bound since a(n) = x must at least have a first step 3x-1 which reaches somewhere with n-1 further steps, so 3x-1 >= a(n-1).

%C Equality a(n) = (a(n-1) + 1)/3 = x occurs iff that x is an odd integer and not a cycle minimum, so its first step is to 3x-1 = a(n-1) (as for example at n=11).

%H Kevin Ryde, <a href="/A378845/b378845.txt">Table of n, a(n) for n = 0..1435</a>

%H Kevin Ryde, <a href="/A378845/a378845.c.txt">C Code</a>

%o (C) /* See links. */

%Y Cf. A001281 (step), A135730 (number of steps).

%Y Cf. A378846 (with halving steps), A378847 (with tripling steps).

%Y Cf. A033491 (in 3x+1).

%K nonn

%O 0,2

%A _Kevin Ryde_, Dec 09 2024