In Heath [ 3], an alternate interpretation of the bulls forming a ``square"
came about by considering bulls to be longer than they are wide, and so
seeking an
answer where the bulls are closely packed to form a ``square figure",
rather than
requiring the number of bulls,
, to be a perfect square. This problem
is easier and
is known as Wurm's Problem. It is solved in Heath. Heath then goes
on to discuss
the solution to the complete problem which leads to the Pellian equation
. This type of problem was discussed at the Berkeley Math
Circle last year. For a nice introduction via the discovery method, see the
Power
Round of the Polya Contest held at Gunn High School (October 30, 1999).
Unfortunately,
Heath also has the incorrect fourth digit for
. This may be where
Dijksterhuis got
his information, since it is the same error.
In 1889, A.H. Bell, a civil engineer, and two friends formed the
Hillsboro, Illinois,
Mathematical Club and started the computation of the solution to the
complete problem.
After four years they computed the first 32 left-hand digits and the last
12 right-hand
digits for each variety of bulls and cows, as well as the total number of
cattle
in the herd. This is detailed in Albert H. Beiler's Recreations in
the Theory of
Numbers [ 4]. However, there is a misprint in the book. The value
printed for the
variable
is actually the value of
. A truncated version of the
problem in prose
is also given. The discussion of the problem appears in the chapter entitled
The Pellian where you will find out why Pell, who had almost nothing
to do with
solving this type of equation has his name gloriously attached to it.
There is also a
fairly clear presentation of the method of solution via continued fractions.
The first complete listing of the solutions to the problem was given in 1965 by the Canadian mathematicians H.C. Williams, R.A. German, and C.R. Zarnke, who computed it using a computer. The computer printout is on deposit among Unpublished Mathematical Tables at the University of Maryland. This showed that the last two of Bell's thirty-two left-hand digits were incorrect. In 1980, Harry L. Nelson of the Lawrence Livermore National Laboratory recast the problem in code suitable for exercising the newly delivered CRAY-1 computer. The computation of the solution, together with extensive checking was done in ten minutes. Since this was not of sufficient length for the purpose desired, the code went on to find five additional solutions, the largest of which has well over a million digits. All 206,545 digits of the smallest solution taking up over 46 computer pages (64 rows of 70 digits) are printed at one-third actual size, four-to-a-page, in the Journal of Recreational Mathematics [ 5]. See the recent article by Vardi [ 6] for a beautiful discussion of personal computer techniques and a prose translation of the problem.