Hexagons and the Chinese Remainder Theorem Christine McMeekin March 2017

Abstract Consider the hexagonal arrangement of circles in the painting above. There is a puzzle [4] dating back to Aristotle where the goal is to fill the 19 circles with distinct integers between 1 and 19 such that every row adds to 38. I encrypted the solution to this puzzle in a painting via the Chinese Remainder Theorem using color, shade, and texture. The goal is to decrypt the painting to find the solution to the puzzle. Exercises for students learning elementary number theory are included.

1

The Original Puzzle

For Christmas 2015, in my stocking was a puzzle [4] that my parents had gotten for me. The puzzle consisted of 19 small hexagons numbered 1,...,19 and the goal was to arrange these into a larger hexagonal arrangement such that every row adds up to 38. Below is an image of the larger hexagonal arrangement with three of the rows indicated with lines. 1

Note that in each of three directions, there are five rows; two of length 3, two of length 4, and one of length 5, for a total of 15 rows. While I was looking for a more elegant solution, I did solve the puzzle using some programming and a little linear algebra. My solution was similar to the solution given in this blog [3] about the puzzle which I later found. Meanwhile I had been painting1 quite a lot and trying to explain the Chinese Remainder Theorem to some of my friends and I realized that I could transform this puzzle into another puzzle which does have an elegant solution. The puzzle I transformed it into is intended for students learning elementary number theory. The idea is that we can use the Chinese Remainder Theorem to uniquely encode the integers 1,...,19 in a painting using color, texture, and shade. The new puzzle is to decode the painting which reveals the solution to the original hexagon puzzle. Next I will give a brief introduction to the Chinese Remainder Theorem in Section 2, then I will explain the details of the encryption in the painting in Section 3. Finally, I end with some exercises accessible to students learning elementary number theory.

2

Introduction to the Chinese Remainder Theorem

To understand the statement of the Chinese Remainder Theorem, one must first understand modular arithmetic, which one could think of as a generalization of the concept of even and odd. When the modulus is 2, an integer n is said to 0 mod 2 exactly when n is even, and 1 mod 2 exactly when it is odd. That is, n is 0 mod 2 when n is 0 plus a multiple of 2, and 1 mod 2 if n is 1 plus a multiple of 2. More generally, an integer n is said to be congruent to r mod m whenever n = r + km for some integer k. We write n≡r

mod m.

For example, multiples of m are always 0 mod m, and 1, 6, 11, 16, 21, ... are examples of integers which are 1 mod 5. Given n and m, there always exists a unique integer 0 ≤ r ≤ m − 1 such that n ≡ r mod m. We call this value of r the least positive residue mod m. Taking the integers modulo m partitions the integers into m sets; the least positive residue is a canonical representative of that set. 1

Check out my art page! See [5].

2

Theorem 2.1 (The Chinese Remainder Theorem). If n1 ≡ r1 mod m1 and n2 ≡ r2 mod m2 and m1 and m2 are relatively prime, then there is a unique residue mod m1 m2 which satisfies both congruences simultaneously. For example, if we have a 1 digit number 0, ..., 9 and we know that it is 1 mod 5 and even (so 0 mod 2), that uniquely determines that the integer must be 6. If we didn’t know it was a one digit number, we would still know the integer must be 6 mod 10.

3

About the Painting

There are 5 different colors used in the painting (grey-scale, red, yellow, blue, and green) each corresponding to a residue modulo 5. Similarly there are 3 different shades of each color each corresponding to a residue mod 3 and there are 2 different textures each corresponding to a residue mod 2. Note that I chose 2, 3, and 5 as my moduli because these are the first three prime numbers, so they are automatically relatively prime and because their product is 30 which is greater than 19 so if we know we are only allowed to use integers 1,..,19 then knowing the residues mod 2, 3, and 5 uniquely determines the integer in question. That is, the texture, shade, and color of each circle in the painting uniquely determines the integer which goes in that circle by the Chinese Remainder Theorem. Below is a “map” of the painting.

Exercises The following exercises are intended for students learning elementary number theory. The last exercise is challenging; I proved the result myself and later discovered this website [2] where the solution is given along with some history of the problem. However, one should note that the solution given in [2] defines n slightly differently so a modification is needed. The first two involve the Chinese Remainder Theorem and the third is about divisibility of certain polynomials at integer values.

3

1. Determine which colors correspond to which residues mod 5, which shades correspond to which residues mod 3, and which textures correspond to which residues mod 2. For example, let rred denote the least positive residue corresponding to red. One of the rows of four is entirely red, which tells us that 4rred ≡ 38 because the row must add to 38. Note that 38 ≡ 3 mod 5 so 4rred ≡ 3 mod 5. Also observe that 4 × 4 = 16 ≡ 1 mod 5, so 4 is the inverse of 4 mod 5. Multiplying the equation 4rred ≡ 3 mod 5 by 4, we see that 16rred ≡ 12 mod 5, or rred ≡ 2 mod 5, so we’ve determined that the color red corresponds to the residue 2 mod 5. 2. Decrypt the painting to find the solution to the puzzle! 3. The original hexagon puzzle had one hexagon in the center and two rings of hexagons around it. Let n denote the number of rings around the center hexagon so for example, in the original puzzle, n = 2. The following depicts the first three cases; n = 1, n = 2, and n = 3 respectively.

(a) (Warm-Up) Let m denote the number of hexagons and let r denote the number of rows in the arrangement of hexagons determined by n rings around a center hexagon. For example, when n = 2 as in the original puzzle, then m = 19 and r = 15. Find formulas for m and r in terms of n. (b) (Conjecture) We say n has property ? if there exists an integer d such that we can fill in the m hexagons with integers 1,...,m such that every row adds up to d. For example, when n = 2, we saw that n = 2 satisfies property ? with d = 38. Make a conjecture for the set of n which satisfy property ?. (c) (Proof) Prove your conjecture.

References [1] Keith Conrad. The Chinese Remainder Theorem http://www.math.uconn.edu/ kconrad/blurbs/ugradnumthy/crt.pdf 4

[2] Weinstein, Eric W. Magic Hexagon from MathWorld– A Wolfram Web Resource. http://mathworld.wolfram.com/MagicHexagon.html [3] hwiechers. Solving Aristotle’s Number Puzzle. Blog. http://hwiechers.blogspot.com/2013/03/solving-artitotles-number-puzzle.html [4] Professor Puzzle. Great Minds Aristotle’s Number Puzzle. http://www.professorpuzzle.com/products/aristotles-number-puzzle/ [5] Christine McMeekin. Art. https://sites.google.com/a/cornell.edu/christine-mcmeekin/art

5

website version.pdf

... [4] that my parents had gotten for me. The puzzle consisted of 19 small hexagons numbered 1,...,19 and the goal was to arrange. these into a larger hexagonal arrangement such that every row adds up to 38. Below is an. image of the larger hexagonal arrangement with three of the rows indicated with lines. 1. Page 1 of 5 ...

1MB Sizes 0 Downloads 187 Views

Recommend Documents

Mining Website Log for Improvement of Website ...
Keywords—Web Personalization, Web Transformation, Website Design, .... based adaptive educational systems' Science Direct Computers & Education, Vol.

CILIP Website Refresh Project Instructions for Website Editors ...
All editing is performed on the actual website. There is no equivalent of the old mossauthor site. At the moment you can't save your webpage while you work on it ...

Website Brief - Template1
whitworths.com.au ... What key interactions and features will your website support? ... Multilingual to support clients in English, Simplified Chinese and Thai.

Website quote.pdf
... create a 'Website Design Prototype' and present this to. you. The Prototype will show you how we envisage the structure and layout of your website to be. The.

Website Marketing.pdf
Due is a free tool for marketers that offers a time-tracking app to assess how much time is spent. on each marketing project. This helps your organization budget ...

Visit My Website... - fouryoursucess.com
Mr. Micawber, one of those happy creations of the genial Dickens, puts the case in a ...... SEO Elite is the Daddy of all SEO software, helping you to get a.

Website flashcards - Carol Read
the procedure and names another flashcard. The game continues in the same way until all the flashcards on the blackboard have been named. 19. Flashcard ...

Website Audit.pdf
Typography – Most companies have a particular style and. size of a font (or ... you are and what you do, while aligning with the company's ... Website Audit.pdf.

Website flyer_revised.pdf
Page 1 of 3. HELP US BRING THEM TO AMERICA! They're known as Turkey's Forgotten Dogs. Upwards of 50,000. dogs are homeless and roaming the streets ...

Visit My Website... - fouryoursucess.com
PT Barnum - The Art of Money Getting. SEO Elite. Getting your website ranked high on the Search Engines can sometimes seem almost impossible. Until now.

Website Shipping Policy.pdf
Page 1 of 1. Website Shipping Policy.pdf. Website Shipping Policy.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Website Shipping Policy.pdf.

Website Ranking Bath.pdf
Page 1 of 60. Bohol Profile. Bohol. Basic Facts. Geographic Location Bohol is nestled securely at the heart of the Central. Visayas Region, between southeast of Cebu and southwest. of Leyte. Located centrally in the Philippine Archipelago, specifical

Website VYL games - Carol Read
Hopskotch: Play a simple version of this traditional children's game. Use chalk or ... names. Children with that name respond by exchanging places with another.

Website Asbestos Upload.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Website ...

website Centenarians Application.pdf
303.866.2696 FAX or via email to: [email protected]. Page 1 of 1. website Centenarians Application.pdf. website Centenarians Application.pdf. Open.

website creation pdf
Page 1 of 1. File: Website creation pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. website creation pdf. website ...

Maximizing Website Return on Investment:
helping site visitors to understand the company's products, services, or solutions, ... software can be worth thousands of dollars, it is essential that a website works .... 2 .5M/mo. 100K/mo. 5,000/mo. % web lead conversions to sales. 20%. 10%.

2014KLFProgramme (website).pdf
eminent critics, writers, and scholars. AUTHORS/MODERATORS/SPEAKERS. A.H. Nayyar. A.G. Noorani. Aamir R. Mufti. Aasim Sajjad Akhtar. Abbas Rashid. Abdul Wahab. Abdullah Hussain. Adeel Hashmi. Afzal Ahmed Syed. Ahfaz ur Rehman. Ajmal Siraj. Akbar Maso

for website Fifthlist.pdf
5 SHAILESH GAHA MAGAR Syangja Male 2073-831 1796 54 6 8 NEW. 6 RAMESH SHRESTHA Dhading Male 2073-8538 1837 53.643 1 2 7 8 NEW. 7 DEMAN SING THAPA Tanahun Male 2073-6563 1862 53.643 12 8 18 NEW. 8 SANDESH GYAWALI Kathmandu Male 2073-3825 1865 53.643 2

Evaluating a Website
On the supporting pages, is there a link back to the home page? Are the links clearly ... creator of the page, do you find additional information that shows the Web ...

website-apprentice lineman-2_10_16 - dgvcl
Sep 25, 2016 - 791. NTR-312 Patel Tejaskumar Dhirubhai. 66KV Vansda s/s. Navsari TR. SEBC. 792. NTR-313 Kapilkumar Fakirbhai Tandel. E& M S/Dn Vapi.

6-30-09 Website Posting
S.G. KRAUS CO. SHOP BOT TOOLS, INC. SIEMENS BUILDING TECHNOLOGIES, INC. SKOKIE SCHOOL DIST 68. SKOKIE SCHOOL DIST 69. SUE BARRETT.