Top Banner
Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State University September 12, 2010 Lindsay Merchant North Dakota State University The Game of Nim on Graphs
73

The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Aug 01, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

The Game of Nim on Graphs

Lindsay MerchantNorth Dakota State University

September 12, 2010

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 2: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Decision Theory

All forms of game theory are rooted in formal decision theory.

I DefinitionA decision problem is a problem of choosing among a set ofalternatives.

I First Condition: decision maker must know consequences ofdecision

I Second Condition: existence of a preference is required

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 3: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Decision Theory

All forms of game theory are rooted in formal decision theory.

I DefinitionA decision problem is a problem of choosing among a set ofalternatives.

I First Condition: decision maker must know consequences ofdecision

I Second Condition: existence of a preference is required

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 4: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Decision Theory

All forms of game theory are rooted in formal decision theory.

I DefinitionA decision problem is a problem of choosing among a set ofalternatives.

I First Condition: decision maker must know consequences ofdecision

I Second Condition: existence of a preference is required

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 5: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Game Theory

Game Theory is concerned with situations which have the followingfeatures:

I There must be at least 2 players.

I The game begins by one or more of the players making achoice among a number of specified alternatives.

I After the choice associated with the first move is made, acertain situation results.

I The choices made by the players may or may not becomeknown.

I If a game is described in terms of successive choices (moves)there is a termination rule.

I Every play of a game ends in a situation.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 6: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Players

I DefinitionA player of a game is one who must both make choices and receivepayoffs.

I ExamplesI Chance - doesn’t receive payoffsI House - doesn’t make choicesI Slot machines

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 7: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Players

I DefinitionA player of a game is one who must both make choices and receivepayoffs.

I ExamplesI Chance - doesn’t receive payoffsI House - doesn’t make choicesI Slot machines

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 8: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Combinatorial Game

DefinitionA two-player combinatorial game requires

I Two players: P1 and P2

I Finitely many positions and a fixed starting position

I Rules governing moves a player can make from a givenposition to its options

I The player unable to move loses

I Play always ends

I Players have complete information

I No chance moves

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 9: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

How to play

I Start with n piles of stones.

I P1 begins by selecting one of the piles. P1 then removes anypositive number of stones from this pile.

I P2 next selects a pile and removes stones from that pile.

I Play ends when there are no stones left to remove. The playerwho is unable to remove stones loses.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 10: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

How to play

I Start with n piles of stones.

I P1 begins by selecting one of the piles. P1 then removes anypositive number of stones from this pile.

I P2 next selects a pile and removes stones from that pile.

I Play ends when there are no stones left to remove. The playerwho is unable to remove stones loses.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 11: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

How to play

I Start with n piles of stones.

I P1 begins by selecting one of the piles. P1 then removes anypositive number of stones from this pile.

I P2 next selects a pile and removes stones from that pile.

I Play ends when there are no stones left to remove. The playerwho is unable to remove stones loses.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 12: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Grundy Numbers

I Constructed recursively by Patrick Michael Grundy in 1939.

I Terminal positions have a Grundy number (g -number) of 0.

I The g -number of any other position is the smallestnon-negative number not already used.

I Used heavily in combinatorial game theory to describepositions

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 13: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Positions

I DefinitionA P-position is a winning position for the previous player, or theplayer who just finished making a move.

I P-positions are given this name for their positive g -number.

I DefinitionA 0-position is a losing position for the next player, or the playerabout to make a move.

I 0-positions are given this name for their g -number of 0.I P-positions and 0-positions have the following properties:

I From every 0-position, all moves are to P-positions.I From every P-position, there is at least one move to a

0-position.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 14: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Positions

I DefinitionA P-position is a winning position for the previous player, or theplayer who just finished making a move.

I P-positions are given this name for their positive g -number.

I DefinitionA 0-position is a losing position for the next player, or the playerabout to make a move.

I 0-positions are given this name for their g -number of 0.

I P-positions and 0-positions have the following properties:I From every 0-position, all moves are to P-positions.I From every P-position, there is at least one move to a

0-position.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 15: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Positions

I DefinitionA P-position is a winning position for the previous player, or theplayer who just finished making a move.

I P-positions are given this name for their positive g -number.

I DefinitionA 0-position is a losing position for the next player, or the playerabout to make a move.

I 0-positions are given this name for their g -number of 0.I P-positions and 0-positions have the following properties:

I From every 0-position, all moves are to P-positions.I From every P-position, there is at least one move to a

0-position.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 16: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Nim Addition

To find the Nim sum of a position in a game, suppose we startwith three piles, one of size 6, one of size 4, and one of size 3.

I Write the number of stones ineach pile as a binary number.

I Add the piles, modulo 2 in eachcolumn.

I This nonnegative number is theNim sum of the piles.

I

6 1 1 04 1 0 03 1 1

I

6 1 1 04 1 0 03 1 1

0 0 1

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 17: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Nim Addition

To find the Nim sum of a position in a game, suppose we startwith three piles, one of size 6, one of size 4, and one of size 3.

I Write the number of stones ineach pile as a binary number.

I Add the piles, modulo 2 in eachcolumn.

I This nonnegative number is theNim sum of the piles.

I

6 1 1 04 1 0 03 1 1

I

6 1 1 04 1 0 03 1 1

0 0 1

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 18: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Strategy to Win

I Find the Nim sum of the piles.The positive remainder is thenumber of stones you mustremove from one of the piles.

I This leaves your opponent witha g -number of 0, thus inflictinga 0-position.

I

6 1 1 04 1 0 03 1 1

0 0 1

I

6 1 1 04 1 0 02 1 0

0 0 0

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 19: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

How to PlayGrundy NumbersNim AdditionStrategy to Win

Strategy to Win

I Find the Nim sum of the piles.The positive remainder is thenumber of stones you mustremove from one of the piles.

I This leaves your opponent witha g -number of 0, thus inflictinga 0-position.

I

6 1 1 04 1 0 03 1 1

0 0 1

I

6 1 1 04 1 0 02 1 0

0 0 0

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 20: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

How to Play

I Start with a graph G .For each e ∈ E (G ) define a mapω(e) : E (G )→ N that assigns aweight to each edge of G .Fix a starting position at somevertex of G represented by ∆.

I P1 moves along any edgeincident with ∆ to anothervertex decreasing the weight ofthat edge to a strictlynonnegative number.

I P2 moves from this new ∆ to avertex adjacent.

I •

•∆

3���������

4

34

2

I •

ƥ

3���������

4

34

1

I •

••

3���������

4

1

4

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 21: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

How to Play

I Start with a graph G .For each e ∈ E (G ) define a mapω(e) : E (G )→ N that assigns aweight to each edge of G .Fix a starting position at somevertex of G represented by ∆.

I P1 moves along any edgeincident with ∆ to anothervertex decreasing the weight ofthat edge to a strictlynonnegative number.

I P2 moves from this new ∆ to avertex adjacent.

I •

•∆

3���������

4

34

2

I •

ƥ

3���������

4

34

1

I •

••

3���������

4

1

4

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 22: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

How to Play

I Start with a graph G .For each e ∈ E (G ) define a mapω(e) : E (G )→ N that assigns aweight to each edge of G .Fix a starting position at somevertex of G represented by ∆.

I P1 moves along any edgeincident with ∆ to anothervertex decreasing the weight ofthat edge to a strictlynonnegative number.

I P2 moves from this new ∆ to avertex adjacent.

I •

•∆

3���������

4

34

2

I •

ƥ

3���������

4

34

1

I •

••

3���������

4

1

4

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 23: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

How to Play

I Once the weight of an edge equals zero, neither player maymove across it.

I Play continues in this back and forth manner until a playergets stuck at a vertex.

I Not necessarily the case that all edges are removed from thegraph before the game ends.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 24: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

How to Play

I Once the weight of an edge equals zero, neither player maymove across it.

I Play continues in this back and forth manner until a playergets stuck at a vertex.

I Not necessarily the case that all edges are removed from thegraph before the game ends.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 25: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

How to Play

I Once the weight of an edge equals zero, neither player maymove across it.

I Play continues in this back and forth manner until a playergets stuck at a vertex.

I Not necessarily the case that all edges are removed from thegraph before the game ends.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 26: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Paths

When we refer to the length of the path, we consider the numberof edges. Suppose we start at the end of a path first. Also assumethe weights on the edges are arbitrary.

I P1’s move

∆ • • • • • • •

I P2’s move• ∆ • • • • • •

I P1’s move• • ∆ • • • • •

I P2 loses• • • • • • • ∆

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 27: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Paths

When we refer to the length of the path, we consider the numberof edges. Suppose we start at the end of a path first. Also assumethe weights on the edges are arbitrary.

I P1’s move

∆ • • • • • • •I P2’s move• ∆ • • • • • •

I P1’s move• • ∆ • • • • •

I P2 loses• • • • • • • ∆

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 28: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Paths

When we refer to the length of the path, we consider the numberof edges. Suppose we start at the end of a path first. Also assumethe weights on the edges are arbitrary.

I P1’s move

∆ • • • • • • •I P2’s move• ∆ • • • • • •

I P1’s move• • ∆ • • • • •

I P2 loses• • • • • • • ∆

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 29: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Paths

When we refer to the length of the path, we consider the numberof edges. Suppose we start at the end of a path first. Also assumethe weights on the edges are arbitrary.

I P1’s move

∆ • • • • • • •I P2’s move• ∆ • • • • • •

I P1’s move• • ∆ • • • • •

I P2 loses• • • • • • • ∆

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 30: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Paths

Now suppose the position in the odd path is arbitrary.

I P1’s move• • • ∆ • • • •

I P2’s move• • ∆ • • • • •

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 31: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Paths

Now suppose the position in the odd path is arbitrary.

I P1’s move• • • ∆ • • • •

I P2’s move• • ∆ • • • • •

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 32: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Even Paths

I P1’s move

∆ • • • • • •

I P2’s move• ∆ • • • • •• ∆ • • • • •

I In either situation for P2 there is a path of odd length, thusresulting in a P2 win with any weighting assignment.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 33: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Even Paths

I P1’s move

∆ • • • • • •I P2’s move• ∆ • • • • •• ∆ • • • • •

I In either situation for P2 there is a path of odd length, thusresulting in a P2 win with any weighting assignment.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 34: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Even Paths

I P1’s move

∆ • • • • • •I P2’s move• ∆ • • • • •• ∆ • • • • •

I In either situation for P2 there is a path of odd length, thusresulting in a P2 win with any weighting assignment.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 35: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Odd Cycles

Continue to assume that the weight assignment is arbitrary

• •

•?????????

������� ///////

���������

P1’s move∆

• •

������� ///////

���������

P2’s move

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 36: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Nim on Graphs I

Results:

I Assumes all game graphs are bipartite and P2’s vertices havedegree 2.

I Finds whether a given position is a P-position or 0-positionfor such graphs.

I Solves the problem of finding a Grundy number for odd andeven paths in the process.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 37: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Nim on Graphs II

Results:

I Finds the g -number for bipartite graphs with matchings andwithout alternating cycles.

I Determines whether given positions are P-positions and0-positions for such graphs.

I Finds the g -number for cycles and trees completely.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 38: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Nim on Graphs INim on Graphs IIDo Grundy Numbers Matter?

Do Grundy Numbers Matter?

I Previous results due to Fukuyama only give g -numbers interms of relative positions.

I In contrast to regular Nim, knowing the g -number does nottell you what move to make.

I No convincing evidence that g -numbers will matter for Nimon Graphs when played in this fashion.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 39: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

I Suppose G = C2n is arbitrarily weighted withstarting piece ∆.

I Begin by finding min(ω(e)) amongst alle ∈ E (G ).

I The two distances from ∆ to the verticesincident with min

e∈E(G)(ω(e)) determine the

winner of the game.

5

?????????

3

5

8���������

6

?????????

4

7

3���������

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 40: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

I Suppose G = C2n is arbitrarily weighted withstarting piece ∆.

I Begin by finding min(ω(e)) amongst alle ∈ E (G ).

I The two distances from ∆ to the verticesincident with min

e∈E(G)(ω(e)) determine the

winner of the game.

5

?????????

3

5

8���������

6

?????????

4

7

3���������

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 41: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

I Suppose G = C2n is arbitrarily weighted withstarting piece ∆.

I Begin by finding min(ω(e)) amongst alle ∈ E (G ).

I The two distances from ∆ to the verticesincident with min

e∈E(G)(ω(e)) determine the

winner of the game.

5

?????????

3

5

8���������

6

?????????

4

7

3���������

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 42: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

I If there is at least one odd path from ∆ to avertex incident with an edge of minimumweight, then P1 will win.

I If all paths are even from ∆ to a vertexincident with an edge of minimum weight,then P2 will win.

I In both cases, the strategy for either playeris to move in the direction of the edge withlowest weight, decreasing the weight of eachedge to min(ω(e)).

5

?????????

3

5

8���������

6

?????????

4

7

3���������

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 43: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

I If there is at least one odd path from ∆ to avertex incident with an edge of minimumweight, then P1 will win.

I If all paths are even from ∆ to a vertexincident with an edge of minimum weight,then P2 will win.

I In both cases, the strategy for either playeris to move in the direction of the edge withlowest weight, decreasing the weight of eachedge to min(ω(e)).

5

?????????

3

5

8���������

6

?????????

4

7

3���������

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 44: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

I If there is at least one odd path from ∆ to avertex incident with an edge of minimumweight, then P1 will win.

I If all paths are even from ∆ to a vertexincident with an edge of minimum weight,then P2 will win.

I In both cases, the strategy for either playeris to move in the direction of the edge withlowest weight, decreasing the weight of eachedge to min(ω(e)).

5

?????????

3

5

8���������

6

?????????

4

7

3���������

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 45: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

TheoremAssume G = C2n and that ωG is some arbitrary weight assignmentfor G. Assume mine∈E(G)(ωG (e)) = m. Let G

′be the graph

formed from G under ωG ′ (e) = ωG (e)−m with the same starting

vertex. Then the p-positions of G are the p-positions of G′

withthe winning strategy for P1 or P2 on G following from that on G

′.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 46: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

Proof.

5

?????????

3

5

8���������

6

?????????

4

7

3���������

G

2

?????????

2

5���������

3

?????????

1

4

G′

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 47: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

Proof.

I The fact that the positional values of G and G′

are the samefollows from results by Fukuyama

I Assume that there is a path of odd length from ∆ to a vertexincident with min(ω(e))

I Notice the first player to break the cycle will loose

I Let P1 employ the same strategy on G as he would on G′,

that is to move in the direction of the odd path, decreasingthe weight of each edge of G by that of the same edge on G

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 48: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

Proof.

I The fact that the positional values of G and G′

are the samefollows from results by Fukuyama

I Assume that there is a path of odd length from ∆ to a vertexincident with min(ω(e))

I Notice the first player to break the cycle will loose

I Let P1 employ the same strategy on G as he would on G′,

that is to move in the direction of the odd path, decreasingthe weight of each edge of G by that of the same edge on G

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 49: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

Proof.(continued)

I P2 will be the first player forced to decrease an edge of Gbelow m

I After P2’s move that decreases an edge weight below m, wecan consider a new graph G

′′formed from the current state of

G less that new lowest weight on each edge

I G′′

is a path of length 2n − 1, which is an odd path and a P1

win. Play continues in this manner until P2 is forced toremove an edge entirely, thus creating an odd path in G

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 50: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

Proof.(continued)

I P2 will be the first player forced to decrease an edge of Gbelow m

I After P2’s move that decreases an edge weight below m, wecan consider a new graph G

′′formed from the current state of

G less that new lowest weight on each edge

I G′′

is a path of length 2n − 1, which is an odd path and a P1

win. Play continues in this manner until P2 is forced toremove an edge entirely, thus creating an odd path in G

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 51: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

Proof.(continued)

I P2 will be the first player forced to decrease an edge of Gbelow m

I After P2’s move that decreases an edge weight below m, wecan consider a new graph G

′′formed from the current state of

G less that new lowest weight on each edge

I G′′

is a path of length 2n − 1, which is an odd path and a P1

win. Play continues in this manner until P2 is forced toremove an edge entirely, thus creating an odd path in G

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 52: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Strategy for Even Cycles

5

?????????

3

5

8���������

3

?????????

4

7

3���������

P2’s turn

5

?????????

3

5

8���������

3

?????????

3

7

3���������

P1’s turn

5

?????????

3

5

8���������

3

?????????

3

3

3���������

P2’s turn

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 53: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Bipartite graphs with ω(e) = 1

I TheoremLet G = K2,j for j ≥ 1 and ω(e) = 1 for each e ∈ K2,j . Assumethat ∆ is on a vertex in the partite set of size 2. Then P2 willalways win the K2,j .

Proof.

I Simple induction argument; base case j = 1 is a path oflength 2 with all edges weight 1, which we’ve seen is a P2

win. Notice for j = 2 we have an even cycle with the trivialeven path to an edge of minimum weight.

I Assume true for j ≤ n − 1. Start with ∆ = v1 and v2 theother vertex in the partite set of size 2. Suppose there are nvertices in the other partite set.

[]Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 54: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Bipartite graphs with ω(e) = 1

I TheoremLet G = K2,j for j ≥ 1 and ω(e) = 1 for each e ∈ K2,j . Assumethat ∆ is on a vertex in the partite set of size 2. Then P2 willalways win the K2,j .

Proof.

I Simple induction argument; base case j = 1 is a path oflength 2 with all edges weight 1, which we’ve seen is a P2

win. Notice for j = 2 we have an even cycle with the trivialeven path to an edge of minimum weight.

I Assume true for j ≤ n − 1. Start with ∆ = v1 and v2 theother vertex in the partite set of size 2. Suppose there are nvertices in the other partite set.

[]Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 55: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Bipartite graphs with ω(e) = 1

I TheoremLet G = K2,j for j ≥ 1 and ω(e) = 1 for each e ∈ K2,j . Assumethat ∆ is on a vertex in the partite set of size 2. Then P2 willalways win the K2,j .

Proof.

I Simple induction argument; base case j = 1 is a path oflength 2 with all edges weight 1, which we’ve seen is a P2

win. Notice for j = 2 we have an even cycle with the trivialeven path to an edge of minimum weight.

I Assume true for j ≤ n − 1. Start with ∆ = v1 and v2 theother vertex in the partite set of size 2. Suppose there are nvertices in the other partite set.

[]Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 56: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Bipartite graphs with ω(e) = 1

Proof.

I P1’s options are isomorphic to one of the vertices amongstv3, . . . , vj+2.

I P2 is forced to move to v2. The resulting graph is the K2,n−1which by inductive assumption P2 will win.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 57: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Bipartite graphs with ω(e) = 1

Proof.

I P1’s options are isomorphic to one of the vertices amongstv3, . . . , vj+2.

I P2 is forced to move to v2. The resulting graph is the K2,n−1which by inductive assumption P2 will win.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 58: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The SSB subgraph

I Assume ω(e) = 1 for all edges.

I Construct the SSBj graph of order j + 2 from the K2,j with anadditional edge between the vertices in the partite set of size2.

∆v1 •v2

•v3•v4•v5•v6•v7•v8

•v9•v10

•vj+2

···

··

TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

DDDDDDDDDDDDDDDDDDDDDDDDDDDD

:::::::::::::::::::::::::

1111111111111111111111

)))))))))))))))))))

yyyyyyyyyyyyyyyyyyy

FFFFFFFFFFFFFFFFFFF

5555555555555555555

))))))))))))))))))

��������������������

������������������������

yyyyyyyyyyyyyyyyyyyyyyyyyyy

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 59: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The SSB subgraph

I Corollary

The first player will win the SSBj for any j when ω(e) = 1 for alle ∈ E (SSBj) and ∆ is on v1 or v2.

I Proof.The first player removes e12 and lets P2 start on the K2,j with ∆on a vertex in the partite set of size two, guaranteeing P1 the winby the previous theorem.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 60: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The SSB subgraph

I Corollary

The first player will win the SSBj for any j when ω(e) = 1 for alle ∈ E (SSBj) and ∆ is on v1 or v2.

I Proof.The first player removes e12 and lets P2 start on the K2,j with ∆on a vertex in the partite set of size two, guaranteeing P1 the winby the previous theorem.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 61: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The SSB subgraph

LemmaAssume that G = Kn and that ω(e) = 1 for all e ∈ E (G ). ThenP1 can force P2 to move within the confines of an SSBn−2contained in Kn.

∆v1 •v2

•v3•v4•v5•v6•v7•v8

•v9•v10

•vn−2

···

··

TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

DDDDDDDDDDDDDDDDDDDDDDDDDDDD

:::::::::::::::::::::::::

1111111111111111111111

)))))))))))))))))))

yyyyyyyyyyyyyyyyyyy

FFFFFFFFFFFFFFFFFFF

5555555555555555555

))))))))))))))))))

��������������������

������������������������

yyyyyyyyyyyyyyyyyyyyyyyyyyy

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

The SSB strategyLindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 62: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The Complete Graph

I DefinitionWe say two distinct vertices are mutually adjacent if they havethe same set of neighbors and are neighbors themselves.

I DefinitionIf two adjacent vertices of degree k + 1 have k common neighbors,we will call them k-mutually adjacent.

I Thus saying a graph contains two k-mutually adjacentvertices implies that the graph contains an SSB subgraph oforder k . We will also speak of vertices that are k-mutuallyadjacent without being adjacent to each other. Notice thatthis implies the graph contains a K2,k subgraph.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 63: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The Complete Graph

I DefinitionWe say two distinct vertices are mutually adjacent if they havethe same set of neighbors and are neighbors themselves.

I DefinitionIf two adjacent vertices of degree k + 1 have k common neighbors,we will call them k-mutually adjacent.

I Thus saying a graph contains two k-mutually adjacentvertices implies that the graph contains an SSB subgraph oforder k . We will also speak of vertices that are k-mutuallyadjacent without being adjacent to each other. Notice thatthis implies the graph contains a K2,k subgraph.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 64: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The Complete Graph

I DefinitionWe say two distinct vertices are mutually adjacent if they havethe same set of neighbors and are neighbors themselves.

I DefinitionIf two adjacent vertices of degree k + 1 have k common neighbors,we will call them k-mutually adjacent.

I Thus saying a graph contains two k-mutually adjacentvertices implies that the graph contains an SSB subgraph oforder k . We will also speak of vertices that are k-mutuallyadjacent without being adjacent to each other. Notice thatthis implies the graph contains a K2,k subgraph.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 65: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Main Theorem

TheoremLet G be a graph with ω(e) = 1 for all e ∈ E (G ). If there exists atleast two mutually adjacent vertices in G with ∆ at one suchvertex, then P1 will win G.

Proof.

I If there are at least two mutually adjacent vertices in G thenthere is an SSB subgraph in G .

I By the previous Lemma, we know that P1 can keep P2 withinthe confines of the SSB since we assumed that ∆ was at oneof these mutually adjacent vertices.

I We know that P1 wins the SSB of any order, hence P1 winsG .

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 66: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Main Theorem

TheoremLet G be a graph with ω(e) = 1 for all e ∈ E (G ). If there exists atleast two mutually adjacent vertices in G with ∆ at one suchvertex, then P1 will win G.

Proof.

I If there are at least two mutually adjacent vertices in G thenthere is an SSB subgraph in G .

I By the previous Lemma, we know that P1 can keep P2 withinthe confines of the SSB since we assumed that ∆ was at oneof these mutually adjacent vertices.

I We know that P1 wins the SSB of any order, hence P1 winsG .

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 67: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Main Theorem

TheoremLet G be a graph with ω(e) = 1 for all e ∈ E (G ). If there exists atleast two mutually adjacent vertices in G with ∆ at one suchvertex, then P1 will win G.

Proof.

I If there are at least two mutually adjacent vertices in G thenthere is an SSB subgraph in G .

I By the previous Lemma, we know that P1 can keep P2 withinthe confines of the SSB since we assumed that ∆ was at oneof these mutually adjacent vertices.

I We know that P1 wins the SSB of any order, hence P1 winsG .

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 68: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The Complete Graph

I Corollary

P1 wins the complete graph of any order when each edge hasweight one.

I Proof.When n = 2 or 3 we have graphs that have been reduced to trivialwins for P1. Any two vertices in the Kn are (n − 2)-mutuallyadjacent. Thus for ∆ at any vertex, P1 will win the completegraph.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 69: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

The Complete Graph

I Corollary

P1 wins the complete graph of any order when each edge hasweight one.

I Proof.When n = 2 or 3 we have graphs that have been reduced to trivialwins for P1. Any two vertices in the Kn are (n − 2)-mutuallyadjacent. Thus for ∆ at any vertex, P1 will win the completegraph.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 70: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

On-going Research

I We now have a result for cubic graphs when ω(e) = 1:I P1 wins the Q2n+1 for any n ≥ 0I P2 wins the Q2n for any n ≥ 0

I Current research includes the complete graph with arbitraryweight. Results up to the K7 show that P1 will win.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 71: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

On-going Research

I We now have a result for cubic graphs when ω(e) = 1:I P1 wins the Q2n+1 for any n ≥ 0I P2 wins the Q2n for any n ≥ 0

I Current research includes the complete graph with arbitraryweight. Results up to the K7 show that P1 will win.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 72: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

Thanks!

Lindsay Merchant North Dakota State University The Game of Nim on Graphs

Page 73: The Game of Nim on Graphs · 2017. 11. 29. · Background in Game Theory Background in Nim Previous Research New Results The Game of Nim on Graphs Lindsay Merchant North Dakota State

Background in Game TheoryBackground in NimPrevious Research

New Results

Strategy for Even CyclesThe SSB GraphThe Complete Graph with ω(e) = 1

References

Elwyn R. Berlekamp, John H. Conway, and Richard K. Guy.Winning ways for your mathematical plays. Vol. 1.A K Peters Ltd., Natick, MA, second edition, 2001.

Masahiko Fukuyama.A Nim game played on graphs.Theoret. Comput. Sci., 304(1-3):387–399, 2003.

Masahiko Fukuyama.A Nim game played on graphs. II.Theoret. Comput. Sci., 304(1-3):401–419, 2003.

Lindsay Merchant North Dakota State University The Game of Nim on Graphs