All public Sources
Public document

Mathematical Recreations and Essays

PDF document375 original pagesAdded to Pandi 6 November 2026
AskTalkView media
Reading progressPage 7 of 81
  • Bachet, problem XIX, p. 152.

MEDIEVAL PROBLEMS IN ARITHMETIC. Before leaving the subject of these elementary questions, I may mention a few problems which for centuries have appeared in nearly every collection of mathematical recreations, and therefore may claim what is almost a prescriptive right to a place here.

First Example. The following is a sample of one class of these puzzles. Three men robbed a gentleman of a vase, containing 24 ounces of balsam. Whilst running away they met in a wood with a glass-seller, of whom in a great hurry they purchased three vessels. On reaching a place of safety they wished to divide the booty, but they found that their vessels contained 5, 11, and 13 ounces respectively. How could they divide the balsam into equal portions?

Problems like this can be worked out only by trial: there are several solutions, of which one is as follows.

24 oz.13 oz.11 oz.5 oz.
Their contents originally are24000
First, make their contents08115
Second,”1680
Third,”1608
Fourth,”3138
Fifth,”385
Sixth,”880

Second Example†. The next of these is a not uncommon game, played by two people, say A and B. A begins by mentioning some number not greater than (say) six, B may add to that any number not greater than six, A may add to that again any number not greater than six, and so on. He wins who is the first to reach (say) 50. Obviously, if A calls 43, then whatever B adds to that, A can win next time. Similarly, if A calls 36, B cannot prevent A's calling 43 the next time. In this way it is clear that the key numbers are those forming the arithmetical progression 43, 36, 29, 22, 15, 8, 1; and whoever plays first ought to win.

Similarly, if no number greater than m may be added at any one time, and n is the number to be called by the victor, then the key num-


  • Some similar problems were given by Bachet, appendix, problem III, p. 206; problem IX, p. 233; by Oughtred in his Recreations, p. 22: and by Ozanam, 1803 edition, vol. I, p. 174; 1840 edition, p. 79. Earlier instances occur in Tartaglia’s writings.

† Bachet, problem XXII, p. 170.

bers will be those forming the arithmetical progression whose common difference is m+1m+1 and whose smallest term is the remainder obtained by dividing nn by m+1m+1.

The same game may be played in another form by placing nn coins, matches, or other objects on a table, and directing each player in turn to take away not more than mm of them. Whoever takes away the last coin wins. Obviously the key numbers are multiples of m+1m+1, and the first player who is able to leave an exact multiple of (m+1)(m+1) coins can win. Perhaps a better form of the game is to make that player lose who takes away the last coin, in which case each of the key numbers exceeds by unity a multiple of m+1m+1.

Mr Loyd has also suggested* a modification which is equivalent to placing nn counters in the form of a circle, and allowing each player in succession to take away not more than mm of them which are in unbroken sequence: mm being less than nn and greater than unity. In this case the second of the two players can always win.

Recent Extension of this Problem. The games last described are very simple, but if we impose on the original problem the additional restriction that each player may not add the same number more than three times, the analysis becomes by no means easy. It is difficult in this case to say whether it is an advantage to begin or not. I have never seen this extension described in print, and I will therefore enunciate it at length.

Suppose that each player is given eighteen cards, three of them marked 6, three marked 5, three marked 4, three marked 3, three marked 2, and three marked 1. They play alternately; AA begins by playing one of his cards; then BB plays one of his, and so on. He wins who first plays a card which makes the sum of the points or numbers on all the cards played exactly equal to 50, but he loses if he plays a card which makes this sum exceed 50. The game can be played mentally or by noting the numbers on a piece of paper, and in practice it is unnecessary to use cards.

Thus, if they play as follows A,4A, 4; B,3B, 3; A,1A, 1; B,6B, 6; A,3A, 3; B,4B, 4; A,4A, 4; B,5B, 5; A,4A, 4; B,4B, 4; A,5A, 5; the game stands at 43. BB can now win, for he may safely play 3, since AA has not another 4 wherewith to follow it; and if AA plays less than 4, BB will win the next time. Again, if they play


* Tit-Bits, London, July 17, Aug. 7, 1897.

thus, A,6;B,3;A,1;B,6;A,3;B,4;A,2;B,5;A,1;B,5;A,2;B,5;A,2;B,3;AA, 6; B, 3; A, 1; B, 6; A, 3; B, 4; A, 2; B, 5; A, 1; B, 5; A, 2; B, 5; A, 2; B, 3; A is now forced to play 1, and BB wins by playing 1.

The game can be also played if each player is given only two cards of each kind.

Third Example. The following medieval problem is somewhat more elaborate. Suppose that three people, PP, QQ, RR, select three things, which we may denote by aa, ee, ii, respectively, and that it is desired to find by whom each object was selected.*

Place 24 counters on a table. Ask PP to take one counter, QQ to take two counters, and RR to take three counters. Next, ask the person who selected aa to take as many counters as he has already, whoever selected ee to take twice as many counters as he has already, and whoever selected ii to take four times as many counters as he has already. Note how many counters remain on the table. There are only six ways of distributing the three things among PP, QQ, and RR; and the number of counters remaining on the table is different for each way. The remainders may be 1, 2, 3, 5, 6, or 7.

Bachet summed up the results in the mnemonic line Par fer (1) César (2) jadis (3) devint (5) si grand (6) prince (7). Corresponding to any remainder is a word or words containing two syllables: for instance, to the remainder 5 corresponds the word devint. The vowel in the first syllable indicates the thing selected by PP, the vowel in the second syllable indicates the thing selected by QQ, and of course RR selected the remaining thing. Salve certa animae semita vita quies was suggested by Oughtred† as an alternative mnemonic line.

Extension. M. Bourlet, in the course of a very kindly notice‡ of the second edition of this work, has given a much neater solution of the above question, and has extended the problem to the case of nn people, P0,P1,P2,…,Pn−1P_0, P_1, P_2, \ldots, P_{n-1}, each of whom selects one object, out of a collection of nn objects, such as dominoes or cards. It is required to know which domino or card was selected by each person.

Let us suppose the dominoes to be denoted or marked by the numbers 0, 1, . . . , n−1n-1, instead of by vowels. Give one counter to P1P_1, two counters to P2P_2, and generally kk counters to PkP_k. Note the number of counters left on the table. Next ask the person who had chosen the


  • Bachet, problem xxv, p. 187.

† Mathematicall Recreations, London, 1653, p. 20.

‡ Bulletin des sciences mathématiques, Paris, 1893, vol. XVII, pp. 105–107.

domino 0 to take as many counters as he had already, and generally whoever had chosen the domino hh to take nhn^h times as many dominoes as he had already: thus if PkP_k had chosen the domino numbered hh, he would take nhkn^h k counters. Note the total number of counters taken, i.e. Σnhk\Sigma n^h k. Divide it by nn, then the remainder will be the number on the domino selected by P0P_0; divide the quotient by nn, and the remainder will be the number on the domino selected by P1P_1; divide this quotient by nn, and the remainder will be the number on the domino selected by P2P_2; and so on. In other words, if the number of counters taken is expressed in the scale of notation whose radix is nn, then the (h+1)(h+1)th digit from the right will give the number on the domino selected by PhP_h.

Thus in Bachet’s problem with 3 people and 3 dominoes, we should first give one counter to QQ, and two counters to RR, while PP would have no counters; then we should ask the person who selected the domino marked 0 or aa to take as many counters as he had already, whoever selected the domino marked 1 or ee to take three times as many counters as he had already, and whoever selected the domino marked 2 or ii to take nine times as many counters as he had already. By noticing the original number of counters, and observing that 3 of these had been given to QQ and RR, we should know the total number taken by PP, QQ, and RR. If this number were divided by 3, the remainder would be the number of the domino chosen by PP; if the quotient were divided by 3 the remainder would be the number of the domino chosen by QQ; and the final quotient would be the number of the domino chosen by RR.

I may add that Bachet also discussed the case when n=4n = 4, which had been previously considered by Diego Palomino in 1599, but as M. Bourlet’s method is general, it is unnecessary to discuss further particular cases.

Decimation. The last of these antique problems to which I referred consists in placing men round a circle so that if every nnth man is killed the remainder shall be certain specified individuals. When decimation was a not uncommon punishment a knowledge of this kind may have had practical interest.

Hegesippus* says that Josephus saved his life by such a device. According to his account, after the Romans had captured Jotopat, Josephus and forty other Jews took refuge in a cave. Josephus, much to his disgust, found that all except himself and one other man were resolved


* De Bello Judaico, bk. III, chaps. 16–18.

to kill themselves, so as not to fall into the hands of their conquerors. Fearing to show his opposition too openly he consented, but declared that the operation must be carried out in an orderly way, and suggested that they should arrange themselves round a circle and that every third person should be killed until but one man was left, who must then commit suicide. It is alleged that he placed himself and the other man in the 31st and 16th place respectively, with a result which will be easily foreseen.

The question is usually presented in the following form. A ship, carrying as passengers fifteen Turks and fifteen Christians, encountered a storm, and the pilot declared that, in order to save the ship and crew, one-half of the passengers must be thrown into the sea. To choose the victims the passengers were placed round a circle, and it was agreed that every ninth man should be cast overboard, reckoning from a certain point. It is desired to find an arrangement by which all the Christians should be saved.*∗^{*}

Problems like this can be easily solved by counting, but it is impossible to give a general rule. In this case, the Christians, reckoning from the man first counted, must occupy the places 1, 2, 3, 4, 10, 11, 13, 14, 15, 17, 20, 21, 25, 28, 29. This arrangement can be recollected by the positions of the vowels in the following doggerel rhyme,

Continue reading
Page 7 of 81