<head><title>Source File</title></head><body>\documentclass[12pt]{article}
<br>\textwidth= 6.25in
<br>\textheight= 9.0in
<br>\topmargin = -10pt
<br>\evensidemargin=10pt
<br>\oddsidemargin=10pt
<br>\headsep=25pt
<br>\parskip=10pt
<br>\font\smallit=cmti10
<br>\font\smalltt=cmtt10
<br>\font\smallrm=cmr9 
<br>
<br>\begin{document} 
<br>
<br>\begin{center}
<br>{\bf IMPROVEMENTS ON CHOMP}
<br>\vskip 20pt
<br>{\bf Xinyu Sun}\\
<br>{\smallit Department of Mathematics, Temple University, Philadelphia, PA 19122, USA}\\
<br>{\tt xysun@math.temple.edu}
<br>\end{center}
<br>\vskip 30pt
<br>\centerline{\smallit Received:  10/16/01,
<br>Revised:  4/29/02, Accepted:  5/17/02, Published:  5/20/02 }
<br>\vskip 30pt 
<br>
<br>\centerline{\bf Abstract}
<br>
<br>\noindent
<br>The article extends the maple program in \cite{TC}
<br>by calculating $\mathcal{P}$-positions with arbitrary number of 
<br>rows versus three rows. It also presents 
<br>a formula similar to the one in \cite{WW} by allowing the second 
<br>column to have three pieces.
<br>
<br>\pagestyle{myheadings}
<br>\markright{\smalltt INTEGERS: \smallrm ELECTRONIC JOURNAL 
<br>OF COMBINATORIAL NUMBER THEORY \smalltt 2 (2002), \#G01\hfill}
<br>
<br>\thispagestyle{empty} \baselineskip=15pt \vskip 30pt
<br>
<br>\section*{\normalsize 1. Introduction}
<br>%\section{Introduction}
<br>
<br>Chomp \cite{CH} is a two-player game that starts out with an $M$ by $N$ chocolate bar, in which 
<br>the square on the top-left corner is poisonous. A player must name a remaining square, and eat 
<br>it together with all the squares below and/or to the right of it. Whoever eats the 
<br>poisonous one (top-left) loses. The game can also be interpreted as two players 
<br>alternately naming a divisor of a given number $N$, which may not be multiples of 
<br>previously named numbers. Whoever names 1 loses. 
<br>
<br>An example, given in \cite{WW}, shows if $N = 16 \times 27$, we have a chocolate bar 
<br>like the following:
<br>
<br>\begin{tabular}{lllll}
<br>1   & 2   & 4   & 8   & 16    \\
<br>3   & 6   & 12  & 24  & 48    \\
<br>9   & 18  & 36  & 72  & 144   \\
<br>27  & 54  & 108 & 216 & 432   \\
<br>\end{tabular}
<br>
<br>Thus, naming number 24 is to eat all the squares that are multiples of 24, i.e. 
<br>the squares below and/or to the right of it.
<br>
<br>With infinite two-dimensional Chomp, the result is obvious, the first player eats 
<br>the square at $2 \times 2$, then mimics his opponent's move by eating the same 
<br>number of squares on the $X$-axis as his opponent eats on the $Y$-axis, and vice versa.
<br>David Gale offers a prize of \$100.00 for the first complete analysis of 3D-Chomp, 
<br>i.e. where $N$ has three distinct prime divisors, raised to arbitrary high powers \cite{GC}.
<br>As easy and lucrative as it seems, nobody has a complete analysis of FINITE 2D-Chomp yet!
<br>
<br>\vskip 30pt
<br>
<br>\section*{\normalsize 2. What Do We Know}
<br>%\section{What Do We Know}
<br>
<br>Some trivial results can be easily seen. For example, any rectangular position is 
<br>an $\mathcal{N}$-position; any $\mathcal{P}$-position with two rows must look like
<br>$(\alpha, \alpha-1)$ $(\alpha>1)$, i.e.  
<br>positions with $\alpha$ squares in the first row, and $\alpha - 1$ squares the second. 
<br>An $\mathcal{N}$-position 
<br>does not necessarily have a unique winning move either. For example, (3, 2, 1) has three winning moves, 
<br>(3, 1, 1), (2, 2, 1), and (3, 2). 
<br>Ken Thompson found that $4\times 5$ and $5\times 2$ both are the winning moves for $8\times 10$ \cite{WW}.
<br>
<br>Some of the $\mathcal{P}$-positions are given in \cite{WW}. The author calculated some three-rowed 
<br>and four-rowed $\mathcal{P}$-positions with the help of computers. Doron Zeilberger gives 
<br>a computer program that finds patterns for three-rowed Chomp with the third row 
<br>fixed in  \cite{TC}. The most complete result for special cases of Chomp with more than three rows 
<br>was given in \cite{WW}:
<br>for a Chomp position with $x$ rows, and $a$ squares in the first row, $b$ squares in the 
<br>second, and one square for the rest of the rows, to be a $\mathcal{P}$-position it must have 
<br>the following form:
<br>\begin{displaymath}
<br>x = \left\{
<br>\begin{array}{ll}
<br>\lfloor \frac{2  a + b}{2} \rfloor									&	if\ a + b\ even \\[2mm]
<br>min\{ \lceil \frac{2a - b}{2} \rceil, \lceil  \frac{3(a - b)}{2} \rceil \}	&	 if\ a + b\ odd
<br>\end{array}
<br>\right.
<br>\end{displaymath}
<br>
<br>%\begin{verbatim}
<br>%   X X X X X X X X X X X X X     a
<br>%   X X X X X                     b
<br>%   X
<br>%   X
<br>%   X
<br>%
<br>%   x
<br>%\end{verbatim}
<br>
<br>%So what makes it so hard? As pointed out in \cite{TC}, it is impossible to 
<br>%find a polynomial-time algorithm for Chomp. The answer looks trivial for two-rowed 
<br>%Chomp, but impossible for the three-rowed. No matter how much we calculate with 
<br>%existing computer programs, we are still the same distance away from infinity.
<br>%But with the help of computers, we are able to achieve something that was not 
<br>%available: large number of results that was impossible to calculate by hand, and 
<br>%they will eventually lead us to the final answer (we hope).
<br>
<br>\vskip 30pt
<br>
<br>\section*{\normalsize 3. Results}
<br>%\section{Results}
<br>
<br>In this section we adopt the notation used in both \cite{WW} and \cite{TC}, namely
<br>we use $[a, b, c]$ to represent a three-rowed Chomp position with $a + b + c$
<br>squares in the first row, $a + b$ in the second, $a$ in the third. So, we are writing Chomp 
<br>positions ``upside down''.
<br>
<br>As we know, the formula for two-rowed $\mathcal{P}$-positions are trivial, i.e. $[a, 1] \ (a > 0)$. And, it looks 
<br>simple for three-rowed, with the third row fixed, since it always appears to 
<br>be [$a, b + x, c$], where 
<br>$a, b, c$ are fixed integers and $x$ is a symbolic variable for all non-negative 
<br>integers. The simplest example might be [2, $x$, 2], which characterizes [2, 0, 2], 
<br>[2, 1, 2], [2, 2, 2], [2, 3, 2] ... as $\mathcal{P}$-positions.
<br>
<br>The author created a Maple program to calculate Chomp $\mathcal{P}$-positions of 
<br>arbitrary number of rows and columns (to the limit of computers, of course). To our pleasure, 
<br>things do get more complicated with more rows. Instead of having symbolic 
<br>variables whose coefficients are 1 as in three-rowed Chomp, we can have coefficients larger than 1. 
<br>For example, if the value of the bottom two rows of a four-rowed Chomp position 
<br>is [2, 2], it is a $\mathcal{P}$-position only when it is one of the following: [2, 2, 1, 3], 
<br>[2, 2, 2, 3], [2, 2, $3+2x$, 4], [2, 2, $4+2x$, 2]. So in this case, instead of
<br>having one pattern for positions with a large number of squares, we have patterns 
<br>that compliment each other, and yield the final formula.
<br>
<br>To minimize the computational complexity, we fix the bottom $k-2$ rows 
<br>of positions with $k$ rows, 
<br>and try to find the appropriate formula. As shown in \cite{TC}, we use formal 
<br>power series to calculate $\mathcal{P}$-positions. Every Chomp position can be represented 
<br>as a monomial in the formal power series $1/(1 - x_1)... (1 - x_{k})$. For example, [2, 0, 2] 
<br>will be $x_1^{2} x_2^{2} x_{3}^{4}$ (remember we are reading the Chomp positions upside down). 
<br>Now we can define weight on Chomp positions. For a position $[x_1, ... , x_{k}]$, 
<br>we define $x_{k}$ has weight 1, $x_{k-1}$ has weight 2, and so on. It is easily seen that 
<br>the weight is the exact number of squares the position has. Since we are fixing
<br>all the rows except two, we are going to have a formal power series generating 
<br>function that requires only two variables. So we have a generating function,
<br>\begin{displaymath}
<br>\frac{1}{(1-x_1)(1-x_2)} - 1
<br>- \sum_{[y_1,y_2, \dots ,y_{k-2},w_1,w_2] \in \mathcal{P}
<br>	\atop{[y_1,y_2, \dots ,y_{k-2},w_1,w_2] \in \mathcal{N}}} x_1^{w_1}x_2^{w_2}
<br>\end{displaymath}
<br>where [$y_1$, $y_2$, \dots, $y_{k-2}$] are the fixed bottom rows, 
<br>$\mathcal{P}$ is the set of all known $\mathcal{P}$-positions, 
<br>$\mathcal{N}$ is the set of all $\mathcal{N}$-positions derived from $\mathcal{P}$. 
<br>Once we find a new $\mathcal{P}$-position, we 
<br>update the generating function by inserting the new position into $\mathcal{P}$ and updating
<br>$\mathcal{N}$ correspondingly. The next $\mathcal{P}$-position will be the monomial 
<br>with a positive coefficient and the 
<br>least weight. Of course, during the calculation, positions might be deducted
<br>from the formal series multiple times, e.g. [1, 1, 1] ((3, 2, 1) if we use the original
<br>notation), but all this does is to change the coefficient from 1 to a negative 
<br>number instead of 0, which does not have any effect on our result.
<br>
<br>Since we do not know the coefficient $\beta$ of the patterns $\alpha + \beta x$ with $x$ as
<br>the symbolic variable for all the non-negative integers, we have to make educated guesses
<br>for the values in the Maple program. Whenever the program
<br>finds a pre-defined number of positions with the same number of rows, 
<br>the values of the second rows form an arithmetic series whilst the other rows are identical,
<br>it tries to validate the formula. 
<br>For example, positions like [2, 2, 3, 4], [2, 2, 5, 4], [2, 2, 7, 4] and [2, 2, 9, 4] 
<br>suggest the formula [2, 2, $3+2x$, 4]. The newly generated formula
<br>will be checked against the existing $\mathcal{P}$-positions by verifying that 
<br>the formula will not create
<br>any known $\mathcal{N}$-positions. Of course the formulas can still be erroneous and the program is capable 
<br>of correcting itself by eliminating the formula when that happens. The formulas are validated 
<br>when no more $\mathcal{P}$-positions can be generated. The life 
<br>cycle of a conjecture is completed once a formula is validated or corrected. 
<br>
<br>The computer program was written in Maple, and can be downloaded at \\
<br>{\em http://www.math.temple.edu/\,$\tilde{\ }$xysun } along with some pre-calculated results. 
<br>Type in {\em Help() } for help. People can also play Chomp against a computer. Type in
<br>{\em PlayChomp(POS) } where {\em POS } is the initial position. The user and computer will take 
<br>turns to name the piece they want to erase from the position. The program uses pre-calculated 
<br>results. If the computer cannot find a winning move, or if the position is beyond the range of the 
<br>results, the program will randomly eliminate a piece from the position so the game will go on.
<br>
<br>With the help of the program, we have the following:
<br>
<br>\noindent
<br>{\bf Theorem 1:}
<br>For a Chomp position with $x$ rows, $a$ squares in the first row, $b$ squares in the
<br>second, two squares in the third, and one square for the rest of the rows, 
<br>to be a $\mathcal{P}$-position, it must satisfy the following formula:
<br>
<br>\begin{displaymath}
<br>x = \left\{
<br>\begin{array}{ll}
<br>1											&	if\ a = 1 \\[2mm]
<br>2											&	if\ a = b + 1 \\[2mm]
<br>\lfloor \frac{2 a + b}{2} \rfloor			&	if\ a + b\ odd\ and\ a \neq b + 1 \\[2mm]
<br>\lfloor \frac{3 a}{2} \rfloor + 1			&	if\ a = b \\[2mm]
<br>min\{ \lceil \frac{2 a - b}{2} \rceil,  \frac{3 ( a - b)}{2} \} 
<br>											&	if\ a + b\ even\ and\ a \neq b
<br>\end{array}
<br>\right.
<br>\end{displaymath}
<br>
<br>\noindent
<br>{\bf Definition:} We call the {\bf height} $h$ of a Chomp position [$a_1, \dots, a_n$] 
<br>to be the number $x$ such that either
<br>$\underbrace{[1, 0, \dots, 0, a_1-1,\dots , a_n]}_{x}$ $(x > n)$, or 
<br>[$\sum_{k=1}^{n-x+1}a_k, a_{n-x+2},\dots,a_n$] $(x \le n)$ is a $\mathcal{P}$-position,
<br>and we write $h([a_1, \dots, a_n]) = x$.
<br>
<br>We are trying to either chomp 
<br>the position to have only $x$ rows left, or add $x-n$ one-squared rows to the position
<br>so that the result is a $\mathcal{P}$-position, e.g.
<br>$h([1,0,\dots,0])=1$, $h([\underbrace{2,0,\dots,0}_{n}])=n+1$, and
<br>$h([a_1,\dots,a_{n-1},a_{n-1}+1])=2$. The following lemma assures us the existence and 
<br>the uniqueness of the height for any Chomp position.
<br>Let us first denote $F([a_1, \dots, a_n])$ to be the set of 
<br>followers of [$a_1, \dots, a_n$], 
<br>i.e. all the positions that can be derived
<br>from the position by one chomp, and  {\em mex}$(\{b_1, \dots, b_m\})$, 
<br>the {\em M}\,inimal {\em EX}clusion, to be the least nonnegative integer 
<br>that is {\em not} in the set $\{b_1, \dots, b_m\}$. 
<br>
<br>\noindent
<br>{\bf Lemma 1:}
<br>For any Chomp position $[a_1, \dots, a_n]$, $h([a_1, \dots, a_n])$ uniquely exists, and 
<br>$h([a_1, \dots, a_n]) = x$, if there exists an $x \le n$ 
<br>such that [$\sum_{k=1}^{n-x+1}a_k, a_{n-x+2},\dots,a_n$] is a $\mathcal{P}$-position;
<br>otherwise $h([a_1, \dots, a_n]) = 
<br>mex\{h([a_1', \dots, a_n'])\ |\ [a_1', \dots, a_n'] \in F([a_1, \dots, a_n])\}$.
<br>
<br>\noindent
<br>{\it Proof:}
<br>The case for $x \le n$ is trivial by the definition of $h$. If such an $x$ does not exist, 
<br>and $y = mex\{h([a_1', \dots, a_n'])\ |\ [a_1', \dots, a_n'] \in F([a_1, \dots, a_n])\}$,
<br>then $y > n$ and the followers of $\underbrace{[1, 0, \dots, 0, a_1-1,\dots , a_n]}_{y})$ are 
<br>all $\mathcal{N}$-positions by the definition of $mex$, therefore the position itself is
<br>a $\mathcal{P}$-position. For the uniqueness part, we only have to notice that for any
<br>two positive integers $x_1 < x_2$, the position generated by the methods above using $x_1$ 
<br>is the follower of the one generated using $x_2$, thus
<br>at most one of them is a $\mathcal{P}$-position.
<br> 
<br>Now we can rewrite the theorem as
<br>
<br>\noindent
<br>{\bf Theorem $1'$:}
<br>\begin{displaymath}
<br>h([2, b-2, a-b]) = \left\{
<br>\begin{array}{ll}
<br>1											&	if\ a = 1 \\[2mm]
<br>2											&	if\ a = b + 1 \\[2mm]
<br>\lfloor \frac{2 a + b}{2} \rfloor			&	if\ a + b\ odd\ and\ a \neq b + 1 \\[2mm]
<br>\lfloor \frac{3 a}{2} \rfloor + 1			&	if\ a = b \\[2mm]
<br>min\{ \lceil \frac{2 a - b}{2} \rceil,  \frac{3 ( a - b)}{2} \} 
<br>											&	if\ a + b\ even\ and\ a \neq b
<br>\end{array}
<br>\right.
<br>\end{displaymath}
<br>
<br>\noindent
<br>{\it Proof of Theorem 1:}
<br>Notice that the result is strikingly similar to the one given in \cite{WW} 
<br>except when $a=b$ and $a= b+1$, 
<br>and the two results compliment each other perfectly.
<br>
<br>We denote the number of squares of the first, second, and third rows 
<br>as $\alpha$, $\beta$ and $\gamma$
<br>respectively, and those of the first and second columns $x$ and $y$. 
<br>In our case, we only consider the positions with $y=3$ and $\gamma = 2$:
<br>
<br>\begin{tabular}{p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}p{3mm}r}
<br>    X & X & X & X & X & X & X & X & X & X & X & X & X & & $\alpha$	\\
<br>    X & X & X & X & X &   &   &   &   &   &   &   &   & & $\beta$	\\
<br>    X & X &   &   &   &   &   &   &   &   &   &   &   & & $\gamma$	\\
<br>    X &   &   &   &   &   &   &   &   &   &   &   &   & &			\\
<br>    X &   &   &   &   &   &   &   &   &   &   &   &   & &			\\
<br>    X &   &   &   &   &   &   &   &   &   &   &   &   & &			\\
<br>	  &   &   &   &   &   &   &   &   &   &   &   &   & &			\\    
<br>    x & y &   &   &   &   &   &   &   &   &   &   &   & &			\\
<br>\end{tabular}
<br>
<br>
<br>The first two scenarios for $x=1, 2$ are trivial and we will avoid 
<br>those cases in the discussion below. By Lemma 1, we have to consider the height of 
<br>all the followers of [$2, b-2, a-b$].
<br>
<br>From the position, we can chomp to
<br>\begin{eqnarray}
<br>	the\ first\ row\ up\ to \ b + 1 & & (b < \alpha < a,\ \beta = b,\ and\ \gamma = 2)
<br>	\label{eq:1}	\\
<br>	the\ first\ and \ the\ second\ row & & (\alpha = \beta,\ 2 \leq \beta \leq b,\ and\ \gamma = 2)
<br>	\label{eq:2}	\\
<br>	the\ second\ row\ only & & (\alpha = a,\ 2 \leq \beta < b,\ and\ \gamma = 2)
<br>	\label{eq:3}	\\
<br>	the\ second\ and\ third\ row & & (\alpha = a,\ \beta = 1\ and\ \gamma = 1)
<br>	\label{eq:4}	\\
<br>	the\ third\ row\ only & & (\alpha = a,\ \beta = b\ and\ \gamma = 1)
<br>	\label{eq:5}
<br>\end{eqnarray}
<br>
<br>By proper induction on $a$ and $b$, we can deduct the following equations:
<br>\begin{eqnarray}
<br>	x = & min \left\{\frac{3(\alpha - b)}{2}, \left\lceil \frac{2\alpha - b}{2}\right\rceil \right\} 
<br>			&  if\ b < \alpha < a,\ \alpha + b\ even	\label{eq:6}	\\
<br>	x = & \left\lfloor \frac{2\alpha + b}{2} \right\rfloor
<br>			&  if\ b < \alpha < a ,\ \alpha + b\ odd	\label{eq:7}	\\
<br>	x = & \left\lfloor \frac{3\beta}{2} \right\rfloor + 1
<br>			& if\ 1 < \beta \leq b						\label{eq:8}	\\
<br>	x = & min \left\{\frac{3(a - \beta)}{2}, \left\lceil \frac{2a - \beta}{2}\right\rceil \right\} 
<br>			&  if\ 2 \leq \beta < b,\ a + \beta\ even	\label{eq:9}	\\
<br>	x = & \left\lfloor \frac{2a + \beta}{2} \right\rfloor
<br>			&  if\ 2 \leq \beta < b ,\ a + \beta\ odd	\label{eq:10}	\\
<br>	x = & a	&										\label{eq:11}	\\
<br>	x = & \left\lfloor \frac{2  a + b}{2} \right\rfloor 
<br>			& if\ a + b\ even						\label{eq:12}	\\
<br>	x = & min\left\{ \left\lceil \frac{2 a - b}{2} \right\rceil, 
<br>		\left\lceil \frac{3 (a - b)}{2} \right\rceil \right\} 
<br>			& if\ a + b\ odd						\label{eq:13}
<br>\end{eqnarray}
<br>where equation \ref{eq:1} yields equations \ref{eq:6} and \ref{eq:7}, \ref{eq:2} yields \ref{eq:8}, 
<br>\ref{eq:3} yields \ref{eq:9} and \ref{eq:10}, \ref{eq:4} yields \ref{eq:11}, 
<br>\ref{eq:5} yields \ref{eq:12} and \ref{eq:13}
<br>
<br>It is easy to see that $3(\alpha-\beta) \leq (2\alpha-\beta)$ iff $\alpha \leq 2\beta$
<br>
<br>So from equation \ref{eq:6}  we can have:
<br>\begin{displaymath}
<br>	\textbf{either}\ x = \frac{3(\alpha-b)}{2}\ when\ \alpha \leq 2b\ and\ \alpha + b\ even
<br>\end{displaymath}
<br>which yields: ($\alpha$ is always incremented by 2 in the following arguments)
<br>\begin{eqnarray}
<br>	x = &  3 ,\dots , \frac{3b}{2}\ incremented\ by\ 3	 & if\ \ b\ even\ and\ a \geq 2b	\label{eq:14}	\\
<br>		  &	& and\ \alpha = b+2 ,\dots , 2b			\nonumber	\\
<br>	x = &  3 ,\dots , \frac{3(b-1)}{2}\ incremented\ by\ 3  & if\ \ b\ odd\ and\ a \geq 2b	\label{eq:15}	\\
<br>		  &	& and\ \alpha = b + 2 ,\dots , 2b-1		 \nonumber	\\
<br>	x = &  3 ,\dots , \frac{3(a-b-2)}{2}\ incremented\ by\ 3	 & if\ a+b\ even\ and\ a \leq 2b	\label{eq:16}	\\
<br>		  &	& and\ \alpha = b + 2 ,\dots , a-2		 \nonumber	\\
<br>	x = &  3 ,\dots , \frac{3(a-b-1)}{2}\ incremented\ by\ 3	 & if\ a+b\ odd\ and\ a \leq 2b	\label{eq:17}	\\
<br>		  &	&	and\ \alpha = b + 3 ,\dots , a - 1	 \nonumber
<br>\end{eqnarray}
<br>
<br>\begin{displaymath}
<br>	\textbf{or}\ x = \left\lceil\frac{2\alpha-b}{2}\right\rceil\ when\ \alpha \geq 2b\ and\ \alpha + b\ even 
<br>\end{displaymath}
<br>which yields:
<br>\begin{eqnarray}
<br>	x = & \frac{3b}{2} ,\dots , \frac{2a - b - 4}{2}\ incremented\ by\ 2	
<br>		& if\ a \ even,\ b\ even	\label{eq:6.2ee}	\\
<br>		& & and\ \alpha = 2b ,\dots , a - 2 	\nonumber					\\
<br>	x = & \frac{3b + 3}{2} ,\dots , \frac{2a - b - 3}{2}\ incremented\ by\ 2	
<br>		& if\ a \ odd,\ b\ odd	\label{eq:6.2oo}		\\
<br>		& & and\ \alpha = 2b+1 ,\dots , a - 2 	\nonumber					\\
<br>	x = & \frac{3b+3}{2} ,\dots , \frac{2a - b - 1}{2}\ incremented\ by\ 2	
<br>		& if\ a \ even,\ b\ odd	\label{eq:6.2eo}	\\
<br>		& & and\ \alpha = 2b+1 ,\dots , a - 1  \nonumber					\\
<br>	x = & \frac{3b}{2} ,\dots , \frac{2a - b - 2}{2}\ incremented\ by\ 2	
<br>		& if\ a \ odd,\ b\ even	\label{eq:6.2oe}		\\
<br>		& & and\ \alpha = 2b ,\dots , a - 1 	\nonumber					
<br>\end{eqnarray}
<br>
<br>From equation \ref{eq:7}:
<br>\begin{eqnarray}
<br>	x = & \frac{3b+6}{2}	,\dots , \frac{2a + b - 2}{2}
<br>		\ incremented\ by\ 2	& if\ a\ even\ and\ b\ even	\label{eq:7ee}		\\
<br>		& &	and\ \alpha = b + 3 ,\dots , a - 1		\nonumber			\\
<br>	x = & \frac{3b+5}{2}	,\dots , \frac{2a + b - 3}{2}
<br>		\ incremented\ by\ 2	& if\ a\ odd\ and\ b\ odd	\label{eq:7oo}		\\
<br>		& &	and\ \alpha = b + 3 ,\dots , a - 1		\nonumber			\\
<br>	x = & \frac{3b+5}{2}	,\dots , \frac{2a + b - 5}{2}
<br>		\ incremented\ by\ 2	& if\ a\ even\ and\ b\ odd	\label{eq:7eo}		\\
<br>		& &	and\ \alpha = b + 3 ,\dots , a - 2		\nonumber			\\
<br>	x = & \frac{3b+6}{2}	,\dots ,\frac{2a + b - 4}{2}
<br>		\ incremented\ by\ 2	& if\ a\ odd\ and\ b\ even	\label{eq:7oe}		\\
<br>		& &	and\ \alpha = b + 3 ,\dots , a - 2		\nonumber				
<br>\end{eqnarray}
<br>Note that we are avoiding the case $\alpha = \beta + 1$.
<br>
<br>From equation \ref{eq:8} we have
<br>\begin{equation}
<br>	x = 4,\ 5,\ 7,\ 8,\ \dots\ ,\ \left\lfloor\frac{3b}{2} \right\rfloor + 1	\label{eq:26}
<br>\end{equation}
<br>which are all the numbers from 4 to $\left\lfloor\frac{3b}{2} \right\rfloor$ + 1
<br>that are  {\em NOT} divisible by  3.	
<br>
<br>From equation \ref{eq:9} the result is similar to that from equation \ref{eq:6}. 
<br>
<br>From equation \ref{eq:10}
<br>\begin{eqnarray}
<br>	x = & a + 1 ,\dots , a + \frac{b-2}{2} 	&	if\ a\ even\ and\ b\ even	\label{eq:10ee} \\
<br>	x = & a + 1 ,\dots , a + \frac{b-1}{2} 	&	if\ a\ odd\ and\ b\ odd		\label{eq:10oo} \\
<br>	x = & a + 1 ,\dots , a + \frac{b-2}{2} 	&	if\ a\ odd\ and\ b\ even	\label{eq:10oe} \\
<br>	x = & a + 1 ,\dots , a + \frac{b-3}{2} 	&	if\ a\ even\ and\ b\ odd	\label{eq:10eo}
<br>\end{eqnarray}
<br>
<br>Equations \ref{eq:11}, \ref{eq:12} and \ref{eq:13} result in constant numbers that require no
<br>further discussion.	
<br>
<br>Now we can deduct our result from the equations.
<br>
<br>Assuming $ a \geq 2b$, we have:	
<br>
<br>$x$ always covers $3 ,\dots , \lfloor \frac{3b + 2}{2} \rfloor$ from equations \ref{eq:14}, \ref{eq:15} 
<br>and \ref{eq:26}.
<br>
<br>$x$ covers $\frac{3b+4}{2} ,\dots , \frac{2a - b - 2}{2}$ but not $\frac{2a-b}{2} = \left\lceil 
<br>\frac{2a-b}{2} \right\rceil$
<br>if $a$ even and $b$ even from equations \ref{eq:6.2ee} and \ref{eq:7ee}. Note that the values
<br>from the two equations are mutually exclusive, and had x covered $\frac{2a-b}{2}$, it would 
<br>have appeared in equation \ref{eq:6.2ee}, which does not.
<br>
<br>$x$ covers $\frac{3b+3}{2} ,\dots , \frac{2a-b-1}{2} $ but not $\frac{2a-b+1}{2} = \left\lceil 
<br>\frac{2a-b}{2} \right\rceil$
<br>if $a$ odd and $b$ odd from equations \ref{eq:6.2oo} and \ref{eq:7oo}, 
<br>by similar reasoning as shown above.
<br>
<br>All the other equations are either dealing with $a+ b $ odd, or have result bigger that
<br>$\left\lceil \frac{2a - b}{2} \right\rceil $. So the height of the position, which is the 
<br>least number {\em NOT} in the above numbers, is $\left\lceil \frac{2a - b}{2} \right\rceil $  
<br>when $a+b$ even.
<br>
<br>If $a$ even and $b$ odd, 
<br>$x$ covers $\frac{3b + 3}{2} ,\dots , \frac{2a - b + 1}{2}$ 
<br>from equations \ref{eq:6.2eo} and \ref{eq:7eo};
<br>$\frac{2a - b + 1}{2} ,\dots , a - 1$ from \ref{eq:9} since $a \geq 2b$;
<br>$a$ from \ref{eq:11}; 
<br>$a + 1 ,\dots , a + \frac{b - 3}{2}$ from \ref{eq:10eo}.
<br>And the other equations are insignificant as discussed above. 
<br>So  the height of the position is $a+\frac{b-1}{2} = \lfloor \frac{2a+b}{2} \rfloor$.
<br>
<br>If $a$ odd and $b$ even, $x$ covers $\frac{3b+4}{2} ,\dots , \frac{2a - b}{2}$ from 
<br>equations \ref{eq:6.2oe} and \ref{eq:7oe}; 
<br>$\frac{2a-b}{2} ,\dots , a-1$ from \ref{eq:9} since $a \geq 2b$; $a$ from \ref{eq:11}; 
<br>$a+1 ,\dots , a+\frac{b-2}{2}$ from  \ref{eq:10oe}.
<br>And the other equations are insignificant as discussed above. 
<br>So  the height of the position is $a+\frac{b}{2} = \lfloor \frac{2a+b}{2} \rfloor$.
<br>
<br>Hence we have proved when $a \geq 2b$, 
<br>\begin{displaymath}
<br>x = \left\{
<br>\begin{array}{ll}
<br>\left\lfloor \frac{2a + b}{2} \right\rfloor & if\ a + b\ odd	\\[2mm]
<br>\left\lceil \frac{2a-b}{2} \right\rceil		& if\ a + b\ even   
<br>\end{array} 
<br>\right.
<br>\end{displaymath}
<br>
<br>The rest of the proof, i.e. when $a = b$ and $b < a < 2b$, is similar to the above, 
<br>and is left to the interested readers.
<br>
<br>\vskip 30pt
<br>
<br>\section*{\normalsize 4. Future Work}
<br>%\section{Future Work}
<br>
<br>It will be interesting to find out the formulas for the $\mathcal{P}$-positions with the 
<br>second columns having more than three squares or the formulas for other 3-rowed positions. 
<br>Also, since we are looking for the
<br>$\mathcal{P}$-positions, it will be worthwhile to find out the formula 
<br>for the Sprague-Grundy function. 
<br>
<br>Finally, can we eventually claim the \$100.00 prize from David Gale?
<br>
<br>\vskip 30pt
<br>
<br>\section*{\normalsize 5. Acknowledgement}
<br>
<br>Many thanks to my advisor Dr. Doron Zeilberger. Without his help, this
<br>article would not be here. Also many thanks to the referee for his
<br>suggestions which made this article much clearer.
<br>
<br>\footnotesize
<br>\begin{thebibliography}{2}
<br>
<br>\bibitem[CH]{CH} D. Gale, {\em A Curious Nim-type game}, Amer. Math. Monthly 81 (1974), 876-879
<br>\bibitem[GC]{GC} Richard J. Nowakowski, {\em Games of No Chance}, Cambridge University 
<br>Press, 1998, 482 
<br>\bibitem[TC]{TC} Doron Zeilberger, {\em Three-Rowed CHOMP}, Adv. Appl. Math. v. 26 (2001), 168-179 
<br>\bibitem[WW]{WW} E. R. Berlekamp, J.H. Conway, and R. K. Guy, {\em Winning Ways for 
<br>Your Mathematical Plays}, Academic Press, London, 1982. 598-599
<br>
<br>\end{thebibliography}
<br>
<br>\end{document}
<br></body>