Misplaced Pages

Nimber: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:48, 8 September 2010 editLambiam (talk | contribs)Autopatrolled, Extended confirmed users, Page movers63,553 editsm Properties: hyphen← Previous edit Revision as of 22:23, 6 February 2011 edit undoWatchduck (talk | contribs)Extended confirmed users3,045 edits Addition and multiplication tables: included binary numbers in the tablesNext edit →
Line 29: Line 29:


== Addition and multiplication tables == == Addition and multiplication tables ==
The following tables exhibit addition and multiplication among the first 16 nimbers. (This subset is closed under both operations, since 16 is of the form&nbsp;2<sup>2<sup>''n''</sup></sup>.) The following tables exhibit addition and multiplication among the first 16 nimbers. <br>
This subset is closed under both operations, since 16 is of the form&nbsp;2<sup>2<sup>''n''</sup></sup>
<small>(When you prefer simple text tables - thy are .)</small>


{| class="wikitable" style="text-align:right"
|+ Nimber addition
|-
! +
! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 !! 13 !! 14 !! 15
|-
! 0
| 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15
|-
! 1
| 1 || 0 || 3 || 2 || 5 || 4 || 7 || 6 || 9 || 8 || 11 || 10 || 13 || 12 || 15 || 14
|-
! 2
| 2 || 3 || 0 || 1 || 6 || 7 || 4 || 5 || 10 || 11 || 8 || 9 || 14 || 15 || 12 || 13
|-
! 3
| 3 || 2 || 1 || 0 || 7 || 6 || 5 || 4 || 11 || 10 || 9 || 8 || 15 || 14 || 13 || 12
|-
! 4
| 4 || 5 || 6 || 7 || 0 || 1 || 2 || 3 || 12 || 13 || 14 || 15 || 8 || 9 || 10 || 11
|-
! 5
| 5 || 4 || 7 || 6 || 1 || 0 || 3 || 2 || 13 || 12 || 15 || 14 || 9 || 8 || 11 || 10
|-
! 6
| 6 || 7 || 4 || 5 || 2 || 3 || 0 || 1 || 14 || 15 || 12 || 13 || 10 || 11 || 8 || 9
|-
! 7
| 7 || 6 || 5 || 4 || 3 || 2 || 1 || 0 || 15 || 14 || 13 || 12 || 11 || 10 || 9 || 8
|-
! 8
| 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7
|-
! 9
| 9 || 8 || 11 || 10 || 13 || 12 || 15 || 14 || 1 || 0 || 3 || 2 || 5 || 4 || 7 || 6
|-
! 10
| 10 || 11 || 8 || 9 || 14 || 15 || 12 || 13 || 2 || 3 || 0 || 1 || 6 || 7 || 4 || 5
|-
! 11
| 11 || 10 || 9 || 8 || 15 || 14 || 13 || 12 || 3 || 2 || 1 || 0 || 7 || 6 || 5 || 4
|-
! 12
| 12 || 13 || 14 || 15 || 8 || 9 || 10 || 11 || 4 || 5 || 6 || 7 || 0 || 1 || 2 || 3
|-
! 13
| 13 || 12 || 15 || 14 || 9 || 8 || 11 || 10 || 5 || 4 || 7 || 6 || 1 || 0 || 3 || 2
|-
! 14
| 14 || 15 || 12 || 13 || 10 || 11 || 8 || 9 || 6 || 7 || 4 || 5 || 2 || 3 || 0 || 1
|-
! 15
| 15 || 14 || 13 || 12 || 11 || 10 || 9 || 8 || 7 || 6 || 5 || 4 || 3 || 2 || 1 || 0
|}


] of ] - or the table of ] ] operations.]]


{| class="wikitable" style="text-align:right"
|+ Nimber multiplication
|-
! &times;
! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 !! 13 !! 14 !! 15
|-
! 0
| 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0 || 0
|-
! 1
| 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15
|-
! 2
| 0 || 2 || 3 || 1 || 8 || 10 || 11 || 9 || 12 || 14 || 15 || 13 || 4 || 6 || 7 || 5
|-
! 3
| 0 || 3 || 1 || 2 || 12 || 15 || 13 || 14 || 4 || 7 || 5 || 6 || 8 || 11 || 9 || 10
|-
! 4
| 0 || 4 || 8 || 12 || 6 || 2 || 14 || 10 || 11 || 15 || 3 || 7 || 13 || 9 || 5 || 1
|-
! 5
| 0 || 5 || 10 || 15 || 2 || 7 || 8 || 13 || 3 || 6 || 9 || 12 || 1 || 4 || 11 || 14
|-
! 6
| 0 || 6 || 11 || 13 || 14 || 8 || 5 || 3 || 7 || 1 || 12 || 10 || 9 || 15 || 2 || 4
|-
! 7
| 0 || 7 || 9 || 14 || 10 || 13 || 3 || 4 || 15 || 8 || 6 || 1 || 5 || 2 || 12 || 11
|-
! 8
| 0 || 8 || 12 || 4 || 11 || 3 || 7 || 15 || 13 || 5 || 1 || 9 || 6 || 14 || 10 || 2
|-
! 9
| 0 || 9 || 14 || 7 || 15 || 6 || 1 || 8 || 5 || 12 || 11 || 2 || 10 || 3 || 4 || 13
|-
! 10
| 0 || 10 || 15 || 5 || 3 || 9 || 12 || 6 || 1 || 11 || 14 || 4 || 2 || 8 || 13 || 7
|-
! 11
| 0 || 11 || 13 || 6 || 7 || 12 || 10 || 1 || 9 || 2 || 4 || 15 || 14 || 5 || 3 || 8
|-
! 12
| 0 || 12 || 4 || 8 || 13 || 1 || 9 || 5 || 6 || 10 || 2 || 14 || 11 || 7 || 15 || 3
|-
! 13
| 0 || 13 || 6 || 11 || 9 || 4 || 15 || 2 || 14 || 3 || 8 || 5 || 7 || 10 || 1 || 12
|-
! 14
| 0 || 14 || 7 || 9 || 5 || 11 || 2 || 12 || 10 || 4 || 13 || 3 || 15 || 1 || 8 || 6
|-
! 15
| 0 || 15 || 5 || 10 || 1 || 14 || 4 || 11 || 2 || 13 || 7 || 8 || 3 || 12 || 6 || 9
|}


] rows and columns from ], showing ] operations. The elements on the main diagonal are in ] order.]]
A more useful way of representing the addition and multiplication tables is to write each number in binary, and decompose it into powers of 2. Define ''e''<sub>''n''</sub> as the nimber ''2''<sup>''n''</sup>. The only simplifying rule for addition is that for all ''n'', ''e''<sub>''n''</sub> + ''e''<sub>''n''</sub> = 0.


==References== ==References==

Revision as of 22:23, 6 February 2011

In mathematics, the proper class of nimbers (occasionally called Grundy numbers) is introduced in combinatorial game theory, where they are defined as the values of nim heaps, but arise in a much larger class of games because of the Sprague–Grundy theorem. It is the proper class of ordinals endowed with a new nimber addition and nimber multiplication, which are distinct from ordinal addition and ordinal multiplication.

Properties

The Sprague–Grundy theorem states that every impartial game is equivalent to a nim heap of a certain size. Nimber addition (also known as nim-addition) can be used to calculate the size of a single heap equivalent to a collection of heaps. It is defined recursively by

α + β = mex ( { α + β : α < α } { α + β : β < β } ) , {\displaystyle \alpha +\beta =\operatorname {mex} (\{\,\alpha '+\beta :\alpha '<\alpha \,\}\cup \{\,\alpha +\beta ':\beta '<\beta \,\}),}

where for a set S of ordinals, mex(S) is defined to be the "minimum excluded ordinal", i.e. mex(S) is the smallest ordinal which is not an element of S. For finite ordinals, the nim-sum is easily evaluated on computer by taking the exclusive-or of the corresponding numbers (whereby the numbers are given their binary expansions, and the binary expansion of (x xor y) is evaluated bit-wise).

Nimber multiplication (nim-multiplication) is defined recursively by

α β = mex{α ′ β + α β ′ − α ′ β ′ : α ′ < α, β ′ < β} = mex{α ′ β + α β ′ + α ′ β ′ : α ′ < α, β ′ < β}.

Except for the fact that nimbers form a proper class and not a set, the class of nimbers determines an algebraically closed field of characteristic 2. The nimber additive identity is the ordinal 0, and the nimber multiplicative identity is the ordinal 1. In keeping with the characteristic being 2, the nimber additive inverse of the ordinal α is α itself. The nimber multiplicative inverse of the nonzero ordinal α is given by 1/α = mex(S), where S is the smallest set of ordinals (nimbers) such that

  1. 0 is an element of S;
  2. if 0 < α ′ < α and β ′ is an element of S, then /α ′ is also an element of S.

For all natural numbers n, the set of nimbers less than 2 form the Galois field GF(2) of order 2.

In particular, this implies that the set of finite nimbers is isomorphic to the direct limit of the fields GF(2), for each positive n. This subfield is not algebraically closed, however.

Just as in the case of nimber addition, there is a means of computing the nimber product of finite ordinals. This is determined by the rules that

  1. The nimber product of distinct Fermat 2-powers (numbers of the form 2) is equal to their ordinary product;
  2. The nimber square of a Fermat 2-power x is equal to 3x/2 as evaluated under the ordinary multiplication of natural numbers.

The smallest algebraically closed field of nimbers is the set of nimbers less than the ordinal ω, where ω is the smallest infinite ordinal. It follows that as a nimber, ω is transcendental over the field.

Addition and multiplication tables

The following tables exhibit addition and multiplication among the first 16 nimbers.
This subset is closed under both operations, since 16 is of the form 2 (When you prefer simple text tables - thy are here.)


Nimber addition - The small matrices show the single digits of the binary numbers.
This is also the Cayley table of Z2 - or the table of bitwise XOR operations.


Nimber multiplication - The small matrices differ only by exchanged rows and columns from this one, showing XOR operations. The elements on the main diagonal are in Gray code order.

References

Categories: