The Pointless Machine and Escape of the Clones



Similar documents
Math 115 Spring 2011 Written Homework 5 Solutions

Math 55: Discrete Mathematics

SOLUTIONS FOR PROBLEM SET 2

INTERSECTION MATH And more! James Tanton

Mathematical Induction

Homework until Test #2

Decimals Adding and Subtracting

IB Maths SL Sequence and Series Practice Problems Mr. W Name

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Continued Fractions and the Euclidean Algorithm

Math Workshop October 2010 Fractions and Repeating Decimals

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison


Just the Factors, Ma am

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

MATH 289 PROBLEM SET 4: NUMBER THEORY

Handout #1: Mathematical Reasoning

Sample Induction Proofs

4/1/2017. PS. Sequences and Series FROM 9.2 AND 9.3 IN THE BOOK AS WELL AS FROM OTHER SOURCES. TODAY IS NATIONAL MANATEE APPRECIATION DAY

PYTHAGOREAN TRIPLES KEITH CONRAD

Chapter 17. Orthogonal Matrices and Symmetries of Space

Math 3000 Section 003 Intro to Abstract Math Homework 2

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

Math 319 Problem Set #3 Solution 21 February 2002

Lesson Plan. N.RN.3: Use properties of rational and irrational numbers.

Playing with Numbers

Pigeonhole Principle Solutions

Session 6 Number Theory

WHERE DOES THE 10% CONDITION COME FROM?

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

CS 103X: Discrete Structures Homework Assignment 3 Solutions

RECURSIVE ENUMERATION OF PYTHAGOREAN TRIPLES

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

1 if 1 x 0 1 if 0 x 1

3. Mathematical Induction

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Chapter 4 -- Decimals

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

Polynomial and Rational Functions

Kenken For Teachers. Tom Davis June 27, Abstract

6.4 Normal Distribution

VISUAL ALGEBRA FOR COLLEGE STUDENTS. Laurie J. Burton Western Oregon University

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

Sequence of Numbers. Mun Chou, Fong QED Education Scientific Malaysia

Regular Languages and Finite Automata

Integers (pages )

Grade 6 Mathematics Performance Level Descriptors

Lecture 13 - Basic Number Theory.

The last three chapters introduced three major proof techniques: direct,

EQUATIONS and INEQUALITIES

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

FACTORS AND MULTIPLES Answer Key

Basic Formulas in Excel. Why use cell names in formulas instead of actual numbers?

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

8 Divisibility and prime numbers

1 Description of The Simpletron

Grade 6 Math Circles. Binary and Beyond

MATH Fundamental Mathematics IV

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

POLYNOMIAL FUNCTIONS

Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem.

k, then n = p2α 1 1 pα k

Graph Theory Problems and Solutions

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Examination paper for MA0301 Elementær diskret matematikk

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

Answer Key for California State Standards: Algebra I

Chapter 31 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M.

26 Integers: Multiplication, Division, and Order

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

4. How many integers between 2004 and 4002 are perfect squares?

Class One: Degree Sequences

Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A3d,e Time allotted for this Lesson: 4 Hours

Chapter 4. Polynomial and Rational Functions. 4.1 Polynomial Functions and Their Graphs

Notes on Factoring. MA 206 Kurt Bryan

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Integer Operations. Overview. Grade 7 Mathematics, Quarter 1, Unit 1.1. Number of Instructional Days: 15 (1 day = 45 minutes) Essential Questions

Normal distribution. ) 2 /2σ. 2π σ

7 th Grade Integer Arithmetic 7-Day Unit Plan by Brian M. Fischer Lackawanna Middle/High School

Basic Proof Techniques

LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton

n 2 + 4n + 3. The answer in decimal form (for the Blitz): 0, 75. Solution. (n + 1)(n + 3) = n lim m 2 1

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

of Nebraska - Lincoln

1 Solving LPs: The Simplex Algorithm of George Dantzig

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS

MATH10040 Chapter 2: Prime and relatively prime numbers

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Mathematics of Sudoku I

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

Computational Geometry. Lecture 1: Introduction and Convex Hulls

Math 312 Homework 1 Solutions

Magic squares with a given total. Challenging Magic Squares for Magicians

MATHEMATICS. Y5 Multiplication and Division 5330 Square numbers, prime numbers, factors and multiples. Equipment. MathSphere

Applications of Fermat s Little Theorem and Congruences

Transcription:

MATH 64091 Jenya Soprunova, KSU The Pointless Machine and Escape of the Clones The Pointless Machine that operates on ordered pairs of positive integers (a, b) has three modes: In Mode 1 the machine adds 1 to both coordinates, e.g, (3, 17) produces (4, 18). In Mode 2, the machine takes pairs of even numbers and divides both coordinates by 2, e.g, (6, 14) produces (3, 7). In Advanced Mode the machine takes two pairs of numbers (a, b) and (b, c) and glues them together to produce (a, c), e.g., (3, 5) and (5, 7) produce (3, 7). The machine remembers and can use any of the pairs that have been previously produced or input into the machine. Exercise 1. Initially, (3,17) is available to the Pointless Machine. Can you produce the following pairs using the machine? (a) (87,100) This is easy, we just need to apply Mode 1 eighty four times. (b) (20,27) For this, we apply Mode 1 to get(4,18), then apply Mode 2 to get (2,9) and then finally apply Mode 1 eighteen times. (c) (1,8) We already know how to get (2,9). Applying Mode 1 seven times we will get (9,16). Now we use the Advanced Mode and obtain (2,16) from (2,9) and (9,16). Finally, applying Mode 2 to (2,16) we obtain (1,8). (d) (7,13) To show that this one is impossible to obtain we observe that in the initial pair we have 17 3 = 14, which is divisible by 7. Now, if the machine can only use pairs with the difference divisible by 7, it will only produce pairs with the same property. We need to check that this is true for each of the three modes. In Mode 1 we have (a, b) (a + 1, b + 1). If 7 b a then we also have 7 ((b + 1) (a + 1)), since this difference equals (a b). In Mode 2, (2a, 2b) (a, b) and 7 (2a 2b) = 2(a b) implies that 7 (a b). Finally, in the Advanced Mode (a, b) and (b, c) produce (a, c). If we have that 7 b a and 7 (c b), we also have 7 (c a) since c a = (c b) (b a). Exercise 2. Prove that the Pointless Machine always preserves any odd divisor of the difference of the starting pair and that if a < b in the starting pair (a, b) then same is true about all the pairs produced. The argument here is exactly the same as in the exercise above, we only need to replace 7 with an odd divisor d. To explain the second statement we need again to check that all three modes preserve the inequality. Exercise 3. Described all the pairs that can be produced from the pair (3, 17).

2 Let s show that we can produce all the pairs of positive integers (a, b) such that a < b and 7 (b a). From the previous problem we know that all the produced pairs would have to satisfy these properties. It remains to show that all pairs (a, b) such that a < b and 7 (b a) can be produced. Since 7 (b a) and a < b we have b a = 7k for some positive integer k, that is, (a, b) = (a, a + 7k). We want to provide an explicit algorithm of how to obtain a pair (a, a + 7k) where k and a are positive integers. From Exercise 1 we know how to produce (1, 8). Next applying Mode 1 multiple times we can produce (8, 15), (15, 22),..., (7k 6, 7k+1). Now using Advanced mode we can glue these pairs together to produce (1, 7k + 1). Finally, applying Mode 1 (a 1) times we produce (a, a + 7k). Recall the Escape of Clones game. The first quadrant is divided into unit squares by horizontal and vertical lines at the positive integers. Three clones are placed in the shape of an L-tromino in the bottom left-most squares. At each step you can erase a clone and replace it with two copies in two adjacent squares, one directly above and the other directly to the right, as long as those squares are currently unoccupied. Let s recall how we showed in class that it is impossible to free all the clones from the L-tromino prison. We label each square with a pair of integers starting with (0, 0). That is, the L- tromino prison consists of the three squares (0, 0), (1, 0), and (0, 1). We would like to assign a number to each of the squares so that the sum of numbers assigned to the squares occupied by clones does not change as the clones move. Let s start with assigning 1 to the square (0, 0). A clone at (0, 0) may split in two and move to (1, 0) and (0, 1), so it makes sense to assign 1/2 to each of those squares. Next, we want to assign 1/4 to the squares (2, 0), (1, 1), (0, 2). Continuing in this fashion, we assign 1/2 a+b to every square (a, b). Exercise 4. Assign 1/2 a+b to every square (a, b) in the first quadrant. Show that when a move is applied to a clone anywhere, the sum of numbers assigned to occupied squares before and after the move are equal. Let us assume that the clone was initially at the square (a, b). Then after the move we have two clones at the positions (a + 1, b) and (a, b + 1). The sum of numbers before the move is 1/2 a+b, and after the move it is 1/2 a+b+1 + 1/2 a+b+1, which is the same as 1/2 a+b. Exercise 5. Show that all the clones clones cannot escape from an L-tromino prison. That is, we want to show that if in the beginning in the game we have 3 clones positioned at the squares (0, 0), (1, 0), and (0, 1), then after a sequence of moves we cannot end up with a configuration where no clones occupy any of those three positions. The sum of numbers assigned to the squares in the beginning of the game is 1 + 1/2 + 1/2 = 2. Hence we should have the same sum at the end of the game. Let s compute the sum of all the numbers assigned to the squares in the quadrant. We will do this row by row.

3 The sum in the first row is 1 + 1 2 + 1 4 + = 1 1 1/2 = 2. The sum in the second row is one half of the sum in the first row, the sum in third one is one have of the second, and so on. Hence the overall sum is 2 + 1 + 1 2 + 1 4 + = 4. and the sum of all the numbers outside of the L-tromino jail is 4-2=2. If it were possible to free all the clones, they would end up on finitely many squares outside the jail, so the sum of the occupied squares after the game would be strictly less than 2, which would not match the initial sum of 2 and therefore it s impossible to free the clones.

4 Homework Problems Problem 1. Initially (3, 18) was available to the Pointless Machine. Describe all the pairs that can be produced by the machine. In your write-up follow the plan: 1) Give a description of all the pairs that can be produced. 2) Show that any pair produced by the machine has to satisfy your description. 3) Show that any pair that satisfies your description can be produced by the machine. The Even More Pointless Machine operates on ordered pairs of positive integers (a, b) and has three modes: In Mode 1 the machine adds 1 to both coordinates, e.g, (3, 17) produces (4, 18). In Mode 2, the machine takes pairs of numbers that are divisible by 3 and divides both coordinates by 3, e.g, (6, 18) produces (2, 6). In Advanced Mode the machine takes two pairs of numbers (a, b) and (b, c) and glues them together to produce (a, c), e.g., (3, 5) and (5, 7) produce (3, 7). The machine remembers and can use any of the pairs that have been previously produced or input into the machine. Problem 2. If initially (4, 19) was available to the The Even More Pointless Machine, can it produce (a) (22, 27) (b) (6, 26) (c) (3, 17) Problem 3. Describe all the pairs the The Even More Pointless Machine can produce if the starting configuration is (4, 19). Follow the plan from Problem 1. Prove all your assertions. The Simple Pointless Machine operates on positive integers (NOT pairs of integers, just integers) and has only two modes. In Mode 1 the machine adds 3 to the number, e.g., 3 produces 6. In Mode 2, the machine takes even numbers and divides them by 2, e.g., 8 produces 4. The machine remembers and can use any of the numbers that have been previously produced or input into the machine. Problem 4. If initially 17 was available to the Simple Pointless Machine, describe all the numbers that it can produce. Problem 5. If initially a positive integer a was available to the Simple Pointless Machine, describe all the numbers that it can produce. Problem 6. Show that for any r 1 we have 1 + r + r 2 + + r n = rn+1 1 r 1. Show that if r < 1 then for the sum of the infinite series we have Memorize both formulas. 1 + r + r 2 + r 3 + = 1 1 r.

Problem 7. A single clone is placed in the bottom left-most square. The prison encloses the following 10 squares: four leftmost squares in row one, three leftmost squares in row two, two leftmost squares in row three, and, finally, one leftmost square in row 4. Show that there will always be at least one clone in the prison. Hint: Your solution will be very similar to the one we did in class. Problem 8. A single clone is placed in the bottom left-most square. The prison encloses the following 6 squares: three leftmost squares in row one, two leftmost squares in row two, and one leftmost squares in row three. Show that there will always be at least one clone in the prison. Hint: This is similar to the previous problem, but you will have to make an observation that there is at most one clone in row 1 and at most one clone in column 1 (why?). Project Idea: Read a paper by Chung, Graham, Morrison, and Odlyzko in 1995 Monthly at www.math.ucsd.edu/ ronspubs/95 03 pebbling.pdf. Starting with one clone in the leftmost bottom square the paper describes all the inescapable prison shapes. 5