The Collatz Problem and Analogues

Similar documents
arxiv: v1 [math.gm] 1 Oct 2015

Solving Higher-Order p-adic Polynomial Equations via Newton-Raphson Method

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

Notes on Systems of Linear Congruences

#A42 INTEGERS 10 (2010), ON THE ITERATION OF A FUNCTION RELATED TO EULER S

Collatz cycles with few descents

ODD REPDIGITS TO SMALL BASES ARE NOT PERFECT

CONGRUENT NUMBERS AND ELLIPTIC CURVES

COLLATZ CONJECTURE: IS IT FALSE?

arxiv: v6 [math.nt] 10 Oct 2018

A Proof of the Lucas-Lehmer Test and its Variations by Using a Singular Cubic Curve

On products of quartic polynomials over consecutive indices which are perfect squares

+ 1 3 x2 2x x3 + 3x 2 + 0x x x2 2x + 3 4

MATH 215 Final. M4. For all a, b in Z, a b = b a.

Recitation 7: Existence Proofs and Mathematical Induction

USING CAS TECHNOLOGY IN A COURSE DESIGNED FOR PRESERVICE TEACHERS. Jay L. Schiffman. Rowan University. 201 Mullica Hill Road. Glassboro, NJ

An Elementary Proof that any Natural Number can be Written as the Sum of Three Terms of the Sequence n2

Product Representations of Polynomials

MATH 2200 Final Review

arxiv: v1 [math.co] 3 Nov 2014

Integer Sequences Avoiding Prime Pairwise Sums

Math 109 HW 9 Solutions

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Wilson s Theorem and Fermat s Little Theorem

A WEAK VERSION OF ROLLE S THEOREM

NOTES ON SIMPLE NUMBER THEORY

The 3n ± p Conjecture: A Generalization of Collatz Conjecture

Heronian tetrahedra are lattice tetrahedra

Tewodros Amdeberhan, Dante Manna and Victor H. Moll Department of Mathematics, Tulane University New Orleans, LA 70118

Sums of Squares. Bianca Homberg and Minna Liu

#A50 INTEGERS 14 (2014) ON RATS SEQUENCES IN GENERAL BASES

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics

Computing a Lower Bound for the Canonical Height on Elliptic Curves over Q

Heronian Tetrahedra Are Lattice Tetrahedra

MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION

Number Theory Homework.

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Some congruences for Andrews Paule s broken 2-diamond partitions

An irreducibility criterion for integer polynomials

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

A Guide to Arithmetic

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

* 8 Groups, with Appendix containing Rings and Fields.

Algebraic function fields

A note on the Isomorphism Problem for Monomial Digraphs

arithmetic properties of weighted catalan numbers

Legendre s Equation. PHYS Southern Illinois University. October 18, 2016

ARITHMETIC PROGRESSIONS IN CYCLES OF QUADRATIC POLYNOMIALS

MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST

Appending Digits to Generate an Infinite Sequence of Composite Numbers

The Impossibility of Certain Types of Carmichael Numbers

Math From Scratch Lesson 28: Rational Exponents

9 - The Combinatorial Nullstellensatz

Lecture Notes. Advanced Discrete Structures COT S

CIRCULAR CHROMATIC NUMBER AND GRAPH MINORS. Xuding Zhu 1. INTRODUCTION

MATH 2200 Final LC Review

MULTIPLICATIVE SEMIGROUPS RELATED TO THE 3x +1 PROBLEM. 1. Introduction The 3x +1iteration is given by the function on the integers for x even 3x+1

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

SOME VARIANTS OF LAGRANGE S FOUR SQUARES THEOREM

Proof by Contradiction

MATH CSE20 Homework 5 Due Monday November 4

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group.

MATH 614 Dynamical Systems and Chaos Lecture 3: Classification of fixed points.

DIVISIBILITY AND DISTRIBUTION OF PARTITIONS INTO DISTINCT PARTS

Part IX. Factorization

How many units can a commutative ring have?

UNIQUE PRIME CARTESIAN FACTORIZATION OF GRAPHS OVER FINITE FIELDS

EXAMPLES OF MORDELL S EQUATION

Rigid Divisibility Sequences Generated by Polynomial Iteration

Generalized Collatz Functions: Cycle Lengths and Statistics

GENERAL FAMILY OF CONGRUENCES MODULO LARGE POWERS OF 3 FOR CUBIC PARTITION PAIRS. D. S. Gireesh and M. S. Mahadeva Naika

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

Necessary and Sufficient Conditions for the Central Norm to Equal 2 h in the Simple Continued Fraction Expansion of 2 h c for Any Odd Non-Square c > 1

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II

Jonathan Sondow 209 West 97th Street Apt 6F New York, NY USA

Series of Error Terms for Rational Approximations of Irrational Numbers

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

On the Composite Terms in Sequence Generated from Mersenne-type Recurrence Relations

Rose-Hulman Undergraduate Mathematics Journal

ON THE CONTINUED FRACTION EXPANSION OF THE UNIQUE ROOT IN F(p) OF THE EQUATION x 4 + x 2 T x 1/12 = 0 AND OTHER RELATED HYPERQUADRATIC EXPANSIONS

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

Math 13, Spring 2013, Lecture B: Midterm

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Johns Hopkins Math Tournament 2018 Proof Round: Sequences

SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS

Spectra of Semidirect Products of Cyclic Groups

ON TWO QUESTIONS ABOUT CIRCULAR CHOOSABILITY

On Robbins example of a continued fraction expansion for a quartic power series over F 13

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

#A38 INTEGERS 17 (2017) ON THE PERIODICITY OF IRREDUCIBLE ELEMENTS IN ARITHMETICAL CONGRUENCE MONOIDS

PRACTICE PROBLEMS: SET 1

Final Exam A Name. 20 i C) Solve the equation by factoring. 4) x2 = x + 30 A) {-5, 6} B) {5, 6} C) {1, 30} D) {-5, -6} -9 ± i 3 14

Math Homework # 4

1 Overview and revision

EULER S THEOREM KEITH CONRAD

Notes on Primitive Roots Dan Klain

Transcription:

2 3 47 6 23 Journal of Integer Sequences, Vol. (2008), Article 08.4.7 The Collatz roblem and Analogues Bart Snapp and Matt Tracy Department of Mathematics and Statistics Coastal Carolina University Conway, SC 29528-6054 USA snapp@coastal.edu mjtracy@coastal.edu Abstract In this paper, we study a polynomial analogue of the Collatz problem. Additionally, we show an additive property of the Collatz graph. Introduction In the Collatz problem, one starts with any positive integer and repeatedly applies the following function: { 3n +, if n is odd; C(n) = n/2, if n is even. Will the iterated application of C always produce the value? As an example, consider how C acts on 3: 3 C 0 C 5 C 6 C 8 C 4 C 2 C This seemingly innocent problem is also known as the 3x + problem, the Hailstone problem, and the Syracuse problem, along with several other names. Despite its simplistic nature, it has remained open since it was suggested by L. Collatz while he was a student in the 930 s. To some, this problem is a proverbial siren, being seductive yet difficult at the same time. For an in depth discussion of the problem see Lagarias [2]. A condensed version of the traditional Collatz function C(n) can be given: { (3n + )/2, if n is odd; T(n) = n/2, if n is even.

We will use the following notation: Let T 0 (n) = n and inductively define T i (n) = T(T i (n)). We can now state the Collatz Conjecture: Collatz Conjecture. Given any natural number n, there exists a natural number i such that T i (n) =. Since the Collatz problem is notoriously difficult, we do not seek to study it directly. Rather, in Section 2 of this paper, we study a map analogous to T(n), which will act not on the integers, but on a polynomial ring with coefficients in the ring of integers modulo an integer n. In this ring, which we ll denote by Z n [x], we define a map T (f) which acts on polynomials. The major results of this section are: Theorem 2.. Given any polynomial f Z 2 [x], there exists a natural number i such that T i (f) =. Hence the analogous statement of the Collatz Conjecture is true in Z 2[x]. Theorem 2.5. If n 2, then there exists a natural number i and a polynomial f Z n [x] of positive degree such that T i (f) = f. Hence the analogous statement of the Collatz Conjecture is false in Z n [x] when n 2. While we find the results above to be interesting in their own right, the study of the analogue to the Collatz problem in Z 2 [x] lead us to a new insight on the problem. In Section 3 of this paper, we show a fascinating arithmetic property of a graph which contains the Collatz graph. Essentially, we have found a meaningful way to combine the graph of the iterates of T(n) on the positive integers with the graph of the iterates of T(n) on the negative integers. It was through our study of the analogous problem in Z 2 [x], where addition looks identical to subtraction, that we were able to see this connection. During the course of this research, we utilized ARI/G for aid in intuition and insight, see [3]. The code for the package we wrote for this research can be downloaded from: http://ww2.coastal.edu/snapp/ Finally we would like to mention that our results in Section 2 were concurrent with a publication of Hicks, Mullen, Yucas, and Zavislak, see []. We encourage the reader to look into this paper. 2 An analogous question for polynomials We will first discuss the case of our analogous map in Z 2 [x], then in Z p [x] where p is an odd prime, and finally in Z n [x] where n is any composite. 2. An affirmative result Given a polynomial f Z 2 [x], define the following map, which we are viewing as an analogue to T(n): { ((x + ) f + )/x, if f is not divisible by x; T (f) = f/x, if f is divisible by x. 2

We are mimicking the relationship between even numbers and odd numbers in the integers. In the integers, added to an odd number will result in an even number. In Z 2 [x], an element is either divisible by x or it is not. To some extent, we are viewing x as 2. Hence when f is not divisible by x, we multiply by x +. The product (x + ) f will also not be divisible by x. Hence (x + ) f + will be divisible by x. Of particular interest is that deg(t (f)) deg(f). In fact, it is easy to see that deg(t (f)) = deg(f) when x does not divide f. This simple fact is critical in the proof of Theorem 2. below. As before, set T 0(f) = f and inductively define T i (f) = T (T i (f)). Theorem 2.. Given any polynomial f Z 2 [x], there exists a natural number i such that T i (f) =. Hence the analogous statement of the Collatz Conjecture is true in Z 2[x]. roof. Seeking a contradiction, suppose that for some nonconstant polynomial f Z 2 [x] there does not exist a natural number i such that T i (f) =. Since the function T does not raise the degree of the polynomial, and since there are only a finite number of polynomials of any fixed degree in Z 2 [x], it must be the case that for some i 0, T i 0 (f) = f. In this case, for each i, T i (f) must have a constant term equal to. Write T 0 (f) = + n a i x i i= So we have that T (f) = + n a i x i + i= n a i x i In particular, since the constant term of this polynomial must be, we see that a = 0. Repeating this process, starting our indexing at 2, write i= T 2 (f) = + n a i x i + i=2 n a i x i 2 i=2 Again, if the constant term of this polynomial must be, then we must have that a 2 = 0. roceeding inductively, we see that there can be no polynomial of positive degree such that T i (f) = f. Indeed, we see that f =, a contradiction. 2.2 A negative result One may wonder if the analogous statement of the Collatz Conjecture is true in Z n [x] when n > 2. In this case we need to generalize the definition of T (f) as follows: { ((x + ) f f(0))/x, if f is not divisible by x; T (f) = f/x, if f is divisible by x. Note, with this new definition of T, we are not necessarily restricting ourselves to working with polynomial rings over finite fields. Moreover, we should make precise exactly what we mean by an analogue to the Collatz conjecture in this case: 3

There do not exist nonconstant polynomials f Z n [x] such that T i (f) = f. While Theorem 2., shows that this statement is true in Z 2 [x], we will now show that this statement is in fact false in Z n [x] for all n > 2. We will prove this in steps, starting with Z p [x] where p is an odd prime and then move on to the case of Z n [x] when n is composite. We will start with a technical lemma: Lemma 2.2. Given two integers m n we have the following: ( ) ( ) n n T(x n m + ) = x m + x m + + n n ( n 0 ) x m n + roof. roceeding by induction on the iterations of T. To start, we see that T (x m + ) = (x + )(xm + ) x = xm+ + x m + x x = x m + x m +. Now suppose our theorem is true up to n, that is, assume that: ( ) ( ) ( ) n n n T n (x m + ) = x m + x m + + x m (n ) + n n 2 0 We now can express T n(xm + ) as: = (x + )(( ) n n x m + + ( ) n 0 x m (n ) + ) ( x n ) n x m+ + (( ) ( n n + n )) n 2 x m + + (( ) ( n + n )) 0 x m n + ( n = 0) x m (n ) + x ( x n = n) x m+ + ( ) n n x m + + ( ) n x m n + ( n 0) x m (n ) + x ( ) ( ) x ( ) ( ) n n n n = x m + x m + + x m (n ) + x m n + n n 0 With the above line holding as long as m n. roposition 2.3. If p is an odd prime, then T p (xp + ) = x p +. Hence the analogous statement of the Collatz Conjecture is false in Z p [x]. roof. From Lemma 2.2, we see that: T p (x p + ) = x p + ( ) p x p 2 + + p 2 ( p ) x + 2 4

Hence: T p (xp + ) = x p + = x p + ( (p p 2 ) ) + x p + + (( ) ) p + 2 x ( ) x p x p + + p ( ) p x + ( ) p + Examining this expression modulo p, we see that T p (xp + ) = x p +. When working in Z n [x] when n is composite, the proof given above may not work as ( ) n m might not be congruent to zero modulo n. Nevertheless, we have the following proposition: roposition 2.4. If n is a composite integer with d dividing n, then T n/d (dx + ) = dx +. Hence the analogous statement of the Collatz Conjecture is false in Z n [x]. If n is a composite number, then there exists a natural number i and a polynomial f Z n [x] of positive degree such that T i (f) = f. Hence the analogous statement of the Collatz Conjecture is false in Z n [x] when n is composite. roof. Supposing that n is composite and that d divides n. It is easy to see that T (dx+) = dx + (d + ) and that: T i (dx + ) = dx + (di + ) Hence we see T n/d (dx + ) = dx + (n + ), which is congruent to dx + modulo n. utting the statements of roposition 2.3 and roposition 2.4 together, we obtain: Theorem 2.5. If n 2, then there exists a natural number i and a polynomial f Z n [x] of positive degree such that T i (f) = f. Hence the analogous statement of the Collatz Conjecture is false in Z n [x] when n 2. One may wonder if there exists a polynomial f in Z p [x] when p is a prime of such that T i p(f) = f and deg(f) < p. In fact there are many such examples. However, we will leave the classification of such polynomials for future researchers. 3 Connections to the Collatz graph While we can prove a result analogous to the Collatz Conjecture in Z 2 [x], it is difficult to connect this back to the whole-number case. Nevertheless, we are able to gain insight on the Collatz problem through our study of Z 2 [x]. In particular, in Z 2 [x] there is no distinction between an element and its additive inverse. With this fact in mind, we make the following definitions: Definition. Call the standard Collatz graph of the iterates of T(n), the positive Collatz graph. This graph generated as follows: Each integer n is associated to a vertex. Vertices n and m are connected by an edge if and only if T(n) = m. We will depict this graph as a directed graph with an arrow from n to m if T(n) = m, see Figure. On the other hand, call the Collatz graph of the iterates of T(n), when n is assumed to be a negative integer, the negative Collatz graph. 5

Figure : A portion of the positive Collatz graph. We will make a new graph, combining the positive Collatz graph and the negative Collatz graph which we will call the combined Collatz graph. If the Collatz Conjecture is true, then this new graph will have the positive Collatz graph as a subgraph. Moreover, the combined Collatz graph has an additive property between the vertices which we will make clear below. Start with a technical lemma: Lemma 3.. Consider any integer n which is not divisible by 3. Then there exist unique x,y N such that 2n = x + y and exactly one of the following is true:. T(x) = n and T( y) = 2n. 2. T( x) = n and T(y) = 2n. roof. Since n is an integer which is not divisible by 3, n = 3k + or n = 3k + 2 for some k Z. A direct calculation will show that in either case exactly one of the following pairs ( 2n (x,y) =, 4n + ) ( 2n + or (x,y) =, 4n ) 3 3 3 3 is a pair of odd integers, with the other pair consisting of rational numbers which are not integers. 6

We will verify our statement in the case where the first pair above consists of odd integers. Set x = (2n )/3 and set y = (4n + )/3. It is easy to see that x + y = 2n. Moreover since x and y are odd, a direct calculation shows that T(x) = n and T( y) = 2n. The fact that these values of x and y are unique is clear from the definition of T. The verification of the second case is similar. Remark. If n is divisible by 3, then there is no integer x such that (3x + )/2 = n. We are now able to generate a graph as follows: Starting with any integer n which is not divisible by 3, work as in Lemma 3. and set { (2n )/3 if n 2 (mod 3); x = (2n + )/3 if n (mod 3). Now we may obtain y via subtraction: y = 2n x Since there are two cases for the x and y values we find, there are two cases of subgraphs: }{{} n 2 (mod 3) x=(2n )/3 y=(4n+)/3 }{{} n (mod 3) x=(2n+)/3 y=(4n )/3 The dotted edges above should not be considered part of the graph, they are only depicted to aid the reader in seeing how we produce the next vertex through subtraction. Corollary 3.2. With x and y as defined above, if n 2 (mod 3), then we have subgraphs of the positive Collatz graph, and negative Collatz graph respectively. If n (mod 3), then we have subgraphs of the positive Collatz graph, and negative Collatz graph respectively. roof. Follows directly from the statement of Lemma 3.. 7

3. Construction of the combined Collatz graph The combined Collatz graph is constructed as follows: Starting with n =, repeatedly apply Lemma 3. to the powers of 2 to generate the subgraph given in Figure 2. Figure 2: A start at the combined Collatz graph. Here the dotted lines show how to produce the next vertex via subtraction. By Corollary 3.2, the solid vertices above correspond to vertices of the positive Collatz graph and hollow vertices above correspond to the vertices of the negative Collatz graph. Now consider the vertices which are not multiples of 2 which correspond to vertices of the positive Collatz graph. These are either congruent to 0,, or 2 modulo 3. Omitting the vertex denoted by, apply Lemma 3., to generate the next branches of the graph, see see Figure 3. By repeating this process inductively, we obtain the combined Collatz graph, see Figure 4. Corollary 3.3. The positive Collatz graph is a subgraph of the combined Collatz graph if and only if the Collatz Conjecture holds. roof. If the positive Collatz graph is a subgraph of the combined Collatz graph, then each positive integer must eventually go to, as we generated this graph starting at. If the Collatz Conjecture is true, then there is a path to and this construction will find it. The surprising feature of the combined Collatz graph is that using very simple arithmetic allows for quick and easy generation of the graph. Through this expedient process, we obtain 8

Figure 3: More of the combined Collatz graph. Figure 4: A portion of the combined Collatz graph. 9

a graph which has the positive Collatz graph as an identifiable subgraph, assuming that the Collatz Conjecture is true. Moreover, note that the construction of the combined Collatz graph is in some sense, fundamentally different from the construction of either the positive Collatz graph or the negative Collatz graph. The insight of looking at both the positive Collatz graph and the negative Collatz graph was gained only through the study of the analogous problem in Z 2 [x]. 4 Acknowledgments We would like to thank Doug Shaw and David Duncan for reading over a preliminary draft of this manuscript and making several helpful comments. We would also like to thank the anonymous referee for his or her comments as well. References [] K. Hicks, G. L. Mullen, J. L. Yucas, and R. Zavislak, A polynomial analogue of the 3n + problem. Amer. Math. Monthly 5 (2008), 65 622. [2] J. C. Lagarias, The 3x + problem and its generalizations. Amer. Math. Monthly 92 (985), 3 23. [3] The ARI Group, Bordeaux. ARI/G, version 2.3.2, 2005. available from http://pari.math.u-bordeaux.fr/. 2000 Mathematics Subject Classification: rimary T55; Secondary B25. Keywords: Collatz conjecture, polynomial analogue (Concerned with sequence A0664.) Received May 22 2008; revised version received October 3 2008. ublished in Journal of Integer Sequences, November 6 2008. Return to Journal of Integer Sequences home page. 0