📄 nim -- from wolfram mathworld.htm
字号:
<DIV
style="PADDING-BOTTOM: 10px; MARGIN-LEFT: 20px; PADDING-TOP: 10px"><IMG
height=12 alt="last updated"
src="Nim -- from Wolfram MathWorld.files/last-updated.gif"
width=61 border=0><BR><SPAN class=last-updated><A
href="http://mathworld.wolfram.com/whatsnew/">12,610
entries</A><BR><A
href="http://mathworld.wolfram.com/whatsnew/">Thu Jul 13
2006</A><BR></SPAN><BR><A
onmouseover="MM_swapImage('Image1','','/images/sidebar/created-by-over.gif',1)"
onmouseout=MM_swapImgRestore()
href="http://mathworld.wolfram.com/about/author.html"><IMG
id=Image1
title="Created, developed, and nurtured by Eric Weisstein with contributions from the world's mathematical community"
height=49
alt="Created, developed, and nurtured by Eric Weisstein with contributions from the world's mathematical community"
src="Nim -- from Wolfram MathWorld.files/created-by.gif"
width=120 border=0 name=Image1></A>
</DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><MAP id=SideMap
name=SideMap><AREA shape=RECT alt="Wolfram Research" coords=11,31,97,46
href="http://www.wolfram.com/"><AREA shape=RECT alt="Eric W. Weisstein"
coords=3,3,118,30 href="http://mathworld.wolfram.com/author.html"></MAP><!-- End Sidebar --></TD>
<TD><IMG alt="" src="Nim -- from Wolfram MathWorld.files/spacer.gif"
width=30></TD>
<TD>
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top align=left width="100%">
<DIV class=navbar><A
href="http://mathworld.wolfram.com/topics/RecreationalMathematics.html">Recreational
Mathematics</A> > <A
href="http://mathworld.wolfram.com/topics/Games.html">Games</A> > <A
href="http://mathworld.wolfram.com/topics/GeneralGames.html">General
Games</A> <BR></DIV><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD class=title vAlign=baseline><SPAN
class=nowrap>Nim</SPAN></TD></TR>
<TR>
<TD vAlign=top><SPAN class=nowrap><IMG height=3 alt=""
src="Nim -- from Wolfram MathWorld.files/underline.gif"
width="100%"><IMG height=3 alt=""
src="Nim -- from Wolfram MathWorld.files/underline.gif"
width=20></SPAN></TD>
<TD><IMG height=15 alt=""
src="Nim -- from Wolfram MathWorld.files/spacer.gif"></TD></TR></TBODY></TABLE></TD></TR>
<TR vAlign=top>
<TD width="100%"><A href="http://mathworld.wolfram.com/contact/"
target=_blank><IMG height=25 alt="COMMENT On this Page"
src="Nim -- from Wolfram MathWorld.files/comment.gif" width=98
border=0></A>
<DIV align=center><IMG height=146 alt=Marienbad
src="Nim -- from Wolfram MathWorld.files/Marienbad_1000.gif"
width=326> </DIV>
<P class=Text>A game, also called <A class=Hyperlink
href="http://mathworld.wolfram.com/Tactix.html">tactix</A>, which is
played by the following rules. Given one or more piles (<A
class=Hyperlink
href="http://mathworld.wolfram.com/Nim-Heap.html">nim-heaps</A>),
players alternate by taking all or some of the counters in a single
heap. The player taking the last counter or stack of counters is the
winner. Nim-like games are also called <A class=Hyperlink
href="http://mathworld.wolfram.com/Take-AwayGame.html">take-away
games</A> and <A class=Hyperlink
href="http://mathworld.wolfram.com/DisjunctiveGame.html">disjunctive
games</A>. If optimal strategies are used, the winner can be
determined from any intermediate position by its associated <A
class=Hyperlink
href="http://mathworld.wolfram.com/Nim-Value.html">nim-value</A>.
The <A class=Hyperlink
href="http://mathworld.wolfram.com/Nim-Heap.html">nim-heap</A>
illustrated above corresponds to the game of <A class=Hyperlink
href="http://mathworld.wolfram.com/Marienbad.html">Marienbad</A>.
</P>
<FORM name=SearchLinks action=http://mathworld.wolfram.com/search/
method=post>
<P class=CrossRefs><SPAN class=crosslinkheader>SEE ALSO:</SPAN> <A
class=Hyperlink
href="http://mathworld.wolfram.com/Marienbad.html">Marienbad</A>, <A
class=Hyperlink
href="http://mathworld.wolfram.com/Misere-FormGame.html">Mis鑢e-Form
Game</A>, <A class=Hyperlink
href="http://mathworld.wolfram.com/Nim-Value.html">Nim-Value</A>, <A
class=Hyperlink
href="http://mathworld.wolfram.com/WythoffsGame.html">Wythoff's
Game</A>. <INPUT type=hidden
value=http://mathworld.wolfram.com/Nim.html name=as_lq><A
href="javascript:document.forms.SearchLinks.submit();">[Pages Linking Here]</A>
</P></FORM>
<P><IMG height=3 alt=""
src="Nim -- from Wolfram MathWorld.files/underline.gif" width=300>
</P><SPAN class=crosslinkheader>REFERENCES:</SPAN>
<P class=Reference>Ball, W. W. R. and Coxeter, H. S. M. <I><A
class=Hyperlink
href="http://www.amazon.com/exec/obidos/ASIN/0486253570/ref=nosim/weisstein-20">Mathematical
Recreations and Essays, 13th ed.</A></I> New York: Dover, pp. 36-38,
1987. </P>
<P class=Reference>Bewersdorff, J. "Nim: The Easy Winner!" Ch. 21 in
<I><A class=Hyperlink
href="http://www.amazon.com/exec/obidos/ASIN/1568812108/ref=nosim/weisstein-20">Luck,
Logic, & White Lies: The Mathematics of Games.</A></I>
Wellesley, MA: A. K. Peters, pp. 169-173, 2005. </P>
<P class=Reference>Bogomolny, A. "The Game of Nim." <A
class=Hyperlink
href="http://www.cut-the-knot.org/nim_st.shtml"><TT>http://www.cut-the-knot.org/nim_st.shtml</TT></A>.
</P>
<P class=Reference>Bouton, C. L. "Nim, A Game with a Complete
Mathematical Theory." <I>Ann. Math. Princeton</I> <B>3</B>, 35-39,
1901-1902. </P>
<P class=Reference>Gardner, M. "Mathematical Games: Concerning the
Game of Nim and Its Mathematical Analysis." <I>Sci. Amer.</I>
<B>198</B>, 104-111, Feb. 1958. </P>
<P class=Reference>Gardner, M. "Nim and Hackenbush." Ch. 14 in <I><A
class=Hyperlink
href="http://www.amazon.com/exec/obidos/ASIN/0716715899/ref=nosim/weisstein-20">Wheels,
Life, and other Mathematical Amusements.</A></I> New York: W. H.
Freeman, pp. 142-151, 1983. </P>
<P class=Reference>Hardy, G. H. and Wright, E. M. <I><A
class=Hyperlink
href="http://www.amazon.com/exec/obidos/ASIN/0198531710/ref=nosim/weisstein-20">An
Introduction to the Theory of Numbers, 5th ed.</A></I> Oxford,
England: Oxford University Press, pp. 117-120, 1990. </P>
<P class=Reference>Kraitchik, M. "Nim."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -