login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A185589 Iterate the map in A006369 starting at 144. 20

%I #18 Mar 01 2019 09:00:56

%S 144,96,64,85,113,151,201,134,179,239,319,425,567,378,252,168,112,149,

%T 199,265,353,471,314,419,559,745,993,662,883,1177,1569,1046,1395,930,

%U 620,827,1103,1471,1961,2615,3487,4649,6199,8265,5510,7347,4898,6531,4354,5805,3870,2580,1720,2293,3057,2038,2717,3623,4831

%N Iterate the map in A006369 starting at 144.

%C Lagarias, page 270, appears to imply that this trajectory has period 12 and smallest element 144, which is not true.

%D J. C. Lagarias, ed., The Ultimate Challenge: The 3x+1 Problem, Amer. Math. Soc., 2010; see page 270.

%H Reinhard Zumkeller, <a href="/A185589/b185589.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/3#3x1">Index entries for sequences related to 3x+1 (or Collatz) problem</a>

%t f[n_] := If[Mod[n, 3] == 0, 2*n/3, Round[4*n/3]]; a[1] = 144; a[n_] := a[n] = f[a[n - 1]]; Table[a[n], {n, 1, 59}] (* _Jean-François Alcover_, Jun 10 2013 *)

%t SubstitutionSystem[{n_ :> Switch[Mod[n, 3], 0, 2n/3, 1, (4n - 1)/3, _, (4n + 1)/3]}, {144}, 60] // Flatten (* _Jean-François Alcover_, Mar 01 2019 *)

%o (Haskell)

%o a185589 n = a185589_list !! (n-1)

%o a185589_list = iterate a006369 144 -- _Reinhard Zumkeller_, Dec 31 2011

%Y Cf. A028394, A028396, A094328, A094329, A185590.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Feb 04 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)