On Modular Extensions to Nim

Size: px
Start display at page:

Download "On Modular Extensions to Nim"

Transcription

1 On Modular Extensions to Nim Karan Sarkar Mentor: Dr. Tanya Khovanova Fifth Annual Primes Conference 16 May 2015

2 An Instructive Example: Nim The Rules Take at least one token from some chosen pile. Player who takes last token wins.

3 An Instructive Example: Nim The Rules Take at least one token from some chosen pile. Player who takes last token wins.

4 An Instructive Example: Nim The Rules Take at least one token from some chosen pile. Player who takes last token wins.

5 An Instructive Example: Nim The Rules Take at least one token from some chosen pile. Player who takes last token wins.

6 An Instructive Example: Nim The Rules Take at least one token from some chosen pile. Player who takes last token wins.

7 Nim Positions Position Notation A position with piles of sizes a 1, a 2,..., a n is denoted as the ordered n-tuple: (a 1, a 2,..., a n ). Definition A P-position is a position that guarantees a loss given optimal play Definition An N-position is a position that guarantees a win given optimal play

8 The Winning Strategy for Nim Theorem (Bouton s Theorem) The position (a 1, a 2,..., a n ) is a P-position in Nim if and only if n a i = 0. i=1 Definition (Bitwise XOR) The symbol denotes the bitwise XOR operation. 1 Write both numbers in binary. 2 Add without carrying over.

9 m-modular Nim The Rules Take at least one token from some chosen pile or km tokens total. Player who takes last token wins.

10 An Example: 3-Modular Nim with 2 Piles

11 An Example: 3-Modular Nim with 2 Piles

12 An Example: 3-Modular Nim with 2 Piles

13 An Example: 3-Modular Nim with 2 Piles

14 An Example: 3-Modular Nim with 2 Piles

15 An Example: 3-Modular Nim with 2 Piles (0,0) (1,1) (2,2)

16 An Example: 3-Modular Nim with 2 Piles (0,0) (1,1) (2,2)

17 An Example: 3-Modular Nim with 2 Piles (0,0) (1,1) (2,2)

18 2 Heap m-modular Nim for Odd m Theorem For odd m, a position of m-modular Nim with 2 heaps is a P-position if and only it is of the form (i, i) for integers i where 0 i < m.

19 An Example: 6-Modular Nim with 2 Piles (0,0) (1,1) (2,2)

20 An Example: 6-Modular Nim with 2 Piles (7,8) (8,7) (5,6) (6,5) (3,4) (4,3) (2,2) (1,1) (0,0)

21 An Example: 6-Modular Nim with 2 Piles (7,8) (8,7) (5,6) (6,5) (3,4) (4,3) (2,2) (1,1) (0,0)

22 Another Example: 12-Modular Nim with 2 Piles

23 Another Example: 12-Modular Nim with 2 Piles

24 Another Example: 12-Modular Nim with 2 Piles

25 m-modular Nim for 2 Heaps Theorem Let m = 2 i k where k is odd. A position is a P-position if and only if it is of the form: (2 j 1 b + a, (k + 1)2 j 1 1 a) for all 0 a < 2 j 1, k b < 2k and 0 j < i. Corollary Let m = 2 i k where k is odd. There are ( ) i m P-positions in m-modular Nim with 2 heaps.

26 7-Modular Nim with 3 Heaps

27 A Snapshot of Nim with 3 Heaps

28 A Snapshot of Nim with 3 Heaps

29 A Snapshot of Nim with 3 Heaps

30 7-Modular Nim with 3 Heaps

31 m-modular Nim for odd m Theorem A position (a 1, a 2,..., a n ) is a P-position if and only if: n 1 a i = 0. 2 i=1 n i=1 a i < 2m.

32 14-Modular Nim with 3 Heaps

33 14-Modular Nim with 3 Heaps

34 14-Modular Nim with 3 Heaps

35 7-Modular Nim with 3 Heaps

36 m-modular Nim for Even m: A Partial Result Theorem If a position (a 1, a 2,..., a n ) is a P-position in m-modular Nim for m odd, then it is a P-position in 2m-Modular Nim.

37 Future Research What happens in Miseré Modular Nim? How do the P-positions for even m behave? What happens one can take away km + r tokens for other values of r? What about other polynomials?

38 Acknowledgments I would like to thank My mentor, Dr. Khovanova: for her suggestion of the project and guidance MIT PRIMES: for the opportunity to conduct research My parents: for their encouragement and transportation

Jim and Nim. Japheth Wood New York Math Circle. August 6, 2011

Jim and Nim. Japheth Wood New York Math Circle. August 6, 2011 Jim and Nim Japheth Wood New York Math Circle August 6, 2011 Outline 1. Games Outline 1. Games 2. Nim Outline 1. Games 2. Nim 3. Strategies Outline 1. Games 2. Nim 3. Strategies 4. Jim Outline 1. Games

More information

On Variations of Nim and Chomp

On Variations of Nim and Chomp arxiv:1705.06774v1 [math.co] 18 May 2017 On Variations of Nim and Chomp June Ahn Benjamin Chen Richard Chen Ezra Erives Jeremy Fleming Michael Gerovitch Tejas Gopalakrishna Tanya Khovanova Neil Malur Nastia

More information

SOME MORE DECREASE AND CONQUER ALGORITHMS

SOME MORE DECREASE AND CONQUER ALGORITHMS What questions do you have? Decrease by a constant factor Decrease by a variable amount SOME MORE DECREASE AND CONQUER ALGORITHMS Insertion Sort on Steroids SHELL'S SORT A QUICK RECAP 1 Shell's Sort We

More information

On Variants of Nim and Chomp

On Variants of Nim and Chomp The Minnesota Journal of Undergraduate Mathematics On Variants of Nim and Chomp June Ahn 1, Benjamin Chen 2, Richard Chen 3, Ezra Erives 4, Jeremy Fleming 3, Michael Gerovitch 5, Tejas Gopalakrishna 6,

More information

PRIMES STEP Plays Games

PRIMES STEP Plays Games PRIMES STEP Plays Games arxiv:1707.07201v1 [math.co] 22 Jul 2017 Pratik Alladi Neel Bhalla Tanya Khovanova Nathan Sheffield Eddie Song William Sun Andrew The Alan Wang Naor Wiesel Kevin Zhang Kevin Zhao

More information

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter. Three Pile Nim with Move Blocking Arthur Holshouser 3600 Bullard St Charlotte, NC, USA Harold Reiter Department of Mathematics, University of North Carolina Charlotte, Charlotte, NC 28223, USA hbreiter@emailunccedu

More information

CS 491 CAP Intro to Combinatorial Games. Jingbo Shang University of Illinois at Urbana-Champaign Nov 4, 2016

CS 491 CAP Intro to Combinatorial Games. Jingbo Shang University of Illinois at Urbana-Champaign Nov 4, 2016 CS 491 CAP Intro to Combinatorial Games Jingbo Shang University of Illinois at Urbana-Champaign Nov 4, 2016 Outline What is combinatorial game? Example 1: Simple Game Zero-Sum Game and Minimax Algorithms

More information

Grade 7/8 Math Circles Game Theory October 27/28, 2015

Grade 7/8 Math Circles Game Theory October 27/28, 2015 Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 7/8 Math Circles Game Theory October 27/28, 2015 Chomp Chomp is a simple 2-player game. There is

More information

Subtraction games with expandable subtraction sets

Subtraction games with expandable subtraction sets with expandable subtraction sets Bao Ho Department of Mathematics and Statistics La Trobe University Monash University April 11, 2012 with expandable subtraction sets Outline The game of Nim Nim-values

More information

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games May 17, 2011 Summary: We give a winning strategy for the counter-taking game called Nim; surprisingly, it involves computations

More information

NIM WITH A MODULAR MULLER TWIST. Hillevi Gavel Department of Mathematics and Physics, Mälardalen University, Västerås, Sweden

NIM WITH A MODULAR MULLER TWIST. Hillevi Gavel Department of Mathematics and Physics, Mälardalen University, Västerås, Sweden INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 4 (2004), #G04 NIM WITH A MODULAR MULLER TWIST Hillevi Gavel Department of Mathematics and Physics, Mälardalen University, Västerås, Sweden hillevi.gavel@mdh.se

More information

Equivalence classes of length-changing replacements of size-3 patterns

Equivalence classes of length-changing replacements of size-3 patterns Equivalence classes of length-changing replacements of size-3 patterns Vahid Fazel-Rezai Mentor: Tanya Khovanova 2013 MIT-PRIMES Conference May 18, 2013 Vahid Fazel-Rezai Length-Changing Pattern Replacements

More information

QUIZ: Fill in the blank. Necessity is the Mother of.

QUIZ: Fill in the blank. Necessity is the Mother of. QUIZ: Fill in the blank Necessity is the Mother of. Necessity is the Mother of KLUDGE. Rube Goldberg Now let s examine a fun application of binary! The game(s) of Nim a.k.a. the Subtraction game German:

More information

Throttling numbers for cop vs gambler

Throttling numbers for cop vs gambler Throttling numbers for cop vs gambler James Lin Carl Joshua Quines Espen Slettnes Mentor: Dr. Jesse Geneson May 19 20, 2018 MIT PRIMES Conference J. Lin, C. J. Quines, E. Slettnes Throttling numbers for

More information

arxiv: v1 [math.co] 17 May 2016

arxiv: v1 [math.co] 17 May 2016 arxiv:1605.05601v1 [math.co] 17 May 2016 Alternator Coins Benjamin Chen, Ezra Erives, Leon Fan, Michael Gerovitch, Jonathan Hsu, Tanya Khovanova, Neil Malur, Ashwin Padaki, Nastia Polina, Will Sun, Jacob

More information

Grade 6 Math Circles Combinatorial Games November 3/4, 2015

Grade 6 Math Circles Combinatorial Games November 3/4, 2015 Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles Combinatorial Games November 3/4, 2015 Chomp Chomp is a simple 2-player game. There

More information

Senior Math Circles February 10, 2010 Game Theory II

Senior Math Circles February 10, 2010 Game Theory II 1 University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Senior Math Circles February 10, 2010 Game Theory II Take-Away Games Last Wednesday, you looked at take-away

More information

Tutorial 1. (ii) There are finite many possible positions. (iii) The players take turns to make moves.

Tutorial 1. (ii) There are finite many possible positions. (iii) The players take turns to make moves. 1 Tutorial 1 1. Combinatorial games. Recall that a game is called a combinatorial game if it satisfies the following axioms. (i) There are 2 players. (ii) There are finite many possible positions. (iii)

More information

Number Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory

Number Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory - Divisibility - Congruences June 23, 2014 Primes - Divisibility - Congruences Definition A positive integer p is prime if p 2 and its only positive factors are itself and 1. Otherwise, if p 2, then p

More information

NIM Games: Handout 1

NIM Games: Handout 1 NIM Games: Handout 1 Based on notes by William Gasarch 1 One-Pile NIM Games Consider the following two-person game in which players alternate making moves. There are initially n stones on the board. During

More information

Tangent: Boromean Rings. The Beer Can Game. Plan. A Take-Away Game. Mathematical Games I. Introduction to Impartial Combinatorial Games

Tangent: Boromean Rings. The Beer Can Game. Plan. A Take-Away Game. Mathematical Games I. Introduction to Impartial Combinatorial Games K. Sutner D. Sleator* Great Theoretical Ideas In Computer Science CS 15-251 Spring 2014 Lecture 110 Feb 4, 2014 Carnegie Mellon University Tangent: Boromean Rings Mathematical Games I Challenge for next

More information

Counting Sudoku Variants

Counting Sudoku Variants Counting Sudoku Variants Wayne Zhao mentor: Dr. Tanya Khovanova Bridgewater-Raritan Regional High School May 20, 2018 MIT PRIMES Conference Wayne Zhao Counting Sudoku Variants 1 / 21 Sudoku Number of fill-ins

More information

Problem F. Chessboard Coloring

Problem F. Chessboard Coloring Problem F Chessboard Coloring You have a chessboard with N rows and N columns. You want to color each of the cells with exactly N colors (colors are numbered from 0 to N 1). A coloring is valid if and

More information

Alternator Coins. Mentor: Dr. Tanya Khovanova. PRIMES CONFERENCE, May 21, PRIMES CONFERENCE, May 21,

Alternator Coins. Mentor: Dr. Tanya Khovanova. PRIMES CONFERENCE, May 21, PRIMES CONFERENCE, May 21, Alternator Coins Benjamin Chen, Ezra Erives, Leon Fan, Michael Gerovitch, Jonathan Hsu, Neil Malur, Ashwin Padaki, Nastia Polina, Will Sun, Jacob Tan, Andrew The Mentor: Dr. Tanya Khovanova PRIMES CONFERENCE,

More information

Grade 6 Math Circles Combinatorial Games - Solutions November 3/4, 2015

Grade 6 Math Circles Combinatorial Games - Solutions November 3/4, 2015 Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles Combinatorial Games - Solutions November 3/4, 2015 Chomp Chomp is a simple 2-player

More information

Obliged Sums of Games

Obliged Sums of Games Obliged Sums of Games Thomas S. Ferguson Mathematics Department, UCLA 1. Introduction. Let g be an impartial combinatorial game. In such a game, there are two players, I and II, there is an initial position,

More information

Circular Nim Games. S. Heubach 1 M. Dufour 2. May 7, 2010 Math Colloquium, Cal Poly San Luis Obispo

Circular Nim Games. S. Heubach 1 M. Dufour 2. May 7, 2010 Math Colloquium, Cal Poly San Luis Obispo Circular Nim Games S. Heubach 1 M. Dufour 2 1 Dept. of Mathematics, California State University Los Angeles 2 Dept. of Mathematics, University of Quebeq, Montreal May 7, 2010 Math Colloquium, Cal Poly

More information

Final Exam, Math 6105

Final Exam, Math 6105 Final Exam, Math 6105 SWIM, June 29, 2006 Your name Throughout this test you must show your work. 1. Base 5 arithmetic (a) Construct the addition and multiplication table for the base five digits. (b)

More information

Plan. Related courses. A Take-Away Game. Mathematical Games , (21-801) - Mathematical Games Look for it in Spring 11

Plan. Related courses. A Take-Away Game. Mathematical Games , (21-801) - Mathematical Games Look for it in Spring 11 V. Adamchik D. Sleator Great Theoretical Ideas In Computer Science Mathematical Games CS 5-25 Spring 2 Lecture Feb., 2 Carnegie Mellon University Plan Introduction to Impartial Combinatorial Games Related

More information

1.6 Congruence Modulo m

1.6 Congruence Modulo m 1.6 Congruence Modulo m 47 5. Let a, b 2 N and p be a prime. Prove for all natural numbers n 1, if p n (ab) and p - a, then p n b. 6. In the proof of Theorem 1.5.6 it was stated that if n is a prime number

More information

GEOGRAPHY PLAYED ON AN N-CYCLE TIMES A 4-CYCLE

GEOGRAPHY PLAYED ON AN N-CYCLE TIMES A 4-CYCLE GEOGRAPHY PLAYED ON AN N-CYCLE TIMES A 4-CYCLE M. S. Hogan 1 Department of Mathematics and Computer Science, University of Prince Edward Island, Charlottetown, PE C1A 4P3, Canada D. G. Horrocks 2 Department

More information

ON SPLITTING UP PILES OF STONES

ON SPLITTING UP PILES OF STONES ON SPLITTING UP PILES OF STONES GREGORY IGUSA Abstract. In this paper, I describe the rules of a game, and give a complete description of when the game can be won, and when it cannot be won. The first

More information

THE GAME CREATION OPERATOR

THE GAME CREATION OPERATOR 2/6/17 THE GAME CREATION OPERATOR Joint work with Urban Larsson and Matthieu Dufour Silvia Heubach California State University Los Angeles SoCal-Nevada Fall 2016 Section Meeting October 22, 2016 Much of

More information

Impartial Combinatorial Games Berkeley Math Circle Intermediate II Ted Alper Evans Hall, room 740 Sept 1, 2015

Impartial Combinatorial Games Berkeley Math Circle Intermediate II Ted Alper Evans Hall, room 740 Sept 1, 2015 Impartial Combinatorial Games Berkeley Math Circle Intermediate II Ted Alper Evans Hall, room 740 Sept 1, 2015 tmalper@stanford.edu 1 Warmups 1.1 (Kozepiskolai Matematikai Lapok, 1980) Contestants B and

More information

Crossing Game Strategies

Crossing Game Strategies Crossing Game Strategies Chloe Avery, Xiaoyu Qiao, Talon Stark, Jerry Luo March 5, 2015 1 Strategies for Specific Knots The following are a couple of crossing game boards for which we have found which

More information

Game 0: One Pile, Last Chip Loses

Game 0: One Pile, Last Chip Loses Take Away Games II: Nim April 24, 2016 The Rules of Nim The game of Nim is a two player game. There are piles of chips which the players take turns taking chips from. During a single turn, a player can

More information

A Quick Introduction to Modular Arithmetic

A Quick Introduction to Modular Arithmetic A Quick Introduction to Modular Arithmetic Art Duval University of Texas at El Paso November 16, 2004 1 Idea Here are a few quick motivations for modular arithmetic: 1.1 Sorting integers Recall how you

More information

Multiples and Divisibility

Multiples and Divisibility Multiples and Divisibility A multiple of a number is a product of that number and an integer. Divisibility: A number b is said to be divisible by another number a if b is a multiple of a. 45 is divisible

More information

STAJSIC, DAVORIN, M.A. Combinatorial Game Theory (2010) Directed by Dr. Clifford Smyth. pp.40

STAJSIC, DAVORIN, M.A. Combinatorial Game Theory (2010) Directed by Dr. Clifford Smyth. pp.40 STAJSIC, DAVORIN, M.A. Combinatorial Game Theory (2010) Directed by Dr. Clifford Smyth. pp.40 Given a combinatorial game, can we determine if there exists a strategy for a player to win the game, and can

More information

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained.

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained. THE CHINESE REMAINDER THEOREM INTRODUCED IN A GENERAL KONTEXT Introduction The rst Chinese problem in indeterminate analysis is encountered in a book written by the Chinese mathematician Sun Tzi. The problem

More information

Surreal Numbers and Games. February 2010

Surreal Numbers and Games. February 2010 Surreal Numbers and Games February 2010 1 Last week we began looking at doing arithmetic with impartial games using their Sprague-Grundy values. Today we ll look at an alternative way to represent games

More information

Contest 1. October 20, 2009

Contest 1. October 20, 2009 Contest 1 October 20, 2009 Problem 1 What value of x satisfies x(x-2009) = x(x+2009)? Problem 1 What value of x satisfies x(x-2009) = x(x+2009)? By inspection, x = 0 satisfies the equation. Problem 1 What

More information

arxiv: v1 [cs.dm] 13 Feb 2015

arxiv: v1 [cs.dm] 13 Feb 2015 BUILDING NIM arxiv:1502.04068v1 [cs.dm] 13 Feb 2015 Eric Duchêne 1 Université Lyon 1, LIRIS, UMR5205, F-69622, France eric.duchene@univ-lyon1.fr Matthieu Dufour Dept. of Mathematics, Université du Québec

More information

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10? Chapter 5. Counting 5.1 The Basic of Counting What is counting? (how many ways of doing things) combinations: how many possible ways to choose 4 people from 10? how many license plates that start with

More information

8.2 Union, Intersection, and Complement of Events; Odds

8.2 Union, Intersection, and Complement of Events; Odds 8.2 Union, Intersection, and Complement of Events; Odds Since we defined an event as a subset of a sample space it is natural to consider set operations like union, intersection or complement in the context

More information

On Quasirandom Permutations

On Quasirandom Permutations On Quasirandom Permutations Eric K. Zhang Mentor: Tanya Khovanova Plano West Senior High School PRIMES Conference, May 20, 2018 Eric K. Zhang (PWSH) On Quasirandom Permutations PRIMES 2018 1 / 20 Permutations

More information

Discrete Structures Lecture Permutations and Combinations

Discrete Structures Lecture Permutations and Combinations Introduction Good morning. Many counting problems can be solved by finding the number of ways to arrange a specified number of distinct elements of a set of a particular size, where the order of these

More information

of Nebraska - Lincoln

of Nebraska - Lincoln University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 7-2006 The Game of Nim Dean J. Davis University of Nebraska-Lincoln

More information

Open Problems at the 2002 Dagstuhl Seminar on Algorithmic Combinatorial Game Theory

Open Problems at the 2002 Dagstuhl Seminar on Algorithmic Combinatorial Game Theory Open Problems at the 2002 Dagstuhl Seminar on Algorithmic Combinatorial Game Theory Erik D. Demaine MIT Laboratory for Computer Science, Cambridge, MA 02139, USA email: edemaine@mit.edu Rudolf Fleischer

More information

MAT Modular arithmetic and number theory. Modular arithmetic

MAT Modular arithmetic and number theory. Modular arithmetic Modular arithmetic 1 Modular arithmetic may seem like a new and strange concept at first The aim of these notes is to describe it in several different ways, in the hope that you will find at least one

More information

A Combinatorial Game Mathematical Strategy Planning Procedure for a Class of Chess Endgames

A Combinatorial Game Mathematical Strategy Planning Procedure for a Class of Chess Endgames International Mathematical Forum, 2, 2007, no. 68, 3357-3369 A Combinatorial Game Mathematical Strategy Planning Procedure for a Class of Chess Endgames Zvi Retchkiman Königsberg Instituto Politécnico

More information

Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège)

Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège) INVARIANT GAMES Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège) http://www.discmath.ulg.ac.be/ Words 2009, Univ. of Salerno, 14th September 2009 COMBINATORIAL GAME THEORY FOR

More information

(b) In the position given in the figure below, find a winning move, if any. (b) In the position given in Figure 4.2, find a winning move, if any.

(b) In the position given in the figure below, find a winning move, if any. (b) In the position given in Figure 4.2, find a winning move, if any. Math 5750-1: Game Theory Midterm Exam Mar. 6, 2015 You have a choice of any four of the five problems. (If you do all 5, each will count 1/5, meaning there is no advantage.) This is a closed-book exam,

More information

CHECKMATE! A Brief Introduction to Game Theory. Dan Garcia UC Berkeley. The World. Kasparov

CHECKMATE! A Brief Introduction to Game Theory. Dan Garcia UC Berkeley. The World. Kasparov CHECKMATE! The World A Brief Introduction to Game Theory Dan Garcia UC Berkeley Kasparov Welcome! Introduction Topic motivation, goals Talk overview Combinatorial game theory basics w/examples Computational

More information

Peeking at partizan misère quotients

Peeking at partizan misère quotients Games of No Chance 4 MSRI Publications Volume 63, 2015 Peeking at partizan misère quotients MEGHAN R. ALLEN 1. Introduction In two-player combinatorial games, the last player to move either wins (normal

More information

Math Circle: Logic Puzzles

Math Circle: Logic Puzzles Math Circle: Logic Puzzles June 4, 2017 The Missing $1 Three people rent a room for the night for a total of $30. They each pay $10 and go upstairs. The owner then realizes the room was only supposed to

More information

Games, Triangulations, Theory

Games, Triangulations, Theory KTdCW Spieltheorie Games, Triangulations, Theory Oswin Aichholzer, University of Technology, Graz (Austria) KTdCW, Spieltheorie, Aichholzer NIM & Co 0 What is a (mathematical) game? 2 players [ A,B / L(eft),R(ight)

More information

Analyzing ELLIE - the Story of a Combinatorial Game

Analyzing ELLIE - the Story of a Combinatorial Game Analyzing ELLIE - the Story of a Combinatorial Game S. Heubach 1 P. Chinn 2 M. Dufour 3 G. E. Stevens 4 1 Dept. of Mathematics, California State Univ. Los Angeles 2 Dept. of Mathematics, Humboldt State

More information

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., Binary exponentiation An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., What are the last two digits of the number 2 284? In the absence

More information

IMOK Maclaurin Paper 2014

IMOK Maclaurin Paper 2014 IMOK Maclaurin Paper 2014 1. What is the largest three-digit prime number whose digits, and are different prime numbers? We know that, and must be three of,, and. Let denote the largest of the three digits,

More information

Number Theory/Cryptography (part 1 of CSC 282)

Number Theory/Cryptography (part 1 of CSC 282) Number Theory/Cryptography (part 1 of CSC 282) http://www.cs.rochester.edu/~stefanko/teaching/11cs282 1 Schedule The homework is due Sep 8 Graded homework will be available at noon Sep 9, noon. EXAM #1

More information

Modular Arithmetic. Kieran Cooney - February 18, 2016

Modular Arithmetic. Kieran Cooney - February 18, 2016 Modular Arithmetic Kieran Cooney - kieran.cooney@hotmail.com February 18, 2016 Sums and products in modular arithmetic Almost all of elementary number theory follows from one very basic theorem: Theorem.

More information

arxiv: v2 [cs.cc] 18 Mar 2013

arxiv: v2 [cs.cc] 18 Mar 2013 Deciding the Winner of an Arbitrary Finite Poset Game is PSPACE-Complete Daniel Grier arxiv:1209.1750v2 [cs.cc] 18 Mar 2013 University of South Carolina grierd@email.sc.edu Abstract. A poset game is a

More information

Applications of Fermat s Little Theorem and Congruences

Applications of Fermat s Little Theorem and Congruences Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4

More information

Mathematical Investigation of Games of "Take-Away"

Mathematical Investigation of Games of Take-Away JOURNAL OF COMBINATORIAL THEORY 1, 443-458 (1966) A Mathematical Investigation of Games of "Take-Away" SOLOMON W. GOLOMB* Departments of Electrical Engineering and Mathematics, University of Southern California,

More information

A Winning Strategy for the Game of Antonim

A Winning Strategy for the Game of Antonim A Winning Strategy for the Game of Antonim arxiv:1506.01042v1 [math.co] 1 Jun 2015 Zachary Silbernick Robert Campbell June 4, 2015 Abstract The game of Antonim is a variant of the game Nim, with the additional

More information

GAMES AND STRATEGY BEGINNERS 12/03/2017

GAMES AND STRATEGY BEGINNERS 12/03/2017 GAMES AND STRATEGY BEGINNERS 12/03/2017 1. TAKE AWAY GAMES Below you will find 5 different Take Away Games, each of which you may have played last year. Play each game with your partner. Find the winning

More information

Section Summary. Permutations Combinations Combinatorial Proofs

Section Summary. Permutations Combinations Combinatorial Proofs Section 6.3 Section Summary Permutations Combinations Combinatorial Proofs Permutations Definition: A permutation of a set of distinct objects is an ordered arrangement of these objects. An ordered arrangement

More information

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2 Quadratic Reciprocity To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we need to be able to evaluate q for any prime q. The first (and most delicate) case

More information

Sequential games. We may play the dating game as a sequential game. In this case, one player, say Connie, makes a choice before the other.

Sequential games. We may play the dating game as a sequential game. In this case, one player, say Connie, makes a choice before the other. Sequential games Sequential games A sequential game is a game where one player chooses his action before the others choose their. We say that a game has perfect information if all players know all moves

More information

Chameleon Coins arxiv: v1 [math.ho] 23 Dec 2015

Chameleon Coins arxiv: v1 [math.ho] 23 Dec 2015 Chameleon Coins arxiv:1512.07338v1 [math.ho] 23 Dec 2015 Tanya Khovanova Konstantin Knop Oleg Polubasov December 24, 2015 Abstract We discuss coin-weighing problems with a new type of coin: a chameleon.

More information

Week 1. 1 What Is Combinatorics?

Week 1. 1 What Is Combinatorics? 1 What Is Combinatorics? Week 1 The question that what is combinatorics is similar to the question that what is mathematics. If we say that mathematics is about the study of numbers and figures, then combinatorics

More information

The strange algebra of combinatorial games

The strange algebra of combinatorial games arxiv:0912.0448v1 [math.co] 2 Dec 2009 The strange algebra of combinatorial games Johan Wästlund Department of Mathematics Chalmers University of Technology, S-412 96 Gothenburg, Sweden wastlund@chalmers.se

More information

BmMT 2013 TEAM ROUND SOLUTIONS 16 November 2013

BmMT 2013 TEAM ROUND SOLUTIONS 16 November 2013 BmMT 01 TEAM ROUND SOLUTIONS 16 November 01 1. If Bob takes 6 hours to build houses, he will take 6 hours to build = 1 houses. The answer is 18.. Here is a somewhat elegant way to do the calculation: 1

More information

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count 7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count Probability deals with predicting the outcome of future experiments in a quantitative way. The experiments

More information

SF2972 Game Theory Written Exam March 17, 2011

SF2972 Game Theory Written Exam March 17, 2011 SF97 Game Theory Written Exam March 7, Time:.-9. No permitted aids Examiner: Boualem Djehiche The exam consists of two parts: Part A on classical game theory and Part B on combinatorial game theory. Each

More information

Combined Games. Block, Alexander Huang, Boao. icamp Summer Research Program University of California, Irvine Irvine, CA

Combined Games. Block, Alexander Huang, Boao. icamp Summer Research Program University of California, Irvine Irvine, CA Combined Games Block, Alexander Huang, Boao icamp Summer Research Program University of California, Irvine Irvine, CA 92697 August 17, 2013 Abstract What happens when you play Chess and Tic-Tac-Toe at

More information

Contents. MA 327/ECO 327 Introduction to Game Theory Fall 2017 Notes. 1 Wednesday, August Friday, August Monday, August 28 6

Contents. MA 327/ECO 327 Introduction to Game Theory Fall 2017 Notes. 1 Wednesday, August Friday, August Monday, August 28 6 MA 327/ECO 327 Introduction to Game Theory Fall 2017 Notes Contents 1 Wednesday, August 23 4 2 Friday, August 25 5 3 Monday, August 28 6 4 Wednesday, August 30 8 5 Friday, September 1 9 6 Wednesday, September

More information

6.2 Modular Arithmetic

6.2 Modular Arithmetic 6.2 Modular Arithmetic Every reader is familiar with arithmetic from the time they are three or four years old. It is the study of numbers and various ways in which we can combine them, such as through

More information

AI Approaches to Ultimate Tic-Tac-Toe

AI Approaches to Ultimate Tic-Tac-Toe AI Approaches to Ultimate Tic-Tac-Toe Eytan Lifshitz CS Department Hebrew University of Jerusalem, Israel David Tsurel CS Department Hebrew University of Jerusalem, Israel I. INTRODUCTION This report is

More information

One-Dimensional Peg Solitaire, and Duotaire

One-Dimensional Peg Solitaire, and Duotaire More Games of No Chance MSRI Publications Volume 42, 2002 One-Dimensional Peg Solitaire, and Duotaire CRISTOPHER MOORE AND DAVID EPPSTEIN Abstract. We solve the problem of one-dimensional Peg Solitaire.

More information

Math236 Discrete Maths with Applications

Math236 Discrete Maths with Applications Math236 Discrete Maths with Applications P. Ittmann UKZN, Pietermaritzburg Semester 1, 2012 Ittmann (UKZN PMB) Math236 2012 1 / 43 The Multiplication Principle Theorem Let S be a set of k-tuples (s 1,

More information

2. Tell your partner to examine the cards, and give you the cards on which the number

2. Tell your partner to examine the cards, and give you the cards on which the number Magic Cards Instructions: 1. Ask your partner to pick a whole number between 1 and 63 (and keep it secret). 2. Tell your partner to examine the cards, and give you the cards on which the number appears.

More information

Fall. Spring. Possible Summer Topics

Fall. Spring. Possible Summer Topics Fall Paper folding: equilateral triangle (parallel postulate and proofs of theorems that result, similar triangles), Trisect a square paper Divisibility by 2-11 and by combinations of relatively prime

More information

Definition 1 (Game). For us, a game will be any series of alternating moves between two players where one player must win.

Definition 1 (Game). For us, a game will be any series of alternating moves between two players where one player must win. Abstract In this Circles, we play and describe the game of Nim and some of its friends. In German, the word nimm! is an excited form of the verb to take. For example to tell someone to take it all you

More information

Math 255 Spring 2017 Solving x 2 a (mod n)

Math 255 Spring 2017 Solving x 2 a (mod n) Math 255 Spring 2017 Solving x 2 a (mod n) Contents 1 Lifting 1 2 Solving x 2 a (mod p k ) for p odd 3 3 Solving x 2 a (mod 2 k ) 5 4 Solving x 2 a (mod n) for general n 9 1 Lifting Definition 1.1. Let

More information

Analysis of Don't Break the Ice

Analysis of Don't Break the Ice Rose-Hulman Undergraduate Mathematics Journal Volume 18 Issue 1 Article 19 Analysis of Don't Break the Ice Amy Hung Doane University Austin Uden Doane University Follow this and additional works at: https://scholar.rose-hulman.edu/rhumj

More information

arxiv: v1 [math.gt] 21 Mar 2018

arxiv: v1 [math.gt] 21 Mar 2018 Space-Efficient Knot Mosaics for Prime Knots with Mosaic Number 6 arxiv:1803.08004v1 [math.gt] 21 Mar 2018 Aaron Heap and Douglas Knowles June 24, 2018 Abstract In 2008, Kauffman and Lomonaco introduce

More information

Course Syllabus - Online Prealgebra

Course Syllabus - Online Prealgebra Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 1.1 Whole Numbers, Place Value Practice Problems for section 1.1 HW 1A 1.2 Adding Whole Numbers Practice Problems for section 1.2 HW 1B 1.3 Subtracting Whole Numbers

More information

Graph Nim. PURE Insights. Breeann Flesch Western Oregon University,

Graph Nim. PURE Insights. Breeann Flesch Western Oregon University, PURE Insights Volume rticle 0 Graph Nim reeann Flesch Western Oregon University, fleschb@mail.wou.edu kaanchya Pradhan Western Oregon University, apradhan0@mail.wou.edu Follow this and additional works

More information

Wythoff s Game. Kimberly Hirschfeld-Cotton Oshkosh, Nebraska

Wythoff s Game. Kimberly Hirschfeld-Cotton Oshkosh, Nebraska Wythoff s Game Kimberly Hirschfeld-Cotton Oshkosh, Nebraska In partial fulfillment of the requirements for the Master of Arts in Teaching with a Specialization in the Teaching of Middle Level Mathematics

More information

2-PILE NIM WITH A RESTRICTED NUMBER OF MOVE-SIZE IMITATIONS

2-PILE NIM WITH A RESTRICTED NUMBER OF MOVE-SIZE IMITATIONS 2-PILE NIM WITH A RESTRICTED NUMBER OF MOVE-SIZE IMITATIONS URBAN LARSSON with an appendix by Peter Hegarty Abstract. We study a variation of the combinatorial game of 2-pile Nim. Move as in 2-pile Nim

More information

Generalized Ordered Whist Tournaments for 6n+1 Players

Generalized Ordered Whist Tournaments for 6n+1 Players Rhode Island College Digital Commons @ RIC Hons Projects Overview Hons Projects 5-7-2013 Generalized Ordered Whist Tournaments f 6n+1 Players Elyssa Cipriano Rhode Island College, ecipriano_4212@ric.edu

More information

Problem Set 10 2 E = 3 F

Problem Set 10 2 E = 3 F Problem Set 10 1. A and B start with p = 1. Then they alternately multiply p by one of the numbers 2 to 9. The winner is the one who first reaches (a) p 1000, (b) p 10 6. Who wins, A or B? (Derek) 2. (Putnam

More information

Sec$on Summary. Permutations Combinations Combinatorial Proofs

Sec$on Summary. Permutations Combinations Combinatorial Proofs Section 6.3 Sec$on Summary Permutations Combinations Combinatorial Proofs 2 Coun$ng ordered arrangements Ex: How many ways can we select 3 students from a group of 5 students to stand in line for a picture?

More information

Balanced Number System Application to Mathematical Puzzles

Balanced Number System Application to Mathematical Puzzles Balanced Number System Application to Mathematical Puzzles Shobha Bagai The article explores the application of binary and ternary number systems to three classical mathematical puzzles weight problem

More information

GAME THEORY. Thomas S. Ferguson

GAME THEORY. Thomas S. Ferguson GAME THEORY Thomas S. Ferguson Part I. Impartial Combinatorial Games 1. Take-Away Games. 1.1 A Simple Take-Away Game. 1.2 What is a Combinatorial Game? 1.3 P-positions, N-positions. 1.4Subtraction Games.

More information

Sequential games. Moty Katzman. November 14, 2017

Sequential games. Moty Katzman. November 14, 2017 Sequential games Moty Katzman November 14, 2017 An example Alice and Bob play the following game: Alice goes first and chooses A, B or C. If she chose A, the game ends and both get 0. If she chose B, Bob

More information

An Enhanced Fast Multi-Radio Rendezvous Algorithm in Heterogeneous Cognitive Radio Networks

An Enhanced Fast Multi-Radio Rendezvous Algorithm in Heterogeneous Cognitive Radio Networks 1 An Enhanced Fast Multi-Radio Rendezvous Algorithm in Heterogeneous Cognitive Radio Networks Yeh-Cheng Chang, Cheng-Shang Chang and Jang-Ping Sheu Department of Computer Science and Institute of Communications

More information

Modular Arithmetic: refresher.

Modular Arithmetic: refresher. Lecture 7. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. Division!!! 3. Euclid s GCD Algorithm. A little tricky here! Clock Math If it is 1:00

More information