Always known as Sam, **Samuel Loyd** was the creator of famous mathematical puzzles and recreations. He was born in Philadelphia where his father was an estate agent, but he did not live there for very long since when he was only three years old his family moved to New York. Sam's father had a good income from being an estate agent and the family were well off. It was a large family with Sam being the youngest of nine children. He attended school in New York, completing his secondary education in 1858. Already by this time he had become fascinated by the game of chess which he took up when he was 14 years old when he began to attend a chess club with his brothers Thomas and Isaac. While still at school, Loyd won prizes for his chess problems.

Loyd's first chess problem was published in the *New York Saturday Courier* on 14 April 1855. The following problem won him first prize in a competition run by the *New York Clipper* and it was published in the paper on 11 October 1856.

Click HERE for one of Loyd's first chess problems.

Click HERE for another early chess problem by Loyd.

He began submitting problems to *Chess Monthly* and he became the problem editor of the magazine in 1857 after winning first prize for the following problem.

Click HERE for the prize winning problem

Click HERE for the solution.

After leaving school Loyd began to study engineering, intending to become a steam and mechanical engineer, but he found he could make his living from his puzzles and chess problems. He began to develop more unusual puzzles such as the following retrograde analysis problem which he submitted to *Musical World* in 1859. (It is a retrograde analysis problem since you can deduce from the fact that there is a mate in 2 that Black cannot castle - the mate is then easy.)

Click HERE for this first retrograde analysis problem.

Loyd's interests were by now rather diverse for as well as earning money as a plumbing contractor he had purchased a chain of music stores. In fact he had other skills such as that of wood engraver, which he taught himself, and he was also a skilled cartoonist. He continued to compose chess problems, write newspaper columns, and edit papers such as *Sam Loyd's Puzzle Magazine* and even a mechanics journal. He also played in chess tournaments although he was not a top class chess player which shows vividly that chess involves so much more than problem solving. For example he visited Europe in 1867 and played in a tournament in Paris but performed poorly. He did meet many who were interested in composing chess problems, however, while in Germany.

By 1870 Loyd had become more interested in composing mathematical puzzles than chess problems. He had composed a famous problem consisting of three cards, two with the picture of a horse and the third with a picture of two jockeys. The puzzle was to rearrange the pieces so that the jockeys were riding the horses. He sold it to the showman P T Barnum and it became famous as *P T Barnum's Trick Donkey.*

In 1878, he published a book of 500 problems, *Chess Strategy* which consisted in the main in problems which he had composed for columns of *Scientific American* over the previous two years. In [2] his skill as a composer of chess problems is described as follows:-

Loyd, whose genius for inventing fresh and surprising themes and expressing them in a subtle and cryptic form has never been equalled, was content to work out his own ideas in his own way, caring little for considerations of economy and the avoidance of duals and other rather artificial canons of elegance accepted by English and German composers; and there can be no doubt that he was right to follow his peculiar bent, seeing that no other composer's problems so often give the solver impressions of wit and dry humour.

As well as chess problems of the type "White to play and mate in three", Loyd also produced mathematical problems involving chess boards. For example in *Le Sphinx* in April 1867 he asked:-

Place the Queen on a chessboard and pass her over the entire sixty-four squares and back again to the point of beginning in fourteen moves.

Try it - you will not find it easy! Here is a small clue. It is impossible to pass the Queen over every square in 14 moves starting from its own square. Loyd discussed this in the April 1908 edition of *Sam Loyd's Puzzle Magazine.*

Lloyd contributed the following problems to the first part of the *American Chess Journal.* He wrote:-

It will not be amiss to have a little impromptu exhibition, bearing upon conditional positions produced from the position of the forces as arranged for actual play.

He then gave five problems involving the chess board as set up at the start of a game. Here are the problems (we have changed the wording slightly to make them slightly less technical):-

*If both players make the same moves, how can White mate in four moves?**If both players make the same moves (when possible), how can White force Black to mate White in eight moves?**How can discovered checkmate happen in four moves?**Find how a stalemate could happen in ten moves.**Find a game where perpetual check can be forced from the third move.*

These show Loyd's genius very clearly - particularly d) which is an incredible achievement.

Loyd's most famous puzzle was the 15 Puzzle which he produced in 1878. Loyd wrote about the puzzle in *Sam Loyd's Cyclopaedia of 5000 Puzzles, Tricks and Conundrums* which was published in 1914 after his death by his son (also called Sam Loyd):-

Older inhabitants of Puzzleland will remember how in the seventies I drove the entire world crazy with a little box of movable blocks which became known as the "14-15Puzzle". The fifteen blocks were arranged in the square box in rectangular order, but with the14and15reversed as shown[Click HERE for the illustration]The puzzle consisted of moving the blocks about, one at a time, to bring them back to the present position in every respect except that the error in the14and15was corrected.

A prize of $1000, offered for the first correct solution to the problem, has never been claimed, although there are thousands of persons who say they have performed the required feat.

People became infatuated with the puzzle and ludicrous tales are told of shopkeepers who neglected to open their stores; of a distinguished clergyman who stood under a street lamp all through a wintry night trying to recall the way he had performed the feat. The mysterious feature of the puzzle is that none seem able to remember the sequence of moves whereby they feel sure they have succeeded in solving the puzzle. Pilots are said to have wrecked their ships, and engineers rush their trains past stations. A famous Baltimore editor tells how he went for his noon lunch and was discovered by frantic staff long past midnight pushing little pieces of pie around on a plate! Farmers are known to have deserted their ploughs ...

Of course, Loyd knew his $1000 was safe for the puzzle cannot be solved. The craze swept America where employers put up notices prohibiting playing the puzzle during office hours. In Germany it was played by Deputies in the Reichstag while in France it was described as a greater scourge than alcohol or tobacco.

Another of Loyd's famous puzzles was called "Get off the Earth" and was produced many years after the 15 Puzzle. Here is Loyd's own description of the puzzle taken from the January 1908 part of the *Strand* magazine:-

It consisted of two concentric pieces of cardboard, fastened together so that the smaller inner one, which was circular, moved slightly backwards and forward, on a pivot, producing the mystery. As you looked at them, there were thirteen Chinamen plainly pictured. Move the inner card around a little and only twelve Chinamen remained. You couldn't tell what had become of the other Chinaman, try as you would. Scientists tried it without success, and indeed no single absolutely correct analysis was ever submitted.

We have talked about mathematical puzzles invented by Lloyd. This includes the cryptarithm [Click HERE for an example] a type of puzzle which he invented. As always he gave a colourful description (and a cartoon which we have not reproduced) to go with the puzzle:-

The archaeologist is examining a completed problem in long division, engraved on a sandstone boulder. due to weathering of the rock, most of the figures are no longer legible. Fortunately the eight legible digits provide enough information to enable you to supply the missing figures.

At first sight one would not expect there to be a unique solution to this problem, but Loyd was well aware that a logical argument would find the one and only one solution.

Not only did Loyd produce puzzles, he also gave performances of tricks. He was a skilled ventriloquist and later in his life performed on stage with his son who appeared able to read his mind, but actually mimed while Loyd used his ventriloquist skills to make his son appear to give correct answers.

Loyd produced over 10 000 puzzles in his lifetime many involving sophisticated mathematical ideas. The author of [2] writes:-

Loyd had a real gift - such as that shown in the 'Curiosa Mathematica' of the Rev C L Dodgson ... - for the fantastic in mathematical science, and had he devoted himself to making use of it, might have earned fame as an investigator in the vast and poetic region of pure mathematics, a worthy follower of Cayley and Sylvester.

Alain C White wrote *Sam Loyd and his Chess Problems* (1913) and in it he writes:-

Ideas came to[Loyd]with great fecundity, often too rapidly for him to analyse them completely. Yet his powers for rapid analysis were almost unrivalled. He could see an idea from many sides at once; first always from the point of view of a puzzle, then from the humorous standpoint, finally from the artistic aspect.

**Article by:** *J J O'Connor* and *E F Robertson*