# Archimedes' Cattle Problem

## Contents

## Classic Problem

The sun god had a herd of cattle consisting of bulls and cows, divided into $4$ herds according to their colour:

- white
- black
- dappled
- yellow.

(Accounts vary as to their actual colours, which are arbitrary.)

Among the bulls:

- the number of white ones was one half plus one third the number of the black greater than the yellow
- the number of the black ones was one quarter plus one fifth the number of the dappled greater than the yellow
- the number of the dappled ones was one sixth and one seventh the number of the white greater than the yellow.

Among the cows:

- the number of white ones was one third plus one quarter of the total black cattle
- the number of the black ones was one quarter plus one fifth the total of the dappled cattle
- the number of dappled cattle was one fifth plus one sixth the total of the yellow cattle
- the number of the yellow cattle was one sixth plus one seventh the total of the white cattle.

What was the composition of the herd?

### Difficult Version

In addition:

- All the white and black bulls were arranged in a square

- All the dappled and brown bulls were arranged in a triangle.

## Solution

Let:

- $W$ be the number of white bulls
- $B$ be the number of black bulls
- $D$ be the number of dappled bulls
- $Y$ be the number of yellow bulls
- $w$ be the number of white cows
- $b$ be the number of black cows
- $d$ be the number of dappled cows
- $y$ be the number of yellow cows.

Then the conditions can be expressed as:

\(\displaystyle W\) | \(=\) | \(\displaystyle \left({\frac 1 2 + \frac 1 3}\right) B + Y\) | |||||||||||

\(\displaystyle B\) | \(=\) | \(\displaystyle \left({\frac 1 4 + \frac 1 5}\right) D + Y\) | |||||||||||

\(\displaystyle D\) | \(=\) | \(\displaystyle \left({\frac 1 6 + \frac 1 7}\right) W + Y\) | |||||||||||

\(\displaystyle w\) | \(=\) | \(\displaystyle \left({\frac 1 3 + \frac 1 4}\right) \left({B + b}\right)\) | |||||||||||

\(\displaystyle b\) | \(=\) | \(\displaystyle \left({\frac 1 4 + \frac 1 5}\right) \left({D + d}\right)\) | |||||||||||

\(\displaystyle d\) | \(=\) | \(\displaystyle \left({\frac 1 5 + \frac 1 6}\right) \left({Y + y}\right)\) | |||||||||||

\(\displaystyle y\) | \(=\) | \(\displaystyle \left({\frac 1 6 + \frac 1 7}\right) \left({W + w}\right)\) |

This is a set of $7$ simultaneous equations in $8$ variables, and thus indeterminate.

Its smallest solution is:

\(\displaystyle W\) | \(=\) | \(\displaystyle 10 \, 366 \, 482\) | |||||||||||

\(\displaystyle B\) | \(=\) | \(\displaystyle 7 \, 460 \, 514\) | |||||||||||

\(\displaystyle D\) | \(=\) | \(\displaystyle 7 \, 358 \, 060\) | |||||||||||

\(\displaystyle Y\) | \(=\) | \(\displaystyle 4 \, 149 \, 387\) | |||||||||||

\(\displaystyle w\) | \(=\) | \(\displaystyle 7 \, 206 \, 360\) | |||||||||||

\(\displaystyle b\) | \(=\) | \(\displaystyle 4 \, 893 \, 246\) | |||||||||||

\(\displaystyle d\) | \(=\) | \(\displaystyle 3 \, 515 \, 820\) | |||||||||||

\(\displaystyle y\) | \(=\) | \(\displaystyle 5 \, 439 \, 213\) |

$\blacksquare$

## Also known as

This problem is also known as:

- the
**bovinum problema**(that is,**cattle problem**in Latin)

**Archimedes' Reverse**

## Source of Name

This entry was named for Archimedes of Syracuse.

## Historical Note

There are various interpretations of this problem, as the initial wording can be construed as ambiguous.

In particular, it is not completely clear in the difficult version whether the white and black bulls need to be arranged in a square or a rectangle.

While the problem is attributed to Archimedes of Syracuse, it is far from certain that he was the one who originated it.

It appears, from the arbitrary nature of the numbers selected, and the difficulty of finding a solution, that the problem was contrived with no consideration of what the solution might be, or indeed whether there is one, in the same way that a lecturer in mathematics invents a problem, on the fly, as an illustration of the use of a particular solution technique, without first having checked that the solution will be immediately tractable.

The smallest solution to the Pellian Equation $t^2 - 4 \, 729 \, 494 u^2 = 1$ was discovered by A. Amthor and B. Krumbiegel in $1880$, but the corresponding total number of cattle was not actually calculated until $1965$.

This was done by computer. It took $7$ hours and $49$ minutes of computer time, and its printout filled $46$ pages.

This was checked in $1981$ on a more powerful machine, and this took $10$ minutes.

The full solution was published in the *Journal of Recreational Mathematics*.

## Sources

- Weisstein, Eric W. "Archimedes' Cattle Problem." From
*MathWorld*--A Wolfram Web Resource. http://mathworld.wolfram.com/ArchimedesCattleProblem.html