Download Full text

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Georg Cantor's first set theory article wikipedia , lookup

Big O notation wikipedia , lookup

Mathematical proof wikipedia , lookup

Functional decomposition wikipedia , lookup

Wiles's proof of Fermat's Last Theorem wikipedia , lookup

List of prime numbers wikipedia , lookup

Abuse of notation wikipedia , lookup

Mathematics of radio engineering wikipedia , lookup

Large numbers wikipedia , lookup

Dirac delta function wikipedia , lookup

Fundamental theorem of calculus wikipedia , lookup

Addition wikipedia , lookup

History of the function concept wikipedia , lookup

Fundamental theorem of algebra wikipedia , lookup

Function (mathematics) wikipedia , lookup

Elementary mathematics wikipedia , lookup

Non-standard calculus wikipedia , lookup

Quadratic reciprocity wikipedia , lookup

Collatz conjecture wikipedia , lookup

Proofs of Fermat's little theorem wikipedia , lookup

Transcript
DUCCI PROCESSES
FOOK-BUN WONG
Simon Fraser
University,
(Submitted
Burnaby, B.C.,
April
1979)
Canada
1. Introduction
During the 1930s Professor E. Ducci of Italy [1] defined a function whose
domain and range are the set of quadruples of nonnegative integers. Let
J \X -^ , X 2
9
^ 3 s *K i± )
l ~ ^2 I '
~" M
I 2 ""
3 1
s
I 3
—
1+ I »
|if
~" ^ 1 1 ) '
n
Let f (x19
x29 x3, xk) be the nth iteration of f.
Ducci showed that for any
choice of x , x 9 x , a? there exists an integer N such that
fm(x19
x29
x39
= (0, 0 9 0, 0) for all m > N.
xh)
We note the following properties of the function / of the previous paragraph:
(1) There exists a function g(xs y) whose domain is the set of pairs of
nonnegative integers and whose range is the set of nonnegative integers.
[Here g(x9 y) = \x - y \ ] .
(2) f(x19
x29 x39 xh) = {g(x19
x2)9
g(x29
x3)9
g(x39
xh)9
g(xk9
n
x±)).
(3) The four entries of f (x19
x29 x39 x^) are bounded for all n.
bound depends on the initial choice of x1, x29 x39
xh.
The
We call the successive iterations of a function satisfying these conditions a Ducci process. Condition (3) guarantees that a Ducci process is either
periodic or that after a finite number of steps (say N)
fn+1(x19
x2,
x39
xk)
= fn(x19
x29
x39
xh)
for all n > N.
If a function g generates a Ducci process of the latter type, we say that
g is Ducci stable (or simply stable).
2. Illustrations
(1) Let g(x9 y) = x+y (mod 3) 9 where x (mod 3) is the least nonnegative
integer congruent to x (mod 3). Then, an example shows that g is not stable.
Seta^ = x2 = x3 = 0 and xh = I. We may tabulate the successive values of /
as follows:
•f
f
\
f
ff
l
K
K
Kf
(0,
(0,
(0,
(1,
(1,
(1.
(2,
(0,
(1.
(0,
0,
0,
1,
0,
0,
1,
1,
1,
2,
.0,
97
0,
1,
2,
0,
1,
0,
0,
1,
1,
1,
1)
1)
1)
1)
2)
0)
1)
0)
0)
1)
98
[May
DUCCI PROCESSES
Since / 9 (0, 0, 0, 1) = ^ ( O , 0, 0, 1)= (0, 0 3 1, 1), the process is periodic with period 8 and g is not stable.
(2) Let g(x, y) = x + y (mod 8).
same initial values.
We construct a similar table for the
(0,
(0,
(0,
(1,
(A,
(2,
(4,
(4,
(0,
(0,
ff
\
K
K
K
r
K
f
f
0,
0,
1,
3,
6,
2,
0,
4,
0,
0,
o,
1,
2,
3,
4,
6,
4,
4,
0,
0,
1)
1)
1)
1)
2)
6)
0)
4)
0)
0)
We observe that for n _> 8, fn(0,
0, 0, 1) = (0, 0, 0, 0). We prove below
that g is stable, viz.., that any choice of initial values leads to a similar
result.
We now list a set of functions which can be proved to be stable. In some
cases we prove the stability of the function and in others we leave the proof
to the reader.
3. Theorem
The following functions are stable:
(1) x + y (mod 2 n ) , n - 1, 2, 3, ..,
(2) x • y (mod 2 n ) 9 n = 1, 2, 3,
(3) x* + z/* (mod 2 n ) , t = 2, 3, 4, ., ; n = l ,
2, 3, ... .
(mod 2 n ) ; , t = 2 , 3, 4, . .; n = 1, 2, 3, ... .
(4)
(x + yY
(5)
\x* - yt\
(6)
J (x - z/)* | (mod 2"), t = 1, 2, 3, . .. ; n = 1, 2, 3, . . . .
(7)
<$>(x) + §(y)*
(mod 2 n ) , t = 1, 2, 3,
..; n = 1, 2, 3, ... .
where (J) is Euler's c[)-function.
The notation ir (mod 2") means the least nonnegative integer congruent to
x modulo 2 n .
f(x19
4).
Proof of (1): We use f£ to denote the ith entry of the nth iteration of
x2, x3, xh).
The subscript i + J of x will always represent i + j (mod
We first consider the function g1(x,
y) = x + y and show that for any n:
f2(n + i)=
We compute:
(2«)[(2»
f1
= tf^ + ^
•>£
= x
i
+
_
l)Xi
+
(2» +
1}
^ +2
+*i+3)].
(A)
(B)
+ 1.
2x-i,+ i
+ 2 *(x i + 1
+
(C)
^i + 2*
(D)
f4 = 2 ^ + 4^i + 1 + 6xi+2
+ 4 ^ +3.
(E)
1982]
DUCCI PROCESSES
(A) i s c l e a r l y t r u e f o r n = 1 by ( E ) .
f-'n+2)
- #<jfn+1)>
99
Suppose (A) i s t r u e f o r n.
= ( 2 n + 1 ) [ ( 2 « + 1 - l)xi
Then by (C)
+ (2* + 1 4- l ) * , + 3
+1
+ (2n+1)(a;. + * i + 2 ) ] .
(F)
We note that for any iteration of f(x19
x29 x3, x^) we can consider (f"9
f29
f3n9 fO
to be the same row as its transpositions (/», f?9 f%9 /£) , (/», /*,
/i1, / £ ) , and (/2n, /3n, ft, ft). Therefore (F) indicates that (A) is also true
for n + 1. It follows by finite induction that (A) is true for all n.
Hence
we conclude that
/ ? ( n + 1 ) = 0 (mod 2 n ) , n = 1, 2, 3, ... .
Since fn(09
0, 0, 0) = (0, 0, 0 5 0) for all n9
g(x9 y) = x + y (mod 2n) is established.
Proof of (3): For any initial numbers x19
to arrange even and odd numbers:
the stability of the function
x29
(i)
(e9
e9 e9 e)
(iv)
(ii)
(e9
e9 e9 b)
(v)
(iii)
(e9
e9 b9 b)
(vi)
x39
xk9
there are six ways
(e9 b9 e9
b)
(e9
b9 b9
b)
(b9 b9 b9
b)
where e and b represent even and odd numbers, respectively. Since the sum of
the tth powers of two even (or two odd) numbers is even, the sum of the tth
powers of an even number and an odd number is odd,. Therefore, when we consider the function g2{x9 y) = xt+ yt, the initial arrangements (ii) and (v) yield
the following:
(e9
l
f
f
f
f
e9 e9
b)
(e9
e 9 b9
b)
(e9
b9 e9
b)
{b9
b9 b9
(e9
e9 e9
(e9
b9 b9
b)
b)
(bs
e9 e9
(b9
e9 b9 e)
b)
(b9
b9 b9
b)
e)
(e9
e9 e9
e)
and
(G)
The arrangements (i), (iii), (iv), and (vi) are included in the above operations. Thus there exists an integer m <_ 4 such that all numbers of fm(x19
xl9
x39 Xi+) are even numbers for the arrangements (i)-(vi).
Let fm(x19
x29 x39 xh) = (2im19 23m29 2um39 2vmh)9
where i9 j , u9 v9 m19
m29 m39 mh are positive integers. Without loss of generality, we may assume
that i <_ J, u, V. Then we have
( 2 ^ ) * + (2jm2)t
= 2^*777* + 2Hm2t
^ I** (m\ +
2U'i)tmt2)a
This indicates that the value of i in fm will increase by at least t times at
the next step (where t J> 2) . After a finite number of steps, we can obtain an
integer q such that fq(x19
x29 x39 x^) = (2hq19
2lq29
2rq39
28ql+)9 where h9 £,
r9 s9 q19 q29 q39 qk are positive integers and h9l9v9s
>_ n9 i.e., all numbers
of fq are the multiples of 2 n . Thus, the four numbers of fq are congruent to
zero modulo 2n. This shows that the function g(x9 y) = xt + y* (mod 2n) is
stable.
100
DUCCI PROCESSES
[May
Before we prove the last statement of the theorem, let us recall a simple
property of Euler's ^-function.
Lemma 1: For any even integer N9 (i) lf-N is a power of 2, then $(N)
(ii) if N is not a power of 2, then $(N) < (h)N.
Proof of (7):
greater than 2.
=
(k)N;
First9 we consider only the initial numbers x±9 x29 x39
Since cj)(x) is even for all x > 2. Therefore, we have
f1(xl9
x29
x39
xj
= (Nl9
N29 N3,
xh
Nh)9
where Nl9 N2, N$9 N^ are even integers and min-Oi, N2, N39 N^} _> 4. If N1 =
N2 = N3 = Ni+9 we can see below that statement (7) of the theorem is true in
this case. If all four are not equal, by Lemma 1 it is clearly seen that the
greatest integer (if two or three are equal and greater than the remaining,
each of these may be called "the greatest") of fn(x19
x29 x3, xh) must get
smaller within three steps for all n.
Hence, after a finite number of steps
(such as m)9 fm(x19
x2, x39 xh) = (N59 N6, N79 NQ)9 where N59 N69 N79 NQ are
even integers and either N5=N6=N7=N8=2t
for some integer t >_ 3, or
max{N59 N69 N79 N8} = 4. But, we also have m±n{N5, Ns, N7, NQ} _> 4 and
/ c (2*, 2*, 2*, 2*) = (2*, 2\
2*9 2*) for all c and t .
This implies that the function §(x) + $(y) is stable.
It remains only to show that the initial numbers x19 x29 x39 xk contain
some 2s or Is [since (f)(2) = <J)(1) = 1» so we only need to consider either 1 or
2]. Suppose the initial numbers contain only one number 2, say x± = 2. Thus
f1(xl9
x29
x39
- (l + cjK#2), <K#2) + <K# 3 ), <K^3) + <f>0&i>)» *(^4) + l)-
x^)
Since x29 # 3 , x^ > 2. Therefore, all four numbers of f1 (x1, x29 x39 xk) are
strictly greater than 2. Similarly, when the initial numbers contain two or
three 2s» we can prove that there exists an integer j <_ 3 such that
J
where J19 J29 J39 Jh
the proof of (7).
\X-^ ,
X29X39X^)
=
{ J ^
9
d
2 9
are. integers and m±n{J1, J29
J
3 9
t / i
J39
i
)
9
Jk}>
2.
This completes
4. Some More Ducci Processes
Let us denote the w-digit integer by
x = I0m-1cim+
I0rn'1am_1
+ . . . + 10a 2 + a1
and
S$ = (am + a w . x + . . . + a 2 + q ) * , T* = a* + a*_i + • • • + a\ + a £ ,
where t = 1, 2 , 3 , . . . .
We now address the following problems:
(1)
For what values of t is the function \s£ - Sy\
stable?
(2)
For what values of t is the function \T% -'Ty\
stable?
(3) For what values of t and n is the function T* + T$ (mod 2n) stable?
Partial answers to these questions are given below.
Obviously, the function \Sx - Sy \ is stable for t - 1.
stability for t = 2, we need the following lemma.
In order to prove
1982]
DUCCI PROCESSES
101
Lemma 2: Let Z be the set of all nonnegative integers and let # = {3s: ze Z},
L = Z\H. Then for any h9h19h2e
H and £,£ 1 9 £ 2 ££ w e nave
(i)
|/z2 - h\\ eH and | £ 2 - l\\
eH;
(ii)
Proof: For any heH, we have ft = 0 (mod 3) and ft2 E 0 (mod 3), For any
leL9
we have either £ = 1 (mod 3) or £ = 2 (mod 3). But we see that I1 = 1
(mod 3) for both cases. Therefore, we obtain
(i)
\h{ - h\\
\h\
(ii)
E 0 (mod 3) and |£2 - %\| E 0 (mod 3), i.e.9
- h\\ eH and | £ 2 - l\\
eH.
|ft2 - £ 2 | = |l|, i.e., \h2 - £ 2 |eL.
We may note that by division by three a nonnegative integer has the same
remainder as the sum of its digits. Therefore, an immediate consequence of
Lemma 2 is:
Lemma 3: Let Z be the set of all nonnegative integers and let # = {3s: s e Z } ,
L = Z\H. Then for anyft,ftx,ft2e#and l9l19l2eL
we have
(i)
(ii)
\S2K - S2J e H and | ^ - S2J e H;
\S2 - S\\
eL.
We now prove that the function \S% - Sy | is stable for t' - 2. By Lemma 3
we see that e andfccan play the same roles as shown in (G) if e represents
the initial number which belongs to the set H and b represents the initial
number which belongs to the set L. Thus we can find an integer m <_ 4 and four
integers hl9 h29 h3, hk e H such that
fm(xl9
x29
x39
xh)
= (ftl5 h29 ft3, hh)
and Sh1$ Shl9 Sh^9 S^ e H. It follows that there exist four nonnegative integers
h59 ft6, h79 ft8 such that
fm+1(xl9
x29
x39
a?lt) = (ft5,ft6,ft7,ft8)
and Shi E 0 (mod 9), i = 5, 6, 7, 8. On the other hand, if max{ft5,ft6,h79 ft8}
has four or more digits, then, after a finite number of steps (say d), we can
find four nonnegative integers ft9, ft10s h119 h12 such that
X 2 $ X 2 9 X i^
where Sh.
proof is
(9 + 9 +
that the
that
= 0 (mod 9), £ = 9, 10, 11, 12 and max{ft9, ft10, ftxl, ?z12} < 999 (the
based on the same principle as shown in Steinhaus [2]). We know that
9) = 27. Therefore, max{^ 9 , Shl0> Shll , Shl2.} < 27. This indicates
values of Sh. (i - 9, 10, 11, 12) are either 0, 9, or 18. But we see
18 2 - 0 2 = 324 and 3 + 2 + 4 - 9;
182 - 9 2 = 234 and 2 + 3 + 4 = 9; .
1 8 2 - 18 2 = 0.
[May
DUCCI PROCESSES
102
Thus, in the next step., we have
J
\Xl9
a? 3 , Xk)
XZf
=
( « 1 3 J ^iit» ™15»
^16^»
where the values of Shi (i = 13, 14, 15, 16) are either 0 or 9. It is easily
verified that fc(xl9
x29 x3i x±) = (0, 0, 0, 0) for all o >_ m + d + 5. This
shows that the function |-5| - S§ | is stable.
The function |£* - Sy\
For instance, letting
J
y I is not stable for t _> 3.
#0r, i/) = \SI -
S\\-
and
x±
= 21951, x2 = 21609, a?3 = 0, xh
= 324,
we have
(21951, 21609,
(
0,
5832,
( 5832,
0,
( 5832,
729,
f
0,
729,
5103,
5103,
324)
5103)
729)
0)
Since
3
/ (21951, 21609, 0, 324) = /1(21951, 21609, 0, 324) = (5832, 729, 5103, 0 ) ,
the process is periodic with period 2. The same result is obtained if we take
(531441, 0, 426465, 104976) as the initial entries for t = 4.
The reader is welcome to consider the stability of the function \T£ - Ty\
in problem (2). About 500 quadruples of two-digit numbers (xl9 x2, ^ 3 , x^)
have been tested for t = 2 and t - 3. In each case, the functions \T% - Ty\
and \T£ - T%\ stabilized after 80 steps.
With respect to problem (3), it is not difficult to get an example to show
that the function Tg + Tg (mod 32) is not stable. Letting
X •!
==
1U j Xn
~ Z. c-, Xo
:=
0, X h,
==
^-0,
we have
(10, 22, 6, 26)
( 9, 12, 12, 9)
(22, 10, 22, 2)
( 9, 9, 12, 12)
f
Thus, the process is periodic.
5. Ducci Processes in fc-Dimensions
By analogy with Section 1, we now consider a function / whose domain and
range are the set of ^-tuples of nonnegative integers. Suppose that there is
a function g(x9 y) whose domain is the set of pairs of nonnegative integers,
whose range is the set of nonnegative integers, and that
f{xl9
m
x29
Let f (xl9
..., xk)
= (g(xl9
x2)9
g(x2,
x3)9
..., g(xk,
x±)).
..., x^ be the mth iteration of /. Assume that entries of
) are bounded for all m (as before the bound depends on the
initial choice of entries)»
A Ducci process is a sequence of iterations of f.
We call a function g
stable if g generates a Ducci process such that for any choice of entries
x29
fm+l(xl9
x2,
..,., xk)
= fm{xl9
x29
..., xk)
for some m.
All of the Ducci processes in Sections 1-4 can be generalized to an arbitrary dimension k9 where k is any integer greater than 2. We propose to examine only two such generalizations.
1982]
DUCCI PROCESSES
103
B. Freedman [3] proved that function g(x9 y) = \x-- y\ is stable if the
number of members of the initial entries k is a power of 2.
We now show that the following functions are stable if and only if k is a
power of 2.
(I) g(x9
(II) g(x,
y) = x + y (mod 2n),
y) = x + y (mod k)
s
n = ls 2, 3, ... .
where k is an arbitrary positive integer.
Proof of (I): Let kfim be the ith entry of the mth iteration of f(xl9
x29
..., xk).
The subscript i + j of x will always represent i + j (mod &) .
Consider the function g(x9 y) = x + y. We can show by mathematical induction that for any m9
k
A'-?(")v
J-O
<H>
In fact, (H) is true for m = 19 because
k
f} = x, + x.
Suppose (H) is true for w.
=
.
Then
(oh + £[(*) + G- - i)] x *w + (IK-1
+
?>
*V •
J'-O
Therefore, (H) is true for all m.
In particular, if fe is a power of 2 (fc = 2 r ) , then from (H) we have
2
/->r\
/0r>
21--l/0rx
2r-l ,
= 2tf; +
•
3 *
T
Adopting Freedman s techniques we see that ( . ) is always even for J = 1,
.., 2r - 1. Hence
*/* =• 0 (mod 2), i = I, 2, ....,fc,fc= 2r
104
DUCCI PROCESSES
[May
and
*/?* =-0 (mod 4), £ = 1, 2, ..., k, k = 2 2
In general
fe^tk
:
/.
= 0 (mod 2*), £ = 1, 2 9
j rC , K, "~ i.
.
Thus, we conclude that for any n we have
*/,"* = 0 (mod 2"), £ = 1, 2, ...,fc,k = 2*\
This means the function ^(x, zy) = x + zy (mod 2n) is stable if k is a power of
2.
Proof of (II): The function g(x9 y) = x + y (mod k) is stable if and only
if k = 2 P for any p. That this condition is sufficient follows from the previous proof. We now show that it is necessary.
We prove first that g(x, y) is not stable if k is an odd prime p. Let the
initial entries be xl9 x29 ..., xp, and
_f0
if 0 < £ < p
if % - p.
Then from (H) we have
if 0 < £ <
VryV
y,
if £ = p.
We know that f
Hence,
. =
.
= 0 (mod p) for 0 < £ < p when p is an odd prime.
PfP
h
=
f 0 if 0 < £ <
[2
if £ = p
and
P/P*
_ f 0 if 0 < i < p
2* if £ = p
,
, .
where t is a positive integer. Thus, by Fermat's theorem 2P~1
obtain
PfP(p-i)
_ J °
i f 0 < £ <
^
[ 1 if £ = p.
= 1 (mod p ) , we
Therefore, #(#, z/) is periodic.
Now let k = ps9 where p is an odd prime and s is any integer greater than
one. Let
if £ is a multiple of p
otherwise.
*< - {l
*For example, let k = 6; then k = ps
as (0, 0, 2, 0, 0, 2). Thus we have
6J?1
6^*3
f>/6
(0,
(0,
(2,
(0,
(0,
(4,
(0,
0,
2,
4,
0,
4,
2,
0,
2,
1,
2,
4,
4,
4,
2,
3X2.
0,
0,
2,
0,
0,
4,
0,
0,
2,
4,
0,
4,
2,
0,
2)
2)
2)
4)
4)
4)
2)
We set the initial entries
1982]
DUCCI PROCESSES
105
Then
knP
J i
and
k_ppt
•* i
•{
2 s
0
where t is a positive integer.
fc«p(p-D
•^
Thus, function g(x9
if i is a multiple of p
otherwise
2s
0
if i is a multiple of p
otherwise
,
(m
°
d
, -x
k)
'
Hence
J s if £ is a multiple of p
1 0 otherwise.
y) is periodic and the proof is complete.
We leave it to the reader to examine generalizations of the Ducci processes presented in Sections 1-4.
References
1.
2.
3.
R. Honsberger. Ingenuity
in Mathematics.
New York: Yale University, 1970,
pp. 80-83.
H. Steinhaus. One Hundred Problems in Elementary Mathematics.
New York:
Basic Books, 1964, pp. 56-58.
B. Freedman. "The Four Number Game." Scripta
Mathematica
14 (1948):3547.
*****