Zeroing the baseball indicator and the chirality of triples

Similar documents
Notes on Systems of Linear Congruences

Upper Bounds for Stern s Diatomic Sequence and Related Sequences

0 Sets and Induction. Sets

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

THE JACOBI SYMBOL AND A METHOD OF EISENSTEIN FOR CALCULATING IT

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

PROBLEM SET 1 SOLUTIONS 1287 = , 403 = , 78 = 13 6.

SOME GENERAL RESULTS AND OPEN QUESTIONS ON PALINTIPLE NUMBERS

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

The first property listed above is an incredibly useful tool in divisibility problems. We ll prove that it holds below.

A Division Algorithm Approach to p-adic Sylvester Expansions

Integer Sequences Avoiding Prime Pairwise Sums

Exploring Lucas s Theorem. Abstract: Lucas s Theorem is used to express the remainder of the binomial coefficient of any two

Finding Complex Solutions of Quadratic Equations

A SURVEY OF PRIMALITY TESTS

The primitive root theorem

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

Lecture 6 January 15, 2014

HASSE INVARIANTS FOR THE CLAUSEN ELLIPTIC CURVES

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

School of Business. Blank Page

CS280, Spring 2004: Prelim Solutions

Egyptian Fractions: Part II

Determinants of generalized binary band matrices

Chapter 1. Introduction to prime number theory. 1.1 The Prime Number Theorem

Genetic Algorithms applied to Problems of Forbidden Configurations

Number Theory Proof Portfolio

Math 3450 Homework Solutions

x y B =. v u Note that the determinant of B is xu + yv = 1. Thus B is invertible, with inverse u y v x On the other hand, d BA = va + ub 2

RED. Name: Math 290 Fall 2016 Sample Exam 3

Quadratic reciprocity and the Jacobi symbol Stephen McAdam Department of Mathematics University of Texas at Austin

Solving Systems of Linear Equations Symbolically

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

Homework 7 Solutions to Selected Problems

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

MATH 361: NUMBER THEORY FOURTH LECTURE

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Representation theory of SU(2), density operators, purification Michael Walter, University of Amsterdam

ALGEBRA I (LECTURE NOTES 2017/2018) LECTURE 9 - CYCLIC GROUPS AND EULER S FUNCTION

Objective Type Questions

1 Structure of Finite Fields

Optimal Routing in Chord

PRIME NUMBERS YANKI LEKILI

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

CHAPTER 5. Linear Operators, Span, Linear Independence, Basis Sets, and Dimension

THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES

The Chinese Remainder Theorem

Math 229: Introduction to Analytic Number Theory Elementary approaches I: Variations on a theme of Euclid

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

Notes on Primitive Roots Dan Klain

IMVI ISSN (p) , ISSN Open Mathematical Education Notes Vol. 3 (2013), / JOURNALS / IMVI OMEN

7. Prime Numbers Part VI of PJE

5: The Integers (An introduction to Number Theory)

New Constructions of Sonar Sequences

May 6, Be sure to write your name on your bluebook. Use a separate page (or pages) for each problem. Show all of your work.

Module 9: Further Numbers and Equations. Numbers and Indices. The aim of this lesson is to enable you to: work with rational and irrational numbers

Groups of Prime Power Order with Derived Subgroup of Prime Order

The running time of Euclid s algorithm

On zero-sum partitions and anti-magic trees

ON THE ORDERS OF AUTOMORPHISM GROUPS OF FINITE GROUPS

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

The group (Z/nZ) February 17, In these notes we figure out the structure of the unit group (Z/nZ) where n > 1 is an integer.

Fast inverse for big numbers: Picarte s iteration

PRACTICE PROBLEMS: SET 1

Section I.6. Symmetric, Alternating, and Dihedral Groups

Mathematics for Cryptography

Twists of elliptic curves of rank at least four

Balanced subgroups of the multiplicative group

On the Largest Integer that is not a Sum of Distinct Positive nth Powers

The Symmetric Groups

PILLAI S CONJECTURE REVISITED

STRONG NORMALITY AND GENERALIZED COPELAND ERDŐS NUMBERS

Chaos and Dynamical Systems

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

The Impossibility of Certain Types of Carmichael Numbers

REPRESENTATION THEORY OF S n

THE BALANCED DECOMPOSITION NUMBER AND VERTEX CONNECTIVITY

Wednesday, February 21. Today we will begin Course Notes Chapter 5 (Number Theory).

A Generating-Function Approach for Reciprocity Formulae of Dedekind-like Sums

Theory of Numbers Problems

COUNTING NUMERICAL SEMIGROUPS BY GENUS AND SOME CASES OF A QUESTION OF WILF

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

FAREY-PELL SEQUENCE, APPROXIMATION TO IRRATIONALS AND HURWITZ S INEQUALITY (COMMUNICATED BY TOUFIK MANSOUR)

congruences Shanghai, July 2013 Simple proofs of Ramanujan s partition congruences Michael D. Hirschhorn

SPECIAL CASES OF THE CLASS NUMBER FORMULA

A Review Study on Presentation of Positive Integers as Sum of Squares

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

Polynomials Characterizing Hyper b-ary Representations

IF A PRIME DIVIDES A PRODUCT... ζ(s) = n s. ; p s

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. 3.4: Proof by Cases

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

Review for Exam 2/Solutions

On Worley s theorem in Diophantine approximations

Modular Arithmetic Instructor: Marizza Bailey Name:

Math 110 HW 3 solutions

On the Permutation Products of Manifolds

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

1 Caveats of Parallel Algorithms

Transcription:

1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 7 (2004), Article 04.1.7 Zeroing the aseall indicator and the chirality of triples Christopher S. Simons and Marcus Wright Department of Mathematics Rowan University Glassoro, New Jersey 08028 USA simons@rowan.edu wright@rowan.edu Astract Starting with a common aseall umpire indicator, we consider the zeroing numer for two-wheel indicators with states (a, ) and three-wheel indicators with states (a,, c). Elementary numer theory yields formulae for the zeroing numer. The solution in the three-wheel case involves a curiously nontrivial minimization prolem whose solution determines the chirality of the ordered triple (a,, c) of pairwise relatively prime numers. We prove that chirality is in fact an invariant of the unordered triple {a,, c}. We also show that the chirality of Fionacci triples alternates etween 1 and 2. 1. Introduction A standard three-wheel aseall umpire indicator consists of a first wheel (for strikes) with 4 cyclic states (0, 1, 2, 3), a second wheel (for alls) with 5 cyclic states (0, 1, 2, 3, 4), and a third wheel (for outs) with 4 cyclic states (0, 1, 2, 3). The daughter of the second author asked what is the least numer of clicks required, if one alternates etween advancing the strike wheel and the all wheel one click cyclically, to return these two wheels to their original states. We call this the (two-wheel) zeroing numer. After her father gave her the wrong answer of 2lcm(4, 5) = 40, she asked why the correct answer was in fact 31. With a total of 40 clicks oth wheels advance 20 times, and since 20 0 (mod 4) and 20 0 (mod 5) oth wheels are returned to their original state. However we can do etter. A total of 31 clicks advances the strike wheel 16 times and advances the all wheel only 15 times. Since 16 0 (mod 4) and 15 0 (mod 5) oth wheels are therefore zeroed. The zeroing numer is 31, as 31 is the minimal such numer. However if instead one starts with alls and then moves onto strikes, one finds that a total of only 9 clicks are required to zero the indicator. 1

2 We note that zeroing numer does depend on the ordering of the wheels and that the the sum of these two zeroing numers gives the incorrect solution: 31 + 9 = 40. Using elementary numer theory we find a complete solution for the general two-wheel indicator with cyclic states a, 2. The prolem of the general three-wheel indicator, with cyclic states a,, c 2, yields a much more interesting result. In oth cases all wheels should have at least 2 cyclic states, since otherwise we would have wheels that could not e clicked. For the three-wheel indicator, when a,, c are not pairwise relatively prime a satisfactory solution is easily otained. However when they are pairwise relatively prime the solution involves a nontrivial minimization prolem. Of interest is whether the zeroing numer modulo 3 is 1 (so that the final click is on the first wheel) or 2 (so that the final click is on the second wheel). We call this numer the chirality of the triple (a,, c). While the zeroing numer is highly dependent on the ordering of the wheels, we prove that the chirality does not depend on the ordering and is an invariant of the unordered triple {a,, c}. The chirality is a mysterious quantity demonstrating many interesting patterns. We prove one of these for the Fionacci sequence, ut we still seek more general explanations. 2. Two wheels If we let n e the numer of times the first wheel is advanced, then in order to otain the zeroing numer for two wheels with a and states we must find the minimum positive solution of or of n 0 (mod a) n 0 (mod ) n 0 (mod a) n 1 0 (mod ) depending on whether we stop after moving the second or first wheel. equations implies that n = lcm(a, ). The second implies n = ak ak = 1 (mod ) The first set of for the smallest positive numer k <. So n = aa 1 where a 1 is the multiplicative inverse of a in Z. Only when a and are relatively prime does the second system have solutions and then it provides the zeroing numer. In general, the zeroing numer is { 2lcm(a, ), if gcd(a, ) 1; f(a, ) = 2aa 1 (1) 1, if gcd(a, ) = 1. When a and are relatively prime the zeroing of the wheels first occurs when the final move is on the first wheel, as the second quantity aove is oviously smaller than the first. In fact, there is the following statement aout how much smaller it is. Theorem 2.1. If a and are relatively prime then f(a, ) + f(, a) = 2a

3 or equivalently aa 1 + 1 a 1 = a. Proof. After f(a, ) advances the (a, )-indicator has een zeroed for the first time. If one continues advancing the wheels, starting with the -wheel, zeroing will first occur after another f(, a) advances. Thus the sum represents the smallest numer of advances zeroing oth wheels in which they are oth advanced an equal numer of times. We note that lcm(a, ) = a since a, are relatively prime. As an aside we remark that if a and are relatively prime we have f(a, ) f(, a)! Otherwise y Theorem 2.1 f(a, ) = a and y Equation (1) f(a, ) = 2aa 1 1. The first is a multiple of a, while the second is not. We can make explicit machine computations using Mathematica [3], y using the Euler phi function [1, 2] when gcd(a, ) = 1: a 1 a φ() 1 (mod ). 3. Three wheels The case of 3 or more wheels can e treated similarly, ut now the minimization prolem ecomes nontrivial. Again let n e the numer of times the first wheel is advanced. If all three wheels are advanced the same numer of times, we must solve Therefore a total of n 0 (mod a), n 0 (mod ), n 0 (mod c). f 0 (a,, c) = 3lcm(a,, c) advances are necessary. The other possile solutions involve unequal numers of advances with one or two of the wheels advanced one less than the first. If the final move is on the first wheel then we must solve n 0 (mod a), n 1 0 (mod ), n 1 0 (mod c). Therefore a total of f 1 (a,, c) = 3aa 1 lcm(,c) 2 (2) advances are necessary. If the final move is on the second wheel then we must solve Therefore a total of advances are necessary. n 0 (mod a), n 0 (mod ), n 1 0 (mod c). f 2 (a,, c) = 3lcm(a, )lcm(a, ) 1 c 1 (3)

4 (a,, c) f 1 (a,, c) f 2 (a,, c) f(a,, c) χ(a,, c) (2, 3, 5) 46 17 17 2 (3, 5, 2) 61 44 44 2 (5, 2, 3) 73 29 29 2 (2, 5, 3) 46 29 29 2 (3, 2, 5) 61 17 17 2 (5, 3, 2) 73 44 44 2 Tale 1. Some numerical data We conclude that the zeroing numer is 3lcm(a,, c), Case 0; f(a,, c) = min 3aa 1 lcm(,c) 2, Case 1; (4) 3lcm(a, )lcm(a, ) 1 c 1, Case 2 where the minimization takes place over all existing cases. Clearly f 0 (a,, c) is always defined, ut is larger than either of the two remaining cases (if they exist). So this minimization prolem is nontrivial only when oth f 1 (a,, c) and f 2 (a,, c) are defined. For Case 1 to exist means that a and lcm(, c) are relatively prime. For Case 2 to exist means that lcm(a, ) and c are relatively prime. Taken together, this means that only when a,, c are pairwise relatively prime is the minimization nontrivial. As a source of examples we provide some numerical data in Tale 1. 4. Chirality In chemistry a molecule is said to e chiral if it is not superimposale on its mirror image. Therefore such a molecule has two distinct chiralities, left and right handedness. However in the following definition it is more natural to denote these chiralities y 1 and 2. Definition 4.1. The chirality of an ordered triple of pairwise relatively prime natural numers 2 is the triple s zeroing numer modulo 3. We write χ(a,, c) = f(a,, c) mod 3. We note that the chirality of such a triple will always e 1 or 2. The chirality therefore corresponds to the case numer from Section 3 that provides the zeroing numer. Theorem 4.1. The chirality of the ordered triple (a,, c) (of pairwise relatively prime natural numers 2) is invariant under any permutation of the triple. It is thus an invariant of the set {a,, c}. Recalling the origins of the prolem, it can e said that the chirality depends on the team, not on the lineup! In order to prove the theorem we make use of some umpire indicator identities which are valid whenever f 1 and f 2 are defined on the given arguments. Lemma 4.1. f 1 (a,, c) + f 1 (, c, a) + f 1 (c, a, ) = 3lcm(a,, c)k 1 (5) f 2 (a,, c) + f 2 (c, a, ) + f 2 (, c, a) = 3lcm(a,, c)k 2 (6) f 2 (a,, c) + f 1 (c, a, ) = 3lcm(a,, c) (7)

5 where k 1, k 2 {1, 2} Proof. By following the advances on a three-wheel aseall umpire indicator, the left hand sides of all three identities are easily seen to e multiples of 3lcm(a,, c). And since f 1 and f 2 are always strictly less than 3lcm(a,, c) the multiples must e as indicated. We now proceed to prove the theorem, so we assume that a,, c are pairwise relatively prime numers 2. We note then that lcm(a,, c) = ac. Adding equations (5) and (6) we get f 2 (a,, c) + f 2 (c, a, ) + f 2 (, c, a)+ f 1 (a,, c) + f 1 (, c, a) + f 1 (c,, a) = 3ac(k 1 + k 2 ). Applying the following three identities of the form of Equation (7) f 2 (a,, c) + f 1 (c, a, ) = 3ac f 2 (c, a, ) + f 1 (, c, a) = 3ac (8) f 2 (, c, a) + f 1 (a,, c) = 3ac we find that 3ac(k 1 + k 2 ) = 9ac, so k 1 + k 2 = 3 and {k 1, k 2 } = {1, 2}. If k 1 = 1 then when we sutract Equation (7) from Equation (5) we get f 1 (a,, c) + f 1 (, c, a) f 2 (a,, c) = 0. Therefore f 2 (a,, c) > f 1 (a,, c). So we get chirality 1. Similarly if k 2 = 1 we get chirality 2. It follows that chirality 1 is equivalent to k 1 = 1 (and k 2 = 2), while chirality 2 is equivalent to k 1 = 2 (and k 2 = 1). We also note that χ(a,, c) = f 1(a,, c) + f 1 (, c, a) + f 1 (c,, a). (9) 3lcm(a,, c) Looking at Equation (9) we see that cyclic permutations of the triple do not change the chirality! As an aside we note that we now have a three-wheel analog to Theorem 2.1: f(a,, c) + f(, c, a) + f(c, a, ) = 3ac We must now prove that chirality is invariant under transposition of two wheels of the triple. Due to the invariance under cyclic permutations, all such transpositions are equivalent, so it suffices to check just one such transposition. We start with the three identities in Equation (8). Switching the second and third arguments of f 1 preserves the identities. So we have: Summing these three identities we get Using Equation (6) we find f 2 (a,, c) + f 1 (c,, a) = 3ac f 2 (c, a, ) + f 1 (, a, c) = 3ac f 2 (, c, a) + f 1 (a, c, ) = 3ac f 2 (a,, c) + f 2 (c, a, ) + f 2 (, c, a)+ f 1 (a, c, ) + f 1 (c,, a) + f 1 (, a, c) = 9ac. 3ack 2 + f 1 (a, c, ) + f 1 (c,, a) + f 1 (, a, c) = 9ac

6 which along with k 1 + k 2 = 3 implies that f 1 (a, c, ) + f 1 (c,, a) + f 1 (, a, c) = 3ack 1. Applying Equation (9) we see that χ(a, c, ) = k 1 = χ(a,, c) and we have proven Theorem 4.1. 5. Fionacci triples Looking at the data for the three-wheel umpire indicator one notices many intriguing patterns for the chirality of a triple of pairwise relatively prime numers 2. It is difficult to analyze the data in general since one is dealing with a 3-dimentional array, where even the existence of chirality depends on the distriution of primes. As an example we investigate one such pattern in detail. Let F n e the n-th Fionacci numer, where F 0 = 0, F 1 = 1, and F n+1 = F n + F n 1. Chirality is defined for {F n, F n+1, F n+2 } whenever n 3. Using Equation (4) we found, using Mathematica [3] that χ(2, 3, 5) = 2, χ(3, 5, 8) = 1, χ(5, 8, 13) = 2, χ(8, 13, 21) = 1,.... We conjectured that this sequence continues to alternate, and then we proved: Theorem 5.1. For n 3 χ(f n, F n+1, F n+2 ) = { 1, if n is even; 2, if n is odd. In order to prove this theorem we use the following Fionacci identities: Lemma 5.1 (Fionacci identities). F 2 n+1 F n F n+2 = ( 1) n F n+1 F n+2 F n F n+3 = ( 1) n Proof. The first identity is easily proven y induction. It is a standard exercise in elementary numer theory courses. The second identity can proven using a similar induction. However we note that it is just a reformulation of the first identity: F n+1 F n+2 F n F n+3 = F n+1 F n+2 F n F n+2 F n F n+1 = F n+1 (F n+2 F n ) F n F n+2 = Fn+1 2 F n F n+2 = ( 1) n. We now prove the theorem itself. First we assume that n is odd. We then must show that χ(f n, F n+1, F n+2 ) = 2, ut y the invariance of chirality this is equivalent to showing that χ(f n, F n+2, F n+1 ) = 2. From Equation (2) f 1 (F n, F n+2, F n+1 ) = 3F n F n 1 F n+2 F n+1 2 But y the second Fionacci identity F n F n+3 1 (mod F n+2 F n+1 ), therefore f 1 (F n, F n+2, F n+1 ) = 3F n F n+3 2 (10)

From Equation (3) f 2 (F n, F n+2, F n+1 ) = 3F n F n+2 (F n F n+2 ) 1 F n+1 1 But y the first Fionacci identity F n F n+2 1 (mod F n+1 ), therefore f 2 (F n, F n+2, F n+1 ) = 3F n F n+2 1. (11) Comparing Equation (10) and Equation (11) we find that f 2 is smaller and therefore, when n is odd, χ(f n, F n+1, F n+2 ) = 2 as desired. We now assume that n is even. We must show that χ(f n, F n+1, F n+2 ) = 1, ut y the invariance of chirality this is equivalent to showing that χ(f n+1, F n+2, F n ) = 1. From Equation (2) f 1 (F n+1, F n+2, F n ) = 3F n+1 F n+1 1 F n+2 F n 2 But y the first Fionacci identity F n+1 F n+1 1 (mod F n+2 F n ), therefore From Equation (3) f 1 (F n+1, F n+2, F n ) = 3F n+1 F n+1 2 (12) f 2 (F n+1, F n+2, F n ) = 3F n+1 F n+2 (F n+1 F n+2 ) 1 F n 1 But y the second Fionacci identity F n+1 F n+2 1 (mod F n ), therefore f 2 (F n+1, F n+2, F n ) = 3F n+1 F n+2 1. (13) Comparing Equation (12) and Equation (13) we find that f 1 is smaller and therefore, when n is even, χ(f n, F n+1, F n+2 ) = 1 as desired. This completes the proof of Theorem 5.1. Note that we have also proven: Theorem 5.2. If n is odd If n is even f(f n, F n+2, F n+1 ) = 3F n F n+2 1. f(f n+1, F n+2, F n ) = 3F 2 n+1 2. The order of the arguments of f is crucial, since while chirality is an invariant of unordered triples, the zeroing numer is not. References [1] David Bressoud and Stan Wagon. A Course in Computational Numer Theory. Key College Pulishing, 2000. [2] G. H. Hardy and E.M. Wright. An Introduction to the Theory of Numers. Oxford University Press, fifth edition, 1979. [3] Wolfram Research. Mathematica. Wolfram Research, fourth edition, 1999. 7 2000 Mathematics Suject Classification: Primary 11A99; Secondary 11B39, 11B50. Keywords: chirality, Fionacci sequence, minimization.

8 Received August 20 2003; revised version received Feruary 26, 2004. Pulished in Journal of Integer Sequences, March 12 2004. Return to Journal of Integer Sequences home page.