%I #23 May 24 2022 17:47:57
%S 1,5,3,17,11,7,9,25,33,43,57,39,105,135,185,123,169,219,159,379,283,
%T 377,251,167,111,297,395,263,175,233,155,103,137,91,121,161,107,71,47,
%U 31,41,27,73,97,129,171,231,313,411,543,731,487,327,859,1145,763,1017,1351
%N Smallest starting value in a Collatz '3x+1' sequence such that the sequence contains exactly n tripling steps.
%C First occurrence of n in A006667.
%C These are the odd (primitive) terms in A129304. - _T. D. Noe_, Apr 09 2007
%H T. D. Noe, <a href="/A092893/b092893.txt">Table of n, a(n) for n=0..300</a>
%H Jeffrey R. Goodwin, <a href="http://arxiv.org/abs/1504.03040">The 3x+1 Problem and Integer Representations</a>, Arxiv preprint arXiv:1504.03040 [math.NT], 2015.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/CollatzProblem.html">Collatz Problem</a>
%H <a href="/index/3#3x1">Index entries for sequences related to 3x+1 (or Collatz) problem</a>
%e a(4)=11 because the Collatz sequence 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1 is the first sequence containing 4 tripling steps.
%t a[n_]:=Length[Select[NestWhileList[If[EvenQ[#],#/2,3#+1] &,n,#>1 &],OddQ]]; Table[i=1; While[a[i]!=n,i=i+2]; i,{n,58}] (* _Jayanta Basu_, May 27 2013 *)
%Y Cf. A006667, A092892, A087228.
%Y Row n=1 of A354236.
%K nonn
%O 0,2
%A _Hugo Pfoertner_, Mar 11 2004