This online paper is based on a paper of paper [3] of George Leigh which generalized papers [1,2] by Tony Watts and myself.
George came up with his generalization in the course of doing an honours thesis in 1983. He had in the previous year done a course in Markov chains with Barry Quinn and amazed me by coming up with a Markov chain explanation of the behaviour of 3x+1 type mappings that could not be dealt with by the Matthews-Watts heuristics. George worked over the l-adic integers, where l = lcm(d, m) (see below). This is because of the need to work in a probability space.
However, in my account, I am avoiding the language of Markov chains and we can avoid l-adic integers and work with ordinary congruence classes of integers. Also it seemed simpler to assume that d divides m, so that l = m.
My proof of the main theorem is different from his and is modelled on the one given in my online generalized 3x+1 paper. I have left out details and hope it is correct. The reader may prefer Leigh's proof, which gave me a lot of problems at one stage.
When preparing my generalised 3x+1 survey while on sabbatical in Cambridge in late 1993, due to my tenuous understanding of George's Markov chain approach, I had difficulties in guessing the correct conjectures below which involve SC. This set seemed to be an appropriate generalization of the Matthews-Watts ergodic set. I wanted to be able to assert that either all trajectories starting in this set either eventually cycled, or else that most diverged.
However I have to confess that I really haven't done enough experimental work to justify what is probably only wishful thinking. It may be safer to merely state things in terms of trajectories starting in a single congruence class.
Also while George had a heuristic section in dealing with any infinite Markov chains that might arise, this was outside my interest or understanding and I have limited my heuristics to the case where his chains are finite.
The only person who seems to have followed up on George's paper was the late G. Venturini who clearly had great insights into George's work. (See paper [4] below.) His paper contains a number of interesting examples and deals only with the important case of m = d. Also he came up with a sufficient condition for the chains to be finite. He defines on page 187 g-ergodic sets, which seem to be our SC below. Also he had an example where unexpectedly SC ⊆ SC'.
Venturini's paper is based on Leigh's Markov chain Xn(x), rather than Yn(x) and like Leigh, his matrix examples are given for the Xn(x) chain.
Leigh claims that the transition matrix for the Xn(x) chain is smaller in general that that for the Yn(x) chain. However I prefer the latter, as it generalises the Matthews-Watts Q(m), in the case where d divides m.
I have written an online BCMATH version of Leigh's fortran program for the Yn(x) Markov matrix Q(m).
T(x) = (mix - ri) ⁄ d if x ≡ i (mod d).
Our aim is to predict the limiting frequency of occupancy of a congruence class B(j, m) = {x ∈ ℤ | x ≡ j (mod m)} by a divergent trajectory x, T(x), T2(x),... and also to predict cycling and divergence of trajectories.
Paper [1] assumes (a) gcd(mi, d) = 1 for 0 ≤ i ≤ d-1.
Paper [2] assumes either (a) holds or (b) gcd(mi, d2) = gcd(mi, d) for 0 ≤ i ≤ d-1 and d divides m.
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). |
Next observe: if x ≡ 0 (mod 4) (state 0)
| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| ¼ | ¼ | ¼ | ¼ | 0 | 0 | 0 | 0 |
| ¼ | ¼ | ¼ | ¼ | 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 |
A is primitive (A8 is a positive matrix) and its stationary vector is (·1, ·1, ·2, ·2, ·1, ·1, ·1, ·1).
Notice that as sets,
(·1 + ·1, ·1, ·2, ·2 + ·1 + ·1 + ·1) = (·2, ·1, ·2, ·5).
An can be interpreted as giving the probability that Tn(x) is in state j, given that x is in state i.We will eventually see how A allows us to calculate card4n+1{B(i, 4) &cap T-n(B(j, 4))} where t = cardm(A) means that A is composed of t congruence classes (mod m).
The trajectory starting with 21 appears to be divergent.
We note that there appear to be 6 cycles, with starting numbers (and lengths) -1 (1), 5(81), -19(86), -4(3), -6(1), 19133(342).
Definition. For non-zero integers x, integers C(x) and D(x) ≥ 1, are defined by
x = C(x)D(x), where gcd(C(x), d) = 1 and D(x) is a divisor of some power of d.
Also let di = D(mi ) and extend the definition to arbitrary i by di = di (mod d).As George Leigh pointed out in his paper, the condition gcd(mi,d2)=gcd(mi,d) is equivalent to di divides d.
From now on we assume that d divides m. Also [a, b] denotes lcm(a, b).
Define a sequence of congruence classes Y0,Y1,... recursively by Yn = B(Tn(x), Kn), where
M0 = 1, K0 = m and Tn(x) ≡ jn (mod d), Kn = [Mn, m], Mn+1 = Kndjn ⁄ d.
(Leigh also defines congruence classes X0,X1,... recursively by Xn = B(Tn(x), Mn).)Remark. In the Matthews-Watts case, where dj divides d for all j, we see that Kn = m for all n.
Lemma. Kn = mK'n and Mn = (m ⁄ d)M'n, where K'n and M'n divide some power of d.
Proof. True when n = 0, as K0 = m.
Now assume Kn = m K'n, where K'n divides some power of d. Then
| Kn+1 | = [Mn+1, m] = [Kndjn ⁄ d, m] |
| = (Kndjnm ⁄ d)/gcd(Kndjn ⁄ d, m) | |
| = m(K'ndjn)/gcd(K'ndjn, d) |
The result for M'n then follows.
Definition. Let Θ denote the set of congruence classes of the form B(y, mK), where K divides some power of d.
Then Yn(x) ∈ Θ for all integers n ≥ 0 and x.
Lemma. Let Bn=B(jn, mLn) ∈ Θ for 0 ≤ n ≤ K and let
S = {x ∈ ℤ | Y0(x) = B0,...,YK(x) = BK}.
Then if S is non-empty, we have
Ln+1 = (Lndjn)/gcd(Lndjn, d) for 0 ≤ n ≤ K-1.
Conversely, if this condition holds, thenS = B0 ∩ T-1(B1)∩ ··· ∩ T-K(BK).
Consequently S is either empty, or a disjoint union of congruence classes (mod mdKL0).Theorem. As in the previous lemma, let S = {x ∈ ℤ | Y0(x) = B0,...,YK(x) = BK} and let S be a disjoint union of pB0,...,BK congruence classes (mod mdKL0). Then
pB0,...,BK = pB0,B1 ··· pBK-1,BK,
where pBi-1,Bi = cardmdLi-1{x | Y0 = Bi-1, Y1 = Bi}.We need a
Lemma. Suppose M = (Ldj)/gcd(Ldj, d), where L and M divide some power of d.
Then B(j, mL) ∩ T-1(B(k, mdnM)) is a disjoint union of pjk(mdnM, mL) congruence classes (mod mdn+1L) and is constant for n ≥ 0.
In fact
pjk(mdnM, mL) = gcd(dj, d) if mLdj ⁄ d divides k - T(j) and 0 otherwise.
Proof. We have to solvex ≡ j (mod mL) & (mjx-rj) ⁄ d ≡ k (mod mdnM).
Let x = j + tmL. Then we have to solve(mjx-rj) ⁄ d = T(j) + (tmLmj) ⁄ d ≡ k (mod mdnM).
This is soluble if and only if gcd((mmjL) ⁄ d, mdnM) divides k - T(j).Now
| gcd((mmjL) ⁄ d, mdnM) | = (m ⁄ d)gcd(mjL, dn+1M) |
| = (m ⁄ d)gcd(djL, dn+1M) | |
| = (m ⁄ d)gcd(Mgcd(Ldj, d), dn+1M) | |
| = (mM ⁄ d)gcd(gcd(Ldj, d), dn+1) | |
| = (mM ⁄ d)gcd(Ldj, d, dn+1) | |
| = (mM ⁄ d)gcd(Ldj, d) | |
| = (mLdj) ⁄ d. |
mdn+1M ⁄ dj = mdn+1Ldj/gcd(Ldj, d).
Consequently there are gcd(dj, d) solutions mod (mdn+1L).Assumption. From now on we assume that the set ΘT formed by the congruence classes Yn(x), is finite.
Corollary. Let P = [pBB'], where B, B' ∈ ΘT. Then
cardmd^K{x ∈ ℤ | Y0 = B0, YK = B1} = p(K)B0B1, where PK = [p(K)BB'].
From now on, we assume K0 = 1. Then Y0(x) = B(x, m).
The following result generalises Corollary 1 of Matthews-Watts:
Corollary. Assuming as usual, that d divides m, let
pKjk = cardmdK{x ∈ ℤ | x &equiv j (mod m), TK(x) &equiv k (mod m)}.
ThenpKjk = ∑B ⊆ B(k, m)p(K)B(j, m)B
Proof. Then because Kn is a multiple of m, we haveYn(x) ⊆ B(k, m) ⇔ Tn(x) ≡ k (mod m).
Hence
| pKjk = | cardmdK{x ∈ ℤ | Yn(x) ⊆ B(k, m), Y0(x) = B(j, m)} |
| = | ∑B ⊆ B(k, m)cardmdK{x ∈ ℤ | Yn(x) = B, Y0(x) = B(j, m)} |
| = | ∑B ⊆ B(k, m)p(K)B(j, m)B. |
B = {x ∈ ℤ | Y0(x) = B} = ∪B' ∈ &ThetaT {x ∈ ℤ | Y0(x) = B, Y1(x) = B'}.
Hence B is a disjoint union of ∑B' ∈ &ThetaT pBB' congruence classes (mod mLd).∑B' ∈ &ThetaT pBB' = d.
Remark. The example T(x) = 3x ⁄ 2 if x is even, int(2x ⁄ 3) if x is odd, was suggested by Chris Smyth when the author visited Edinburgh in 1993. Here all trajectories eventually enter a cycle. There are infinitely many cycles 2n → 3n → 2n, where n is an odd integer and apart from the fixed points 0 and -1, these are the only cycles. As George Leigh pointed out in an email of 14th December 1993:Even numbers are easy, they just keep being multiplied by 3 ⁄ 2 until you get an odd number, at which point the trajectory enters a cycle of period 2. x = 5 (mod 6) is the interesting case. This one will keep going until you get to 1 or 3 mod 6; unless x = -1 which is a fixed point. 1 and 3 (mod 6) both produce even numbers after one more iteration.
With m = 6, ΘT is infinite, as Yn(0) = B(0, 2·3n+1) for n ≥ 0.
Lemma. Let C be an irreducible closed set of Q(m) and SC = ∪B' ∈ CB. Then SC is a T-invariant set.
Proof. Suppose x ∈ SC. Then x ∈ B, where B ∈ C, so we can take Y0(x) = B.
Now there exists B" ∈ C such that qBB' > 0 and hence Y1(x) = B(T(x), mK1) ∈ C. Hence T(x) ∈ SC.
Conjecture. Every divergent trajectory will eventually enter some SC and will occupy each congruence class B of C with limiting frequency ρB, where ρB is the stationary value of Q(m) corresponding to B. Then the limiting frequency of occupancy of B(i, m) will be given by
pi = ∑B ∈C, B ⊆ B(i, m)ρB.
Conjecture. Let C be an irreducible closed set of Q(d). Then if∏0≤i≤d-1|mi ⁄ d|pi < 1,
all trajectories starting in SC will eventually cycle.∏0≤i≤d-1|mi ⁄ d|pi > 1,
almost all trajectories starting in SC will diverge.Here is a link to a BCMATH program for constructing the matrix Q(m). It is based on one provided by George Leigh to the author in March 1995.
Example. (G. Leigh [3], Example 1, page 139.) Let T(x) =
| 3x - 1 | if x ≡ 0 (mod 3) |
| (x - 16) ⁄ 3 | if x ≡ 1 (mod 3) |
| (-4x - 7) ⁄ 3 | if x ≡ 2 (mod 3) |
The program finds 4 states and transition matrix Q(3) according to the following scheme:
B(0,1)->B(0,3)->B(8,9)
->B(1,3)->B(0,1)
->B(2,3)->B(0,1)
B(8,9)->B(8,9)->B(2,3)
B(2,3)->B(2,3)->B(0,1)
States:
| Q(3) | (0,3) | (1,3) | (2,3) | (8,9) |
| (0,3) | 0 | 0 | 0 | 1 |
| (1,3) | ⅓ | ⅓ | ⅓ | 0 |
| (2,3) | ⅓ | ⅓ | ⅓ | 0 |
| (8,9) | 0 | 0 | 1 | 0 |
Hence we expect most trajectories to diverge.
The trajectory starting with x = 1 appears to diverge.
There appear to be 3 cycles: -1 → -1, -8 → -8 and 421 → 135 → 404 → -541 → 719 → -961 → 1279 → 421.
Leigh does the case m = 6. We get states B(0,6), B(1,6), B(2,6), B(3,6), B(4,6), B(5,6), B(17,18), B(8,18), with ergodic chain B(1,6),B(3,6),B(5,6),B(8,18).
The stationary vector is (1/5,1/5,2/5,1/5).
Example. (G. Leigh [3], Example 2, pages 140-141.) Let 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) |
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 Markov matrix Q(8) =
| ¼ | 0 | 0 | ¼ | 0 | ¼ | 0 | ¼ | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | ½ | 0 | 0 | 0 | ½ | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| ⅛ | 0 | ⅛ | ⅛ | ⅛ | ⅛ | ⅛ | ⅛ | ⅛ |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | ½ | 0 | 0 | 0 | ½ | 0 | 0 |
| ¼ | 0 | 0 | ¼ | 0 | ¼ | 0 | ¼ | 0 |
| ⅛ | 0 | ⅛ | ⅛ | ⅛ | ⅛ | ⅛ | ⅛ | ⅛ |
The stationary values are ½, ½ and ⅜, ¼, ⅛, ⅛, ⅛.
For C1, we have p1 = p2 = ½ and as
(½)½(3/2)½ < 1,
we expect all trajectories starting in SC1 = B(1, 8) ∪ B(5, 8) to cycle.For C2, we have p0 = ⅜ + ¼ = ⅝ and p2 = p4 = p6 = ⅛. Then as
(¼)⅝20⅛20⅛(11/4)⅛ > 1,
we expect most trajectories starting in SC2 = B(0, 2) to diverge.(Leigh uses another Markov chain Xn(x) and arrives at limiting frequencies 4/7, 1/7, 1/7, 1/7, which are erroneous, as one soon discovers on observing the apparently divergent trajectory starting at 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.
Theorem. (G. Venturini - Theorem 7, p. 196). LetDν(m) = dj0 ··· djν-1, where Ti(x) ≡ ji (mod d) for 0 ≤ i ≤ ν-1.
Suppose Dν(m) divides dν for all m, 0 ≤ m < dν. Then Kn(m) = mK'n and Mn(m) = (m ⁄ d)M'n, where K'n and M'n divide dν for all n ≥ 0. Remarks.Lemma.
K'n = Dn(m)/D'n(m), Mn = (m ⁄ d) Dn(m)/D'n-1(m),
where D0(m) = 1 = D'0(m) and D'n+1(m) = gcd(Dn+1(m), dD'n(m).)
Corollary.D'n(m) = gcd(Dn(m), dDn-1(m),...,dn-1D1(m), dn).
Corollary. If Dν divides dν, thenM'ν+1(m) = M'ν(T(m)).
Proof. Using the result Dν(m) = D1(m)Dν-1(T(m)), we have
| D'ν | = gcd(Dν(m), dDν-1(m),...,dν-1D1(m), dν) |
| = gcd(Dν(m), dDν-1(m),...,dν-1D1(m)) | |
| = D1(m)gcd(Dν-1(T(m)), dDν-2T((m)),...,dν-1) | |
| =D1(m)D'ν-1(T(m)). |
M'ν+1(m) = Dν+1(m)/D'ν(m) = D1(m)Dν(T(m))/D1(m)D'ν-1(T(m)) = Dν(T(m))/D'ν-1(T(m)) = M'ν(T(m)).
The theorem now follows. For if &Thetaν is the collection of all B(Tn(x), Mn(x)), x ∈ ℤ, n ≤ ν,Hence &Thetaν is the collection of all B(Tn(x), (m ⁄ d)M'n(x)), 0 ≤ x < mdν, n ≤ ν, a finite set of congruence classes the M'n(x) divide dν.
Then as K'n(x) = [M'n(x), d], it follows that K'n(x) divides dν for all n > 0 and x ∈ ℤ.
Example. (G. Venturini [4] Example 1, 205-206)
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 | if x ≡ 5 (mod 6). |
We find 9 states according to the following scheme:
B(0,1)->B(0,6)->B(1,4)
->B(1,6)->B(2,3)
->B(2,6)->B(0,1)
->B(3,6)->B(2,3)
->B(4,6)->B(2,3)
->B(5,6)->B(0,1)
B(1,4)->B(1,12)->B(2,6)
->B(5,12)->B(1,2)
->B(9,12)->B(5,6)
B(2,3)->B(2,6) ->B(0,1)
->B(5,6) ->B(0,1)
B(2,6)->B(2,6)->B(0,1)
B(1,2)->B(1,6)->B(2,3)
->B(3,6)->B(2,3)
->B(5,6)->B(0,1)
B(5,6)->B(5,6)->B(0,1)
| Q(6) | (0,6) | (1,6) | (2,6) | (3,6) | (4,6) | (5,6) | (1,12) | (5,12) | (9,12) |
| (0,6) | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | ⅓ | ⅓ |
| (1,6) | 0 | 0 | ½ | 0 | 0 | ½ | 0 | 0 | 0 |
| (2,6) | ⅙ | ⅙ | ⅙ | ⅙ | ⅙ | ⅙ | 0 | 0 | 0 |
| (3,6) | 0 | 0 | ½ | 0 | 0 | ½ | 0 | 0 | 0 |
| (4,6) | 0 | 0 | ½ | 0 | 0 | ½ | 0 | 0 | 0 |
| (5,6) | ⅙ | ⅙ | ⅙ | ⅙ | ⅙ | ⅙ | 0 | 0 | 0 |
| (1,12) | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| (5,12) | 0 | ⅓ | 0 | ⅓ | 0 | ⅓ | 0 | 0 | 0 |
| (9,12) | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
The stationary vector of Q(6) is (1 ⁄ 202)(18, 20, 53, 20, 18, 55, 6, 6, 6).
Noting that
B(1,12) ⊆ B(1,6),
B(5,12) ⊆ B(5,6),
B(9,12) ⊆ B(3,6), we calculate expected frequencies
p0=9/101, p1=13/101, p2=53/202, p3=13/101, p4=9/101, p5=61/202.
Also∏0≤i≤5(mi ⁄ d)pi = (2500 ⁄ 6)9/101(21 ⁄ 6)13/101(1 ⁄ 6)53/202(21 ⁄ 6)13/101(21 ⁄ 6)9/101(1 ⁄ 6)61/202 = (536735 ⁄ 283366)1/101 < 1.
Hence we expect all trajectories to eventually cycle.In fact there appear to be just two cycles:
(a) 2,3,2 and
(b) 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.
Interested viewers can experiment with a BCMATH program.
Example. (G. Venturini [4] Example 7, 210-211)
T(x) = :
| x ⁄ 3 | if x ≡ 0 (mod 6) |
| (2x - 2) ⁄ 3 | if x ≡ 1 (mod 6) |
| (5x - 4) ⁄ 3 | if x ≡ 2 (mod 6) |
| 4x ⁄ 3 | if x ≡ 3 (mod 6) |
| (5x - 8) ⁄ 3 | if x ≡ 4 (mod 6) |
| (4x - 2) ⁄ 3 | if x ≡ 5 (mod 6). |
We find 21 states according to the following scheme:
B(0,1)->B(0,6)->B(0,2)
->B(1,6)->B(0,4)
->B(2,6)->B(0,2)
->B(3,6)->B(4,8)
->B(4,6)->B(0,2)
->B(5,6)->B(6,8)
B(0,2)->B(0,6) ->B(0,2)
->B(2,6) ->B(0,2)
->B(4,6) ->B(0,2)
B(0,4)->B(0,12) ->B(0,4)
->B(4,12) ->B(0,4)
->B(8,12) ->B(0,4)
B(4,8)->B(4,24) ->B(4,8)
->B(12,24)->B(4,8)
->B(20,24)->B(0,8)
B(6,8)->B(6,24) ->B(2,8)
->B(14,24)->B(6,8)
->B(22,24)->B(2,8)
B(2,8)->B(2,24) ->B(2,8)
->B(10,24)->B(6,8)
->B(18,24)->B(6,8)
States:| Q(6) | (0,6) | (1,6) | (2,6) | (3,6) | (4,6) | (5,6) | (0,12) | (4,12) | (8,12) | (4,24) | (12,24) | (20,24) | (6,24) | (14,24) | (22,24) | (0,24) | (8,24) | (16,24) | (2,24) | (10,24) | (18,24) |
| (0,6) | ⅓ | 0 | ⅓ | 0 | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| (1,6) | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | ⅓ | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| (2,6) | ⅓ | 0 | ⅓ | 0 | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| (3,6) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | ⅓ | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| (4,6) | ⅓ | 0 | ⅓ | 0 | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0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 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | 0 | 0 | ⅓ | ⅓ | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | ⅓ | 0 | 0 | ⅓ | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | 0 | 0 | ⅓ | ⅓ | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | ⅓ | ⅓ | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | ⅓ | ⅓ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ⅓ | 0 | 0 | ⅓ | ⅓ | 0 | 0 | 0 | 0 |
Let Si be the union of the congruence classes that make up chain[i].
This example is curious, as S3=S2=B(0,4) ⊆ S1=B(0,2) and S4=B(2,4) ⊆ S1.
Q(6) is a doubly-stochastic matrix.
So the stationary vectors of the relevant 3×3 and 6×6 submatrices are (⅓,⅓,⅓) and (⅙,⅙,⅙,⅙,⅙) respectively.
The corresponding weighted product for chain[1] and chain[2] is
∏0≤i≤d-1|mi ⁄ d|pi = (2 ⁄ 6)⅓(10 ⁄ 6)⅓(10 ⁄ 6)⅓ = 25⅓ ⁄ 3 < 1.
Hence we expect all trajectories starting in the even integers to eventually cycle. Note that T(B(1,2)) ⊆ B(0,2).We believe that there are 9 cycles:
cycle 1: 0, 0
cycle 2: -6, -2, -6
cycle 3: 2, 2
cycle 4: -16, -28, -48, -16
cycle 5: 4, 4
cycle 6: -78, -26, -46, -78
cycle 7: -22, -38, -66, -22
cycle 8: -32, -56, -96, -32
cycle 9: 2454, 818, 1362, 454, 754, 1254, 418, 694, 1154, 1922, 3202, 5334, 1778, 2962, 4934, 8222, 13702, 22834, 38054, 63422, 105702, 35234, 58722, 19574, 32622, 10874, 18122, 30202, 50334, 16778, 27962, 46602, 15534, 5178, 1726, 2874, 958, 1594, 2654, 4422, 1474, 2454.
(length of cycle 9 is 41)
Interested viewers can experiment with a BCMATH program.
Last modified 20th June 2008