ArticleslgStudy

mathematics

Nimber

Nimber is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Nimber rather than just read about it. In short: In mathematics, the nimbers, also called Grundy numbers (not to be confused with Grundy chromatic numbers), are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the same proper class as the ordinal numbers but endowed with nimber addition and nimber multiplication, which are distinct from ordinal addition and ordinal multiplication.

Nimber — main illustration
Nimber — illustration

Key takeaways

  • Nimber belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Nimber to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Nimber from memory before moving on to harder problems.

Reference excerpt

In mathematics, the nimbers, also called Grundy numbers (not to be confused with Grundy chromatic numbers), are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the same proper class as the ordinal numbers but endowed with nimber addition and nimber multiplication, which are distinct from ordinal addition and ordinal multiplication. Because of the Sprague–Grundy theorem which states that every impartial game is equivalent to a Nim heap of a certain size, nimbers arise in a much larger class of impartial games. They may also occur in partisan games like Domineering. The nimber addition and multiplication operations are associative and commutative. Each nimber is its own additive inverse. In particular for some pairs of ordinals, their nimber sum is smaller than either addend. The minimum excludant operation is applied to sets of nimbers.

Definition As a class, nimbers are indexed by ordinal numbers, and form a subclass of surreal numbers, introduced by John Conway as part of his theory of combinatorial games. However, nimbers are distinct from ordinal and surreal numbers in that they follow distinct arithmetic rules, nim-addition and nim-multiplication. Other than that they are a proper class rather than a set, nimbers form a field under nim-addition and nim-multiplication. The field of nimbers is denoted On2. As a set, finite nimbers can be put in one-to-one correspondence with finite ordinal numbers, which are the natural numbers. Nonetheless, their arithmetic structures are not isomorphic; nimber arithmetic fundamentally differs from ordinary arithmetic operations on natural numbers. Nimbers are often denoted using a star notation { ∗ 0 , ∗ 1 , ∗ 2 , . . . , ∗ ω , ∗ ( ω + 1 ) , . . . } {\displaystyle \{*0,*1,*2,...,*\omega ,*(\omega +1),...\}} . Alternatively, expressions that are interpreted as ordinary arithmetic are customarily enclosed in square brackets; for example, 2 2 = ∗ ( 2 ) 2 = 3 {\displaystyle 2^{2}=*(2)^{2}=3} in nim-multiplication, but [ 2 2 ] = ∗ ( 2 2 ) = 4 {\displaystyle [2^{2}]=*(2^{2})=4} .

Uses

Nim

Nim is a game in which two players take turns removing objects from distinct heaps. As moves depend only on the position and not on which of the two players is currently moving, and where the payoffs are symmetric, Nim is an impartial game. On each turn, a player must remove at least one object, and may remove any number of objects provided they all come from the same heap. The goal of the game is to be the player who removes the last object. The nimber of a heap is simply the number of objects in that heap. Using nim addition, one can calculate the nimber of the game as a whole. The winning strategy is to force the nimber of the game to 0 for the opponent's turn.

Cram

Cram is a game often played on a rectangular board in which players take turns placing dominoes either horizontally or vertically until no more dominoes can be placed. The first player that cannot make a move loses. As the possible moves for both players are the same, it is an impartial game and can have a nimber value. For example, any board that is an even size by an even size will have a nimber of 0. Any board that is even by odd will have a non-zero nimber. Any 2 × n board will have a nimber of 0 for all even n and a nimber of 1 for all odd n.

Northcott's game In Northcott's game, pegs for each player are placed along a column with a finite number of spaces. Each turn each player must move the piece up or down the column, but may not move past the other player's piece. Several columns are stacked together to add complexity. The player that can no longer make any moves loses. Unlike many other nimber related games, the number of spaces between the two tokens on each row are the sizes of the Nim heaps. If your opponent increases the number of spaces between two tokens, just decrease it on your next move. Else, play the game of Nim and make the Nim-sum of the number of spaces between the tokens on each row be 0.

Hackenbush

Hackenbush is a game invented by mathematician John Conway. It may be played on any configuration of colored line segments connected to one another by their endpoints and to a "ground" line. Players take turns removing line segments. An impartial game version, thereby a game able to be analyzed using nimbers, can be found by removing distinction from the lines, allowing either player to cut any branch. Any segments reliant on the newly removed segment in order to connect to the ground line are removed as well. In this way, each connection to the ground can be considered a nim heap with a nimber value. Additionally, all the separate connections to the ground line can also be summed for a nimber of the game state.

Addition Nimber addition (also known as nim-addition) can be used to calculate the size of a single nim heap equivalent to a collection of nim heaps. It is defined recursively by

α ⊕ β = mex ( { α ′ ⊕ β : α ′ < α } ∪ { α ⊕ β ′ : β ′ < β } ) , {\displaystyle \alpha \oplus \beta =\operatorname {mex} \!{\bigl (}\{\alpha '\oplus \beta :\alpha '<\alpha \}\cup \{\alpha \oplus \beta ':\beta '<\beta \}{\bigr )},}

… excerpt ends here. Continue reading the full article.

Illustrations

Nimber: Nimber multiplication (sequence A051775 in the OEIS)The nonzero elements form the Cayley table of Z15.The small matrices are permuted binary Walsh matrices.
Nimber multiplication (sequence A051775 in the OEIS)The nonzero elements form the Cayley table of Z15.The small matrices are permuted binary Walsh matrices.
Nimber: Nimber multiplication of powers of two (sequence A223541 in the OEIS)Calculating the nim-products of powers of two is a decisive point in the recursive algorithm of nimber-multiplication.
Nimber multiplication of powers of two (sequence A223541 in the OEIS)Calculating the nim-products of powers of two is a decisive point in the recursive algorithm of nimber-multiplication.

Worked examples

Example 1 — a first encounter with Nimber

Start with the simplest possible case. Write down what Nimber claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Nimber before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Nimber ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Nimber

In research
Nimber appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Nimber in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Nimber is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorial game theory, Finite fields, Ordinal numbers, so understanding it makes those chapters shorter.
In everyday life
Look for Nimber outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Nimber in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Nimber means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Nimber out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Nimber in simple terms?

In mathematics, the nimbers, also called Grundy numbers (not to be confused with Grundy chromatic numbers), are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the same proper class as the ordinal numbers but endowed with nimbe…

Why does Nimber matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Nimber?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Nimber.

Tags

  • Combinatorial game theory
  • Finite fields
  • Ordinal numbers

Keep exploring