Additive Subtraction Games

This paper provides the first complete proof of a closed formula involving Beatty-type bracket expressions for determining P-positions in additive subtraction games within the primitive quadratic regime, while also establishing that the full nim-value structure resides on linear shifts of these classical P-positions.

Urban Larsson, Hikaru Manabe

Published Thu, 12 Ma
📖 5 min read🧠 Deep dive

Imagine you are playing a game with a giant pile of stones. You and a friend take turns removing stones, but there's a catch: you can only remove specific numbers of stones at a time. Let's say the rules say you can only take aa, bb, or a+ba+b stones.

This is a Subtraction Game. The goal is to be the last person to move. If you are stuck and can't make a move (because there aren't enough stones left to match your allowed moves), you lose.

Mathematicians love these games because they can predict exactly who will win if both players play perfectly. They do this by assigning a "score" (called a Nim-value) to every possible pile size:

  • 0: You are in trouble. If it's your turn and the pile is this size, you will lose (assuming your opponent plays perfectly). These are called P-positions (Previous player winning).
  • 1, 2, 3: You are in a winning spot. You can make a move to force your opponent into a "0" spot.

The Big Mystery

For a long time, mathematicians knew the rules for simple versions of this game. But for a specific, slightly more complex version (called the "primitive quadratic regime"), they had a secret formula that seemed to work perfectly, but no one had ever proven it was actually true.

It was like having a map to a treasure that everyone used, but no one knew how the map was drawn. This paper finally draws the map and proves why it works.

The "Magic Formula" (The Beatty Bracket)

The authors focus on a specific relationship between the numbers aa and bb. They set b=a+δb = a + \delta, where δ\delta is a number slightly larger than aa but less than twice aa.

They found that the "losing piles" (the 0s) follow a very strange, rhythmic pattern described by a formula that looks like this:
wn=n+a×na+b×nδw_n = n + a \times \lfloor \frac{n}{a} \rfloor + b \times \lfloor \frac{n}{\delta} \rfloor

The Analogy: Imagine you are walking down a street.

  • Every time you take a step (nn), you move forward 1 block.
  • But, every time you pass a specific landmark (every aa blocks), you get a "bonus jump" of aa blocks.
  • And every time you pass a different landmark (every δ\delta blocks), you get another "bonus jump" of bb blocks.

The formula tells you exactly where you land after nn steps. The authors proved that if you land on these specific spots, you are in a losing position.

The Four Zones of the Game

The most exciting part of the paper is that they didn't just find the losing spots (0s); they figured out the entire landscape of the game. They discovered that every single pile size in the universe of this game falls into exactly one of four categories, like four different colored zones on a map:

  1. Zone 0 (The Trap): The losing spots found by the magic formula.
  2. Zone 1 (The Easy Win): These are just the Zone 0 spots, but shifted forward by aa. If you are here, you can just take aa stones and dump your opponent into Zone 0.
  3. Zone 2 (The Medium Win): These are the Zone 0 spots, but shifted backward by bb. If you are here, you can take bb stones to land in Zone 0.
  4. Zone 3 (The Tricky Win): This is the most complex zone. It's a mix of spots that are "almost" Zone 0 but shifted by a different amount.

The "Tetris" Metaphor:
Imagine the game board is a long strip of tiles. The authors proved that if you take the pattern of "losing tiles" (Zone 0) and slide copies of it to the right and left, these four patterns fit together perfectly like Tetris blocks. They fill the entire strip without any gaps and without any overlaps. Every single number belongs to exactly one zone.

How They Solved It: The "Gap" Detective Work

How did they prove this? They looked at the gaps between the losing numbers.

  • In a simple game, the gaps between losing numbers are always the same (like 1, 1, 1, 1).
  • In this complex game, the gaps are a mix of four different sizes: small steps (1), medium steps (a+1a+1), and big jumps.

The authors realized these gaps follow a strict rhythm based on the remainders of numbers when divided by aa and δ\delta. They treated the problem like a puzzle:

  1. They counted how many times the "losing spots" would accidentally overlap if you shifted the pattern by a certain amount (specifically by δ\delta).
  2. They used a clever counting method (involving "collision windows") to prove that the number of overlaps was exactly what was needed to make the four zones fit together perfectly.

Why Does This Matter?

  1. It Solves a 40-Year-Old Mystery: This formula appeared in the famous book Winning Ways for Your Mathematical Plays in 1982, but it was just a claim. This paper provides the first rigorous proof.
  2. It Reveals Hidden Order: It shows that even in games that look chaotic and complex, there is a deep, beautiful mathematical structure (rhythms and patterns) that governs the outcome.
  3. It Opens New Doors: The techniques they used to count these "collisions" might help solve other complex games or even problems in pure number theory that have nothing to do with games.

In a Nutshell

The authors took a complex game, found a secret rhythm that determines who wins, and proved that this rhythm divides the entire game into four perfect, non-overlapping zones. They did it by acting like detectives, counting the tiny gaps between the winning and losing moves to show that the pieces fit together like a perfect puzzle.