# St. Ives Problem

## Classic Problem

As I was going to St. Ives
I met a man with seven wives
Kits, cats, sacks and wives
How many were going to St. Ives?

### Rhind Papyrus Variant

Problem $79$ of the Rhind Papyrus, written by Ahmes some time around $1650$ BCE, concerns:

$7$ houses, each with:
$7$ cats, each with:
$7$ mice, each with:
$7$ spelt, each with:
$7$ hekat

### Fibonacci Variant

$7$ old women are travelling to Rome.
Each old woman has $7$ mules.
On each mule are $7$ sacks.
In each sack are $7$ loaves of bread.
In each loaf are $7$ knives.
Each knife has $7$ sheaths.

What is the total of all of these?

## Solution 1

This is a trick puzzle, to which the trick answer is:

$1$.

The narrator is travelling to St. Ives.

The man he meets, with the colossal entourage, is, by assumption of the definition of the word meet, travelling in the opposite direction, from St. Ives.

Technically, as it is not specified whether the narrator is travelling alone or not, the answer should actually be:

at least $1$.

## Solution 2

Trick question aside, one can suppose that in order for the narrator to find out all about the unusual nature of this man's mÃ©nage, he would have had to spend some considerable time in his company, more than just a tip of the hat as they passed each other.

Hence it can be assumed that they met at a meeting of the ways, for example, when the narrator's path merged with that of the man and his family, and they travelled to St. Ives together.

So the number of entities mentioned in the riddle are counted as follows:

 $\ds 1$  $\ds \text{man}$ $\ds 7$  $\ds \text{wives}$ $\ds 7 \times 7$  $\ds \text{sacks}$ $\ds 7 \times 7 \times 7$  $\ds \text{cats}$ $\ds 7 \times 7 \times 7 \times 7$  $\ds \text{kits}$

This is a geometric sequence:

 $\ds 7^0 + 7^1 + 7^2 + 7^3 + 7^4$ $=$ $\ds \dfrac {7^5 - 1} {7 - 1}$ Sum of Geometric Sequence $\ds$ $=$ $\ds 2 \, 801$

... from which we subtract the number of sacks (that is, if it is tacitly understood that the count is to be of the sentient beings):

$2 \, 801 - 49 = 2 \, 752$

... and don't forget the narrator (a surprising number of the treatments of this subject do just that):

$2 \, 753$

Quite a crowd.

$\blacksquare$

## Historical Note

The similarities between the St. Ives Problem and the version found in the Rhind Papyrus are too close to be coincidental.

Leonardo Fibonacci's version in his Liber Abaci of $1202$ and $1228$ is also close.

Charles Sanders Peirce suggested a link between this problem and the nursery rhyme This Is the House that Jack Built, and went on to note that Fibonacci uses the same numbers as Ahmes and performs the calculation in the same way.

It may of course be suggested that the St. Ives Problem and the Rhind papyrus problem are in fact the same problem, having been passed down virtually unchanged for over $36$ centuries.

Hence it may be considered one of the oldest mathematical problems ever.

Note that David Wells, who reports on this problem in more than one publication, does not commit himself one way or another as to whether there is a direct intellectual link or not.

It is not completely certain that the St. Ives in question is St. Ives, Cambridgeshire, as opposed to the better-known St. Ives, Cornwall.

However, the former is the more likely location, as it is a popular market town whose Great Fair may have been the venue for the travellers who thus met.

## Linguistic Note

Prime.mover remembers this riddle as the first in his book of nursery rhymes which he had when he was somewhat younger.

In that edition, the cats, as documented here, each had $7$ kits.

The word is an archaic or poetic one for the more usual kittens, which can also be seen in some renditions of this riddle.

Some sources use the word kitts in order to reduce the possibility of the word being confused with the word kit meaning pack of useful tools and materials.