The generalized 3x + 1 mapping K.R. Matthews May 17, 2006

1

Introduction

One of the most tantalizing conjectures in number theory is the so–called 3x + 1 conjecture, attributed to L. Collatz (1937): Let T : Z → Z be defined by T (x) =

 

if x ≡ 0 (mod 2)

x/2

 (3x + 1)/2 if x ≡ 1 (mod 2).

(1)

Collatz conjectured that if x ∈ N, then the trajectory x, T (x), T 2 (x), . . . eventually reaches the cycle 1, 2, 1. If x ∈ −N, it is also conjectured that the trajectory {T k (x)} eventually reaches one of the cycles (a) −1, −1; (b) −5, −7, −10, −5; (c) −17, −25, −37, −55, −82, −41, −61, −91, −136, −68, −34, −17. There is also the trivial cycle 0, 0. The 3x + 1 mapping is a special case of a more general class of mappings about which accurate predictions can be made concerning the behaviour of trajectories. Broadly speaking, there are similar conjectures that can be made about such mappings which seem equally unsolvable and tantalizing. Since 1981, in a series of papers [14, 15, 16, 12, 2, 17], the author and collaborators were led to connections with ergodic theory and Markov chains. It turns out experimentally that divergent trajectories also possess some regularity of distribution of iterates in congruence classes mod m. It is easy to 1

describe the conjectural picture for mappings of relatively prime type which include the 3x + 1 mapping. However the Markov chains are more difficult to describe in the general case. There are natural generalizations to other rings of interest to number theorists, namely Fq [x] and the ring of integers of an algebraic number field. The conjectural picture is not so clear with Fq [x]. Also with number fields, it is not just a matter of studying finitely many cycles in the ring of integers in the ring of integers. It seems likely there are in addition to finitely many cycles, finitely many “lower dimensional” T –invariant subsets within which divergent trajectories move in a regular manner. We illustrate with √ √ Z2 [x], Z[ 2] and Z[ 3]. For an account of other work on the 3x + 1 problem, we refer the reader to Lagarias’ survey [11], Wirsching’s book [22] and [8, pages 215–218].

2

The generalized 3x + 1 mapping

Let d ≥ 2 be a positive integer and m0 , . . . , md−1 be non–zero integers. Also for i = 0, . . . , d − 1, let ri ∈ Z satisfy ri ≡ imi (mod d). Then the formula T (x) =

m i x − ri d

if x ≡ i (mod d)

(2)

defines a mapping T : Z → Z called the generalized Collatz mapping. (The mapping (1) corresponds to d = 2, m0 = 1, m1 = 3, r0 = 0, r1 = −1.) EQUIVALENT FORM: For implementation on a computer, a somewhat simpler form is: T (x) =

jm xk i

d

+ Xi

if x ≡ i (mod d),

(3)

where X0 , . . . , Xd−1 are any given integers and brc denotes the integer part symbol. EXAMPLE 2.1 Tk (x) =

 

if x ≡ 0 (mod 2)

x/2

 (3x + k)/2 if x ≡ 1 (mod 2),

2

t # of cycles for T5t 0 5 1 10 2 13 3 17 4 19 5 21 6 23

max cycle–length 11 27 34 118 118 165 433

Figure 1: Observed number of cycles for T5t , 0 ≤ t ≤ 6.

where k is an odd integer. Again, all trajectories appear to reach one of finitely many cycles. The following example given by Alan Jones on 13th August 2002, shows that the number of cycles is unbounded, as k increases in magnitude, as is the maximum cycle length: Take k = 2N − 9, N=2c+1. Then the numbers 2r + 3, 1 ≤ r ≤ c, generate different cycles of length N . The number of cycles for T5t appears to strictly increase with t. (See Fig. 1.) The only cycles for T3t are 3t times those of T1 . (The latter is an easy exercise, as was pointed out by Willem Maat in an email dated 2nd February 2001.) For k = 371, we believe there are 9 cycles (lengths in parentheses) defined by: 0 (1), 25 (222), 265 (4), 371 (2), 721 (29), −371 (1), −1855 (3), −6307 (11), −563 (14).

For the map   x/2 + 12342313 if x ≡ 0 (mod 2) T (x) =  (3x + 690689)/2 if x ≡ 1 (mod 2), there are at least 10 cycles, given by 286603027 (27456), 67751812 (27456), 53579994721 (9152), 62878276 (24185), 82675825 (9152), 101366521 (3271), 29458864 (9152), 32201301 (30727), 54415831 (9152), −102191949 (3).

The reader is referred to the author’s CALC number theory calculator program for a cycle-finding program called cycle. (See http://www.maths.uq.edu.au/~krm/krm_calc.html.) We remark that studying the integer cycles of the 3x + k mapping, k odd, is equivalent to finding the cycles of the continuous extension of the 3x + 1 3

mapping to the 2–adic integers. For the cycles of the latter, must be rationals with odd denominator k. (See Section 4 and 5 below.) In [14], Matthews and Watts studied the mapping (2) when gcd (d, mi ) = 1 for 0 ≤ i ≤ d − 1 (the relatively prime case). The paper contained some conjectures based on computer evidence, the first three corresponding to conjectures of M¨oller [18], (who studied a special case of mapping (2)): CONJECTURE 2.1 (i) If |m0 · · · md−1 | < dd , then all trajectories {T K (n)}, n ∈ Z, eventually cycle. Also (Lagarias’ online survey) there is at least one cycle. (ii) If |m0 · · · md−1 | > dd , then almost all trajectories {T K (n)}, n ∈ Z are divergent (that is, T K (n) → ±∞, except for an exceptional set S of integers n satisfying #{n ∈ S|−X ≤ n ≤ X} = o(X).) Also (Lagarias’ survey) there is at least one divergent trajectory. (iii) The number of cycles is finite. (iv) If the trajectory {T K (n)}, n ∈ Z is not eventually cyclic, then the iterates are uniformly distributed mod dα for each α ≥ 1: lim 1 N →∞ N +1

card {K ≤ N |T K (n) ≡ j (mod dα )} =

1 , dα

for 0 ≤ j ≤ dα − 1. In the case of the mapping   x/2 + a if x ≡ 0 (mod 2) T (x) =  b3x/2c + b if x ≡ 1 (mod 2), Regarding conjecture (i), Peter Robinson pointed out in 1982 that there is always a cycle y = 5 − 10b − 8a, T (y) = 7 − 14b − 12a, T 2 (y) = 10 − 20b − 18a, T 3 (y) = y, generalising the cycle -5, -7, -10, -5 of the original Collatz mapping, where a=0, b=1. By choosing m0 , . . . , md−1 so that their product is close to, but less than dd in absolute value, one expects some trajectories to take many iterations to reach a cycle and for some cycles to be rather long. For example: 4

EXAMPLE 2.2   x/4      (3x − 3)/4 T (x) =  (5x − 2)/4      (17x − 3)/4

if x ≡ 0 (mod 4) if x ≡ 1 (mod 4) if x ≡ 2 (mod 4) if x ≡ 3 (mod 4).

Here 1 · 3 · 5 · 17 = 255 = 44 − 1. We have found 17 cycles, starting at 0, −3, 2, 3, 6, (length 1747), −18, −46, −122, −330, −117, −137, −186, −513 (length 1426), −261, −333, 5127, −5205. Regarding conjecture 2.1(ii), the simplest example where things are evident numerically, but defy proof, is the 5x + 1 mapping: EXAMPLE 2.3 T (x) =

 

if x ≡ 0 (mod 2)

x/2

 (5x + 1)/2 if x ≡ 1 (mod 2).

The trajectory {T K (7)} appears to be divergent. Apparently T has 5 cycles, with starting values 0, 1, 13, 17, −1. EXAMPLE 2.4 (Collatz)   2x/3 if x ≡ 0 (mod 3)   T (x) = (4x − 1)/3 if x ≡ 1 (mod 3)    (4x + 1)/3 if x ≡ 2 (mod 3). The trajectory {T K (8)} appears to be divergent. There appear to be 9 cycles, starting values 0, 1, −1, 2, −2, 4, −4, 44, −44. T is an 1–1 mapping and its inverse is the 4–branched mapping   3x/2 if      (3x + 1)/4 if T (x) =  3x/2 if      (3x − 1)/4 if

x ≡ 0 (mod 4) x ≡ 1 (mod 4) x ≡ 2 (mod 4) x ≡ 3 (mod 4).

The set of generalized 3x + 1 mappings is closed under composition: If T1 , T2 have d1 , d2 branches respectively, then T = T2 T1 has d1 d2 branches. For example if we take T1 , T2 to be the 3x + 1, 5x + 1, mappings, then

5

EXAMPLE 2.5   x/4      (3x + 1)/4 T (x) =  (5x + 2)/4      (15x + 7)/4

if x ≡ 0 (mod 4) if x ≡ 1 (mod 4) if x ≡ 2 (mod 4) if x ≡ 3 (mod 4).

Here all trajectories appear to enter one of 7 cycles, with starting values 0, −2, 1, 10, 7, 514, −749. Whereas for mappings (3) of relatively prime type, the prediction of overall cycling or divergence is independent of the Xi , these numbers are of crucial importance in general, as the following EXAMPLE 2.6     x/3 − 1 T (x) = (x + 5)/3    10x − 5

two examples show. if x ≡ 0 (mod 3) if x ≡ 1 (mod 3) if x ≡ 2 (mod 3)

All trajectories appear to enter one of five cycles, with starting values 0, 5, 17, −1, −4. However this example becomes less mysterious if we consider the related mapping   T (x) if x ≡ 0 or 1 (mod 3) 0 T (x) =  T 2 (x) = (10x − 8)/3 if x ≡ 2 (mod 3). For T 0 is a mapping of relatively prime type and conjecture 2.1 predicts that all trajectories eventually cycle. EXAMPLE 2.7   2x if x ≡ 0 (mod 3)   T (x) = (7x + 2)/3 if x ≡ 1 (mod 3)    (x − 2)/3 if x ≡ 2 (mod 3) We see that 3|x implies 3|T (x). Hence once a trajectory enters the zero residue class mod 3, it remains there. All divergent trajectories starting in the congruence classes x ≡ ±1 (mod 3), appear to eventually enter the zero residue class mod 3. In fact we believe that if T k (x) ≡ ±1 (mod 3) for all k ≥ 0, then the trajectory must eventually enter one of the cycles −1, −1 or −2, −4, −2. The author offers a $100 (Australian) prize for a proof. The problem seems just as intangible as the 3x + 1 problem and is a simple example of the more general conjecture (6.1) below. 6

3

Some properties of the general mapping

Let B(j, m) denote the congruence class consisting of integers x ≡ j (mod m). Then 1. T −1 (B(j, m)) is a disjoint union of N ≥ 0 congruence classes mod md, where

d−1 X

N=

gcd(mi , m),

i=0 gcd(mi , m)|j − Mi

where Mi = T (i) =

mi i−ri . d

In particular, if gcd(mi , m) = 1 for i =

0, . . . , d − 1, then N = d. 2. In the relatively prime case, the dα cylinders B(i0 , d) ∩ T −1 (B(i1 , d)) ∩ · · · ∩ T −(α−1) (B(iα−1 , d))

(4)

are the dα congruence classes mod dα . (This observation has been the basis of many of the papers in the subject.) 3. In the relatively prime case, if A = B(j, dα ) and B = B(k, dβ ), then T −K (A) ∩ B is a disjoint union of dK−β congruence classes mod dK+α , if K ≥ β. (Properties 1 and 2 are proved in [14]. Property 3 then follows from 2 by expressing A and B as cylinders.)

4

Asymptotic growth of |T K (x)|

If T K (x) ≡ i (mod d), 0 ≤ i < d, we let mK (x) = mi , rK (x) = ri . Then ! K−1 i X m (x) · · · m (x) r (x)d 0 K−1 i (a) T K (x) = x− . dK m (x) · · · m (x) 0 i i=0 (b) If T i (x) 6= 0 for all i ≥ 0,  K−1  m0 · · · mK−1 (x) Y ri (x) T (x) = x 1− . dK mi (x)T i (x) i=0 K

7

If T K (x) → ±∞ and the T K (x) are uniformly distributed mod d, the iterates |T K (x)| grow geometrically. For without loss of generality we can assume T i (x) is nonzero for all i. Then taking logarithms in (b) gives K−1 K−1 X X K log |T (x)| = log |mi (x)| + log x − K log d + log 1 − i=0

i=0

ri (x) . mi (x)T i (x)

Then as ai = ri (x)/(mi (x)T i (x)) → 0, we have bi = log |1 − ai | → 0 and hence

1 (b K 0

+ · · · + bK−1 ) → 0. Consequently K−1 1 1 X K log |T (x)| = log |mi (x)| − log d + o(1). K K i=0

Hence if the T K (x) are uniformly distributed mod d, we deduce d−1

1 1X log |T K (x)| → log |mi | − log d, K d i=0 and hence

(|m0 · · · md−1 |)1/d . d More generally, if limiting frequencies f0 , . . . , fd−1 exist (mod d) for the |T K (x)|1/K →

trajectory {T K (x)}, then K

1/K

|T (x)|

5

|m0 |f0 · · · |md−1 |fd−1 . → d

Ergodic theory

One innovation in [14] was the introduction of ergodic theory (see [1]). The mapping T extends uniquely to a continuous mapping of the d–adic integers ˆ d into itself. Z ˆ d can be regarded as a completion, consisting of formal sums Z ∞ X

ai di ,

ai ∈ {0, 1, . . . , d − 1},

i=0

with addition and multiplication done as with ordinary positive integers, by “carrying the digit”. (See [10] or [13].) Let us assume that T is a mapping of relatively prime type. Then by property 1, the inverse image of a congruence class mod dα is the disjoint union of d classes mod dα+1 and this shows that T is measure–preserving: µ(T −1 (A)) = µ(A), 8

ˆ d . (The Haar measure of B(j, dα ) is where A is a Haar–measurable set in Z 1/dα .) Property 3 of T implies the strongly–mixing property lim µ(T −K (A) ∩ B) = µ(A)µ(B)

K→∞

ˆ d . Consequently T is ergodic i.e. for all Haar–measurable sets A and B in Z T −1 (A) = A ⇒ µ(A) = 0 or 1 and the ergodic theorem [1, page 12] applied to the measurable set B(j, dα ) gives 1 N →∞ N +1

lim

card {K ≤ N |T K (x) ≡ j (mod dα )} =

1 dα

ˆ d. for almost all x ∈ Z Applying the ergodic theorem to the cylinder (4) gives a similar result for the d–adic integers x which satisfy T K (x) ≡ i0 (mod d), . . . , T K+α−1 (x) ≡ iα−1 (mod d). Every d–adic integer possesses an interesting d–adically convergent series noted by M¨oller: x=

∞ X i=0

ri (x)di ˆ d. if x ∈ Z m0 (x) · · · mi (x)

This tells us that the congruence classes mod d occupied by the iterates of x in fact determine x. A corresponding expansion is later used to advantage later in Section 8 for a mapping T : Z2 [x] → Z2 [x]. (See mapping (13) below.)

6

Markov chains: maps of relatively prime type

Computer experiments indicate that for each m > 1, every divergent trajectory eventually occupies certain congruence classes mod m with positive limiting frequencies. A simple example is the 5x + 1 mapping. Here divergent trajectories appear to occupy the classes 0, 1, 2, 3, 4 mod 5 with limiting frequencies 0, 1/15, 2/15, 8/15, 4/15. (A trajectory starting from a non–zero integer will eventually enter the class B(3, 5) and subsequently remain in the T –invariant set Z − B(0, 5).) 9

These rational numbers are the limits ρj = lim µ{B(i, 5) ∩ T −K (B(j, 5))}, K→∞

0 ≤ j ≤ 4,

(5)

where ρj is independent of i and µ(S) = r/m if S is a disjoint union of r congruence classes mod m. (µ is a finitely additive measure on Z.) Also µ{B(i, 5)∩T −K (B(j, 5))} is the (i, j) element of the K–th power of a Markov matrix QT (5) defined below. To explain this, let us consider a mapping T of relatively prime type. Then it was implicit in the proof of [15, Lemma 2.8] that if B is the cylinder: B = B(i0 , m) ∩ T −1 (B(i1 , m)) ∩ · · · ∩ T −K (B(iK , m)), then µ(B) = qi0 i1 (m) · · · qiK−1 iK (m),

(6)

qij (m) = µ(B(i, m) ∩ T −1 (B(j, m))) 0 ≤ i, j ≤ m − 1,

(7)

where

Then (see [15, Lemma 2.9]), the matrix QT (m) = [qij (m)] is an m×m Markov matrix, i.e. a matrix whose elements are non–negative and whose rows sum to unity. (For a discussion of Markov matrices, see [9] or [19].) (We are using the transpose of the matrix used in [15].) If d|m, a simple formula exists for qij (m):   1/d if T (i) ≡ j (mod m/d) qij (m) =  0 otherwise. However if d does not divide m, the formula is more complicated. (I am not a Markov chains expert, so some of my subsequent statements about them should be treated circumspectly!) To introduce Markov chains, it seems to me that we need a probability space, which we take to be the ˆ (See [20] or [6, pages 7–11].) Like the d–adic integers, this Pr¨ ufer ring Z. ring can be defined as a completion of Z. is the corresponding congruence ˆ ≡ j (mod m)}. We also denote this class by B(j, m). Then class {x ∈ Z|x our finitely additive measure µ on Z extends to a probability Haar measure ˆ on Z. Equation (6) can then be interpreted as showing that the sequence of ˆ forms a Markov random set–valued functions YK (x) = B(T K (x), m), x ∈ Z, 10

chain with states B(0, m), . . . , B(m − 1, m), with transition probabilities qij (m), given by equation (7). For equation (6) can be rewritten as P r (Y0 (x) = B(i0 , m), . . . YK (x) = B(iK , m)) = qi0 i1 (m) · · · qiK−1 iK (m). Then from an ergodic theorem for Markov chains ([4, Example 2.2, page 341]) we have the following result: Let C be a positive recurrent class and for each B ∈ C, let ρB be the component of the unique stationary distribution over C. (See [7] for these terms.) Then   1 P r lim K+1 card {n; n ≤ K, Yn (x) = B} = ρB |Yn (x) enters C = 1. K→∞

In other words, if SC is the union of the congruence classes of C,   n n 1 P r lim K+1 card {n; n ≤ K, T (x) ∈ B} = ρB |T (x) enters SC = 1. K→∞

This, together with computer evidence, leads to the following: CONJECTURE 6.1 Every divergent trajectory will eventually enter some SC and will occupy each class B of C with positive limiting frequency ρB . The positive recurrent classes can be determined numerically using an algorithm from [5]. EXAMPLE 6.1 The (5x + 1)/2 mapping with m = 5. The Markov chain formed by states 0, 1, 2, 3, 4 mod 5 has transition matrix     QT (5) =   

1/2

0

0

1/2

0

0

0

1

0

1/2

0

1/2

0

0

0

1/2

0

0

1/2

1/2

0



    0 .  1/2   0

0

The states 1, 2, 3, 4 form a positive recurrent class with limiting probabilities 1/15, 2/15, 8/15, 4/15. EXAMPLE 6.2 The (5x − 3)/2 mapping with m = 15. Here the Markov chain formed by states 0, . . . , 14 mod 15 has two positive classes : C1 : 1, 2, 4, 7, 8, 11, 13, 14;

C2 : 3, 6, 9, 12,

with limiting probabilities 4/15,1/30,1/15,2/15,4/15,2/15,1/15

respectively. 11

4/15,8/15,2/15,1/15,

This example, discovered by Tony Watts, was a very interesting one. It ˆ with respect to which T is ergodic suggested there exist two measures on Z and whose values on congruence classes give the observable frequencies of occupation of integer congruence classes. Construction of such a system of measures was carried out in [17] in the relatively–prime case. For more general mappings, the measure–theoretic approach has to be replaced by a Markov chain point of view, as in the next section. We also remark that in papers [2, 17, 15], the matrices QT (m) and sets SC were studied in some detail for mappings T of relatively prime type. The structure of these sets can be quite complicated. It seems likely that there are finitely many sets SC as m varies, if and only if T (Z) = Z.

7

Markov chains: general case

In 1983, George Leigh, then a 4th year mathematics student at the University of Queensland, suggested that to predict the frequencies mod m of divergent trajectories for the generalized Collatz mapping (2), we should restrict m to be a multiple of d and allow the states of the Markov chain to be all ˆ of the form mk, where k divides some power of d. congruence classes in Z The idea is to keep track of how much information we have on the congruence classes to which an iterate belongs. For example, in the mapping of example 7.2 below, if we start off in B(4, 8), then we know T (x) is in B(0, 32)–we neglect factors such as the 5 present in m4 that are relatively prime to d = 8. Then B(0, 32) is all the information we have about where T (x) is located. All the information is in the current state, regardless of the previous states of the trajectory. To define his more general Markov chain {Yn }, we need some definitions: Let mi = bi di , where bi ∈ Z, di ∈ N and gcd (di , bi ) = 1 where di divides some power of d, 0 ≤ i < d. Let d|m. We define a sequence of random ˆ : x → Yn (x) ∈ B, where B is the collection of congruence functions on Z classes of the form B(j, mk), k dividing some power of d: (a) Y0 (x) = B(x, m); (b) Yn+1 (x) = B(T n+1 (x), mkn+1 ), where k0 = 1 and kn+1 = 12

dj kn gcd (dj kn , d)

(8)

and where j is determined by T n (x) ≡ j (mod d), 0 ≤ j ≤ d − 1. Transition probabilities qBB 0 are defined for B, B 0 ∈ B, as follows : Let B = B(j, mk), B 0 = B(j 0 , mk 0 ). Then  kd  0 if k 0 6= gcd (kdj j ,d) ,   kd qBB 0 = 0 if k 0 = gcd (kdj j ,d) and T (j) 6≡ j 0 (mod mkdj ),    kdj gcd(kdj ,d) kd = if k 0 = gcd (kdj j ,d) and T (j) ≡ j 0 (mod mkdj ). k0 d d (9) Then (see [12, page 133]) the set–valued functions {Yn (x)} form a Markov chain with transition probabilities qBB 0 , by virtue of the equation Pr (Y0 (x) = B0 , . . . , Yn (x) = Bn ) = qB0 B1 qB1 B2 · · · qBn−1 Bn . Now let C be a positive recurrent class and for each B ∈ C, let ρB be the corresponding limiting probability. Then from the result of [4] mentioned earlier, we have   1 P r lim K+1 card {n; n ≤ K, Yn (x) = B} = ρB |Yn (x) enters C = 1. K→∞

To find the limiting frequency pi of occupancy of a particular congruence class B(i, m), we must sum the contributions of each congruence class in C which is contained in B(i, m), obtaining P r (fi = pi |Yn (x) enters C) = 1,

(10)

where 1 K→∞ K+1

fi = lim

card {n; n ≤ K, T n (x) ≡ i (mod m)}

(11)

and pi =

X ρB .

(12)

B ∈C B ⊆ B(i, m)

(See [12, Theorem 5].) For mappings T of relatively prime type, or when gcd(mi , d2 ) = gcd(mi , d), 0 ≤ i < d, (equivalently di |d for all i) this Markov chain reduces to the one implicitly studied by Matthews and Watts. However in the general case the chain can be infinite. 13

EXAMPLE 7.1

T (x) =

      

12x − 1

if x ≡ 0 (mod 4)

20x

if x ≡ 1 (mod 4)

 (3x − 6)/4 if x ≡ 2 (mod 4)      (x − 3)/4 if x ≡ 3 (mod 4).

To predict the frequency distribution mod 4 of divergent trajectories, we find there are 8 states in the Markov chain: B(0, 4), B(1, 4), B(2, 4), B(3, 4), B(−1, 16), B(4, 16), B(−17, 64), B(−5, 16) with transition matrix                    

0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1/4 1/4 1/4 1/4 0 0 0 0 1/4 1/4 1/4 1/4 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0

          .         

The Markov matrix is primitive (its 8th power is positive) and the limiting probabilities are ·1, ·1, ·2, ·2, ·1, ·1, ·1, ·1. To find the predicted frequency for the congruence class 0 (mod 4), we must sum the contributions arising from the states B(0, 4) and B(4, 16), namely ·1 + ·1 = ·2. Similarly the other frequencies are ·1, ·2, ·2 + ·1 + ·1 + ·1 = ·5. We finish this section with some generalizations of conjectures 2.1 (i),(ii) and (iv) due to Leigh. Here SC is the union of the states in a positive class C. CONJECTURE 7.1 (a) Every divergent trajectory will eventually enter some SC and will occupy each class B of C with limiting frequency ρB . (b) Let C be a positive recurrent class for the Markov chain mod d and let pi be defined by (12). Then if d−1 Y mi pi < 1, d i=0

all trajectories starting in SC will eventually cycle. 14

However if

d−1 Y mi pi > 1, d i=0

almost all trajectories starting in SC diverge. Here is an example from [12, page 140]: EXAMPLE 7.2                             

T (x)=                           

x/4

if x ≡ 0 (mod 8)

(x + 1)/2

if x ≡ 1 (mod 8)

20x − 40

if x ≡ 2 (mod 8)

(x − 3)/8

if x ≡ 3 (mod 8)

20x + 48

if x ≡ 4 (mod 8)

.

(3x − 13)/2 if x ≡ 5 (mod 8) (11x − 2)/4 if x ≡ 6 (mod 8) (x + 1)/8

if x ≡ 7 (mod 8)

We find there are 9 states in the Markov chain mod 8: B(0,8), B(0,32), B(1,8), B(2,8), B(3,8), B(4,8), B(5,8), B(6,8), B(7,8).

The transition matrix is                       

1/4 1 0 0 1/8 0 0 1/4 1/8

0 0 0 1 0 1 0 0 0

0 0 1/2 0 1/8 0 1/2 0 1/8

1/4 0 1/4 0 0 0 0 0 0 0 0 1/2 0 0 0 0 1/8 1/8 1/8 1/8 0 0 0 0 0 0 0 1/2 1/4 0 1/4 0 1/8 1/8 1/8 1/8

1/4 0 0 0 0 0 0 0 1/8 1/8 0 0 0 0 1/4 0 1/8 1/8

            .          

There are two positive recurrent classes: C1 : B(1, 8), B(5, 8) and C2 : B(0, 8), B(0, 32), B(2, 8), B(4, 8), B(6, 8). The limiting probabilities are

1/2,1/2

and

3/8,1/4,1/8,1/8,1/8,

We have p1 = p5 = 1/2 and as  1 1/2 2

 3 1/2 2 15

< 1,

respectively.

we expect every trajectory starting in SC1 = B(1, 8) ∪ B(5, 8) to cycle. Also p0 = 3/8 + 1/4 = 5/8 and p2 = p4 = p6 = 1/8. Then as  1 5/8 4

201/8 201/8

 11 1/8 4

> 1,

we expect most trajectories starting in SC2 = B(0, 2) to diverge, displaying frequencies

5/8, 1/8, 1/8, 1/8

in the respective component congruence classes.

(Leigh uses another Markov chain Xn (x) and arrives at

4/7, 1/7, 1/7, 1/7,

which

are erroneous, as one discovers on observing the apparently divergent trajectory starting with 46.) In this example, there appear to be 13 cycles with starting values 0, 1, 10, 13, 61, 158, 205, 3292, 4244, −2, −11, −12, −18. We finish this section with an example where there are infinitely many states in the Markov chain. The example was suggested by Chris Smyth. EXAMPLE 7.3   b3x/2c if x ≡ 0 (mod 2) T (x) =  b2x/3c if x ≡ 1 (mod 2). This can be regarded as a 6–branched mapping. The integer trajectories are much simpler to describe than the Markov chain: Even integers are successively multiplied by 3/2 until one gets an odd integer. Also 6k + 1 → 4k → 6k → 9k → 6k, (k odd) while 6k + 3 → 4k + 2 → 6k + 3. Finally 6k + 5 → 4k + 3 and unless we start from −1 (a fixed point), we must eventually reach B(1, 6) or B(3, 6). The late G. Venturini (see [21]) expanded on these ideas. In particular he has extended the definition of T –invariant set. This seems to correspond to the set SC defined above. One of his examples is worth mentioning. EXAMPLE 7.4                     

T (x)=                   

2500x/6 + 1 if x ≡ 0 (mod 6) (21x − 9)/6

if x ≡ 1 (mod 6)

(x + 16)/6

if x ≡ 2 (mod 6)

(21x − 51)/6 if x ≡ 3 (mod 6) (21x − 72)/6 if x ≡ 4 (mod 6) (x + 13)/6 16

if x ≡ 5 (mod 6).

There appear to be two cycles: 2, 3, 2 and 6, 2501, 419, 72, 30001, 105002, 17503, 61259, 10212, 4255001, 709169, 118197, 413681, 68949, 241313, 40221, 140765, 23463, 82112, 13688, 2284, 7982, 1333, 4664, 780, 325001, 54169, 189590, 31601, 5269, 18440, 3076, 10754, 1795, 6281, 1049, 177, 611, 104, 20, 6

8

Other rings: Finite fields

It is natural to investigate analogous mappings T for rings other than Z, where division is meaningful, namely the ring of integers of a global field. (See the chapter in [3, page 60]). We experimented with the ring of polynomials Z2 [x]. Here the conjectural picture for trajectories is not so clear. In [16] we examined the following mapping: EXAMPLE 8.1    

T (f ) =

  

if f ≡ 0 (mod x)

f /x

(13) {(x2 + 1)f + 1}/x if f ≡ 1 (mod x)

This is an example of relatively prime type and |m0 · · · m|d|−1 | = |d||d| , where |f | = 2deg f . Most trajectories appear to cycle. The trajectory starting from 1 + x2 + x3 exhibits a regularity which enabled its divergence to be proved (see Figure 2). If Ln = 5(2n − 1), then n

T

Ln

1 + x3·2 +1 + x3·2 (1 + x + x ) = 1 + x + x2 2

3

n +2

.

Figure 2 shows the first 92 iterates. There are infinitely many cycles. In particular, the trajectories starting with gn = (1 + x2

n −1

)/(1 + x) are purely periodic, with period–length 2n .

Figure 3 shows the cycle printout for g4 .

17

9

Other rings: algebraic number fields

Let d be a non–unit in the ring OK of integers of an algebraic number field K. Also let D = |Norm(d)|. Then if m0 , . . . , mD−1 ∈ OK satisfy gcd(Norm(mi ), Norm(d)) = 1 for all i, a sufficient condition for everywhere cycling appears to be |Norm(m0 · · · mD−1 )| < DD . Here are three examples. √ √ EXAMPLE 9.1 T : Z[ 2] → Z[ 2] be defined by  √ √  α/ 2 if α ≡ 0 (mod 2) T (α) = √ √  (3α + 1)/ 2 if α ≡ 1 (mod 2). √ Writing α = x + y 2, where x, y ∈ Z, we have equivalently   (y, x/2) if x ≡ 0 (mod 2) T (x, y) =  (3y, (3x + 1)/2) if x ≡ 1 (mod 2). There appear to be finitely many cycles with starting values √ 0, 1, −1, −5, −17, −2 − 3 2,

√ −3 − 2 2,

√ 9 + 10 2.

An interesting feature is the presence of at least three one–dimensional T –invariant sets S1 , S2 , S3 in Z × Z: S1 : x = 0 or y = 0, S2 : 2x + y + 1 = 0 or x + 4y + 1 = 0, S3 : x + y + 1 = 0 or x + 2y + 1 = 0 or x + 2y + 2 = 0. Trajectories starting in S1 or S2 oscillate from one line to the other, while those starting in S3 oscillate between the first and either of the second and third. Trajectories starting in S1 will cycle, as T 2 (x, 0) = (C(x), 0), where C denotes the 3x + 1 mapping.

√ Most divergent trajectories appear to be evenly distributed mod ( 2)α .

However divergent trajectories starting in S2 or S3 present what at first sight appear to be anomalous frequency distributions mod 2. By considering T 2 ,

18

1101 11001 111101 1001001 01101101 1101101 11011001 110111101 1101001001 11001101101 111111011001 1000010111101 01001001001001 1001001001001 01101101101101 1101101101101 11011011011001 110110110111101 1101101101001001 11011011001101101 110110111111011001 1101101000010111101 11011001001001001001 110111101101101101101 1101001011011011011001 11001100110110110111101 111111111101101101001001 1000000001011011001101101 01000000100110111111011001 1000000100110111111011001 01000010111101000010111101 1000010111101000010111101 01001001001001001001001001 1001001001001001001001001 01101101101101101101101101 1101101101101101101101101 11011011011011011011011001 110110110110110110110111101 1101101101101101101101001001 11011011011011011011001101101 110110110110110110111111011001 1101101101101101101000010111101 11011011011011011001001001001001 110110110110110111101101101101101 1101101101101101001011011011011001 11011011011011001100110110110111101 110110110110111111111101101101001001 1101101101101000000001011011001101101 11011011011001000000100110111111011001 110110110111101000010111101000010111101 1101101101001001001001001001001001001001 11011011001101101101101101101101101101101 110110111111011011011011011011011011011001 1101101000010110110110110110110110110111101 11011001001001101101101101101101101101001001 110111101101111011011011011011011011001101101 1101001011010010110110110110110110111111011001 11001100110011001101101101101101101000010111101 111111111111111111011011011011011001001001001001 1000000000000000010110110110110111101101101101101 01000000000000001001101101101101001011011011011001 1000000000000001001101101101101001011011011011001 01000000000000101111011011011001100110110110111101 1000000000000101111011011011001100110110110111101 01000000000010010010110110111111111101101101001001 1000000000010010010110110111111111101101101001001 01000000001011011001101101000000001011011001101101 1000000001011011001101101000000001011011001101101 01000000100110111111011001000000100110111111011001 1000000100110111111011001000000100110111111011001 01000010111101000010111101000010111101000010111101 1000010111101000010111101000010111101000010111101 01001001001001001001001001001001001001001001001001 1001001001001001001001001001001001001001001001001 01101101101101101101101101101101101101101101101101 1101101101101101101101101101101101101101101101101 11011011011011011011011011011011011011011011011001 110110110110110110110110110110110110110110110111101 1101101101101101101101101101101101101101101101001001 11011011011011011011011011011011011011011011001101101 110110110110110110110110110110110110110110111111011001 1101101101101101101101101101101101101101101000010111101 11011011011011011011011011011011011011011001001001001001 110110110110110110110110110110110110110111101101101101101 1101101101101101101101101101101101101101001011011011011001 11011011011011011011011011011011011011001100110110110111101 110110110110110110110110110110110110111111111101101101001001 1101101101101101101101101101101101101000000001011011001101101 11011011011011011011011011011011011001000000100110111111011001 110110110110110110110110110110110111101000010111101000010111101 1101101101101101101101101101101101001001001001001001001001001001 11011011011011011011011011011011001101101101101101101101101101101

Figure 2: The first 92 iterates for example 8.1. 19

111111111111111 1000000000000011 01000000000001111 1000000000001111 01000000000110011 1000000000110011 01000000011111111 1000000011111111 01000001100000011 1000001100000011 01000111100001111 1000111100001111 01011001100110011 1011001100110011 00111111111111111 0111111111111111 111111111111111

Figure 3: Cycle g4 . these are explicable in terms of the predicted “one–dimensional” uniform distribution. For example, if 2x + y + 1 = 0, then   ( 3x , −3x − 1) if x ≡ 0 (mod 2) 2 T 2 (x, y) =  ( 9x+3 , −9x − 4) if x ≡ 1 (mod 2). 2 For an example of everywhere cycling, consider: √ √ EXAMPLE 9.2 T : Z[ 3] → Z[ 3] is  √  x/ 3   √ T (x) = (x − 1)/ 3   √  (4x + 1)/ 3

defined by √ if x ≡ 0 (mod 3) √ if x ≡ 1 (mod 3) √ if x ≡ 2 (mod 3)

All trajectories appear to enter one of 14 cycles, with starting values √ √ √ √ √ √ 0, −1, −1 + 3, 5 + 2 3, −1 − 2 3, −7 − 4 3, −7 + 8 3, 11 + 11 3, √ √ √ √ √ √ −13 − 16 3, 14 + 8 3, 17 + 10 3, −22 − 7 3, 26 + 35 3, 35 + 41 3. Finally it should be pointed out that divergent trajectories need not tend to infinity in absolute value: √ √ EXAMPLE 9.3 T : Z[ 2] → Z[ 2] be defined by   (1 − √2)α/√2 if α ≡ 0 (mod √2) T (α) = √ √  (3α + 1)/ 2 if α ≡ 1 (mod 2). √ If {T K (x)} is a divergent trajectory and T K (x) = xK + yK 2, xK , yK ∈ Z, √ then apparently xK /yK → − 2 and T K (x) → 0. 20

Acknowledgement The author is indebted to George Leigh for patiently answering email queries and providing a computer program which constructs the transition matrix (9) for the Yn (x) chain, in December 1993. The author also thanks Owen Jones, Richard Pinch and Anthony Quas for helpful conversations when the author was on study leave at the Department of Pure Mathematics, University of Cambridge, July–December 1993.

References [1] P. Billingsley, Ergodic theory and information, John Wiley, New York 1965. [2] R.N. Buttsworth and K.R. Matthews, On some Markov matrices arising from the generalized Collatz mapping, Acta Arith. 55 (1990), 43–57. [3] J.W.S. Cassels and A. Fr¨ohlich, Algebraic Number Theory, Academic Press, London 1967. [4] R. Durrett, Probability: Theory and Examples, Third Edition. ThomsonBrooks/Cole (2005). [5] B.L. Fox and D.M. Landi, An algorithm for identifying the ergodic subchains and transient states of a stochastic matrix , Communications of the ACM, 11 (1968), 619–621. [6] M.D. Fried and M. Jarden, Field Arithmetic, Ergebnisse der Mathematik und ihrer Grenzgebiete, Band 11, Springer, 1986. [7] G.R. Grimmett and D.R. Stirzaker, Probability and random processes, Oxford University Press, 1992. [8] R.K. Guy, Unsolved problems in number theory, Vol. 1, Problem books in Mathematics, Springer, Berlin 1994. [9] A. Kaufmann and R. Cruon, Dynamic Programming, Academic Press, New York 1967.

21

[10] N. Koblitz, p–adic numbers, p–adic analysis and zeta–functions, Graduate Text 58, Springer, 1981. [11] J.C. Lagarias, The 3x + 1 problem, Amer. Math. Monthly (1985), 3–23. [12] G.M. Leigh, A Markov process underlying the generalized Syracuse algorithm, Acta Arith. 46 (1985), 125–143. [13] K. Mahler, p–adic numbers and their functions, Cambridge University Press, Cambridge, second edition, 1981. [14] K.R. Matthews and A.M. Watts, A generalization of Hasses’s generalization of the Syracuse algorithm, Acta Arith. 43 (1984), 167–175. [15] – –, A Markov approach to the generalized Syracuse algorithm, ibid. 45 (1985), 29–42. [16] K.R. Matthews and G.M. Leigh, A generalization of the Syracuse algorithm in Fq [x], J. Number Theory, 25 (1987), 274–278. [17] K.R. Matthews, Some Borel measures asssociated with the generalized Collatz mapping, Colloquium Math. 63 (1992), 191–202. ¨ [18] H. M¨oller, Uber Hasses Verallgemeinerung des Syracuse-Algorithmus (Kakutanis Problem), ibid. 34 (1978), 219–226. [19] M. Pearl, Matrix theory and finite mathematics, McGraw–Hill, New York 1973. [20] A.G. Postnikov. Introduction to analytic number theory, Amer. Math. Soc., Providence R.I. 1988. [21] G. Venturini. Iterates of number-theoretic functions with periodic rational coeficients (generalization of the 3x + 1 problem), Stud. Appl. Math. 86 (1992), no.3, 185–218. [22] G. Wirsching. The Dynamical System Generated by the 3n+1 Function, Lecture Notes in Mathematics 1682, Springer 1998.

22

Department of Mathematics University of Queensland Brisbane Queensland Australia 4072 [email protected]

23

The generalized 3x + 1 mapping

Aug 13, 2002 - (See http://www.maths.uq.edu.au/~krm/krm_calc.html.) .... Then as ai = ri(x)/(mi(x)Ti(x)) → 0, we have bi = log |1 − ai| → 0 and hence 1. K.

186KB Sizes 0 Downloads 189 Views

Recommend Documents

The generalized 3x + 1 mapping
Aug 13, 2002 - Then as ai = ri(x)/(mi(x)Ti(x)) → 0, we have bi = log |1 − ai| → 0 and hence 1. K .... K→∞. 1. K+1 card{n;n ≤ K, Yn(x) = B} = ρB|Yn(x) enters C.

CONJUGACY AND THE 3x + 1 CONJECTURE 1 ...
The conjecture states that for every positive integer x, there exists a positive integer k such that Tk(x) = 1 where Tk is the k-fold composition of T with itself.

3X 3X+ 10%+ 35%+ Developers
ZipRecruiter was pleased with the accuracy and freshness of their job postings. “We've been really impressed by how fresh the content is within Google's search experience,” Silin notes. “They're basically updating job listings almost in real ti

Lab Exercise 3x
[SpeedLimit.sav] A highway patrol officer believes that the average speed of cars ... by all executives reading and sending e-mail daily differs from 60 minutes?

GENERALIZED TATE COHOMOLOGY 1. Introduction ...
ug−1 ∈ Hom(P0,Pg−1) such that i ◦ d−1 = ug−1 ◦ d−1. Similarly there exist ug−2, ..., u0 that make the diagram commutative. Since u : T →. P (with u0,u1, ..., ug−1 ...

FIRe seveRITy mAPPIng: mAPPIng THe - Bushfire CRC
financial support was provided by Bushfires Nt and student support from Charles darwin university. ... mapping system (www.firenorth.org.au) enhancing the ...

AutomationDirect found 3x the clickthrough rate at half the cost ...
the company sells thousands of programmable logic controllers, sensors, operator interface panels, AC ... Online marketing specialist Liz Jacobson launched the company's first comprehensive. Google AdWords™ ... is “dramatically less” than it is

AutomationDirect found 3x the clickthrough rate at ... .com.au
Ten-year-old AutomationDirect is a direct marketer of industrial automation components. Through its website (www.automationdirect.com) and print catalogs,.

GENERALIZED HIGHER ORDER SPT-FUNCTIONS 1 ...
[5] A. O. L. Atkin and F. Garvan, Relations between the ranks and cranks of partitions, Ramanujan J., 7. (2003), 343–366. [6] F.J. Dyson, Some guesses in the theory of partitions, Eureka (Cambridge) 8 (1944), 10–15. [7] F. J. Dyson, Mappings and

AutomationDirect found 3x the clickthrough rate at ... .com.au
Through its website (www.automationdirect.com) and print catalogs, ... than it is in other forms of advertising they use (direct mail, trade shows, and trade.

Generalized and Doubly Generalized LDPC Codes ...
The developed analytical tool is then exploited to design capacity ... error floor than capacity approaching LDPC and GLDPC codes, at the cost of increased.

Sohomob Limited partners with AdMob to grow 3X
successful mobile board game apps with a community that offers cross-platform game play. ... social game play. A quality gaming ... Adding ad network optimization and mediation ... 2016 Google Inc. All rights reserved. Google and the Google ...

Counterexample to the Generalized Bogomolov ...
Let X be a smooth projective threefold over the complex numbers and let H be an ample divisor on X. For α ∈ R>0, β ∈ R and. E ∈ Db(X) we define να,β(E) =.

Barvinsky, Vilkovisky, The Generalized Schwinger-DeWitt Technique ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Barvinsky, Vilkovisky, The Generalized Schwinger-DeWitt Technique in Gauge Theories and Quantum Gravity.pdf.

Generalized discrepancies on the sphere
2 Department of Quantitative Methods, School of Economics and Business Management, Universidad de Navarra, Pamplona,. Spain. Generalized discrepancies ...

Mobile Mapping
Apr 24, 2013 - MOBILE MAPPING WITH ANDROID DEVICES. David Hughell and Nicholas Jengre .... 10. Windows programs to assist Android mapping .

Mobile Mapping
MOBILE MAPPING WITH ANDROID DEVICES. David Hughell and Nicholas Jengre. 24/April/2013. Table of Contents. Table of Contents .

Multidimensional generalized coherent states
Dec 10, 2002 - Generalized coherent states were presented recently for systems with one degree ... We thus obtain a property that we call evolution stability (temporal ...... The su(1, 1) symmetry has to be explored in a different way from the previo

Lesson 1 Creating Mapping Apps Without Programming.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Lesson 1 ...