Using the Knight's Tour to impress

by Frederic Friedel
4/10/2019 – You know what the Knight's Tour is: move the knight so it visits every square of the chessboard just once. There are around 30 trillion ways to do this, but it is certainly not easy for humans to execute a single one correctly — least of all blindfolded and starting from a random square. Or is it? If you invest a couple of hours into the task you stand to entertain people at parties — or even appear on a hit television show.

ChessBase 18 - Mega package ChessBase 18 - Mega package

It is the program of choice for anyone who loves the game and wants to know more about it. Start your personal success story with ChessBase and enjoy the game even more.

More...

A feat of genius! You wanna bet?

In February 2003, a nine-year-old boy named Xaver caused a minor sensation on German TV. It was on the show "Wetten dass...?", which translates approximately to "Wanna bet...?" The format is that a series of candidates propose to be able to do impossible feats, live and in front of the camera. For instance uncork a bottle of wine using a corkscrew attached to the landing gear of a helicopter. The boy on the show bet that he could complete a "Knight's Tour" of the chessboard, completely in his head, starting from any square on the board.

A "Knight's Tour" is a sequence of 64 knight moves executed in such a way that each square of the board is visited exactly once. The young lad was blindfolded and a starting square was called out to him. Without much thought he dictated a sequence of 64 squares that comprised a perfect knight tour.

The reaction to this feat in Germany was overwhelming. Newspapers were full of it, people discussed it on trains and buses, in offices and schools, and we at ChessBase received dozens of calls urging us to tell the story on our news page. This we did at the time, but with some misgiving: was it right to join the general speculation that we might have encountered a future chess world champion, or at least been witness to a prodigious feat of pure genius? Or should we look deeper, even if our results would detract from a moment of glory for a nine-year-old child? Should we tell our chess savvy public that the feat on the TV show was not quite as impressive as it looked?

The Knight's Tour

The "Knight's Tour" of the chessboard was first proposed (solved) in a ninth century Arabic manuscript by Abu Zakariya Yahya ben Ibrahim al-Hakim. The author give two tours, one by Ali C. Mani, an otherwise unknown chess player, and the other by al-Adli ar-Rumi, who flourished around 840 and is known to have written a book on Shatranj (the form of chess then popular).

A "closed tour" is one in which the square at the end of a Knight's Tour is a knight move away from the first square, as in the second example above. The master of Shatranj as-Suli, who based his works on those of al-Adli (which he criticised), published the two closed tours given above on the right. The first example shows perfect axial symmetry on the left half-board, the second is composed of two quasi-symmetrical half-board tours.

The first comprehensive mathematical analysis of the Knight's Tour was presented by the eighteenth century mathematician Leonhard Euler (1707–1783) to the Academy of Sciences at Berlin in 1759. The Academy had proposed a prize of 4,000 Francs for the best memoir on the problem, but it was never awarded, probably since Euler was at that time Director of Mathematics at the Berlin Academy and presumably ineligible.

Incidentally the number of possible knight's tours on an 8x8 board is surprisingly large — estimates range between 13 and 33 trillion. And much more on bigger boards. Here, for curiosity’s sake, is a Knight Tour on a 130x130 board.

If you want to learn a closed knight's tour by heart pick one of the following by Leonhard Euler. Learning a closed tour had the important advantage of allowing you to start from any square on the board and complete the tour from there. It is as easy as reciting the numbers from 1–64 starting from some random number and cycling to 1 after reaching 64.

How difficult is it?

Let us return to our nine-year-old boy on the TV show. As mentioned in the introduction to this article, Xaver was able to complete a Knight's Tour blindfolded and from any starting square given to him by the host of the show. Exactly how prodigious was this feat? How deeply must we be impressed? 

In order to test the effort involved in learning a Knight's Tour I asked a guest who was visiting over the weekend when the TV show was aired: Elizabeth Paehtz, at the time the women's under 18 world champion. "I used to be able to do the Knight's Tour when I was a child," she told us, "but I have forgotten how it went." So we asked her to try to learn it again.

Using a Knight's Tour of her choice Elli started learning it by heart. It was not as easy as she thought! With some effort she was able to master a tour in 40 minutes. It must be mentioned that the poor thing was in considerable pain, having had two wisdom teeth extracted a few days previously. So there was some problem with motivation. 

How about someone who is not a very strong chess player? Thomas Friedel, 20, gave up competitive chess when he was 14 and became a full-blooded programmer. How would an algorithmic mind fare with the task? With all his teeth intact, after twelve minutes studying the diagram Tommy announced that he could do it. And indeed, with Elli checking the moves he completed a Knight's Tour flawlessly on an empty chessboard. He could only do it starting from one particular square, but wagered that with half an hour of additional practice he could pick it up at any point in the closed circuit. Maybe an hour to do it reliably, dictating the squares rapidly, with a blindfold covering his eyes.

Sorry, Xaver, for demystifying your great performance. And sorry to everybody for being such spoilsport. I can only give you the following advice: pick a closed Knight's Tour from the Euler group above and invest an hour or two learning it. You can also download a Knight's Tour app to practise. After you have mastered the task prepare for your moment of glory. If it doesn't get you on big TV show, it at least makes for a great party trick.

The consummate Knight Tour master

When writing this article I remembered one of the most remarkable mental performances I have ever witnessed. It happened many years ago, at a U.S. chess club, where a master was giving a demonstration of his extraordinary abilities. At one stage he asked for a helper from the audience, and I was pushed and poked by my friends to take to the stage. There the master gave me a block of sticky notes and asked me to write down names, words and numbers dictated at random by the audience. Each was stuck on a big demo chessboard, starting from the square a8 and working sequentially to h1.

The audience called out a variety of words: names of cities, family members, phone numbers, abstract expressions. It went something like this: Dayton, Margaret-Lee Farrow, Pride before a fall, 212-783-4529, My dad's dog Skippy. While it was being done the master sat on his chair, listening to the audience, chatting with them. He was completely relaxed and not making any visible effort to memorise the notes.

After all the squares had been covered the master was blindfolded. He then asked someone in the audience to name a square on the chessboard. He immediately quoted the text that was on that square, and then proceeded to call out other texts on the sticky notes (which I located and removed from the demo board). The order in which he did this resulted in a perfect Knight's Tour. I believe he got one or two words slightly wrong, on the lines of Margaret-Mae Farrow instead of Margaret-Lee. All the numbers were perfect.

Now that is a truly remarkable feat. We were all deeply impressed, not the least because the master was approaching ninety years in age! He was George Koltanowski, one of the greatest mental acrobats the world has ever seen.

George Koltanowski, 1903-2000, picture originally in the San Francisco Chronicle 2000

All you could ever want to know about the Knight's Tour can be found here and here (and plenty of other locations).


Editor-in-Chief emeritus of the ChessBase News page. Studied Philosophy and Linguistics at the University of Hamburg and Oxford, graduating with a thesis on speech act theory and moral language. He started a university career but switched to science journalism, producing documentaries for German TV. In 1986 he co-founded ChessBase.

Discuss

Rules for reader comments

 
 

Not registered yet? Register

Kbe Kbe 4/11/2019 10:47
Frederic the mathematics of 63 moves to aim at a 64th to complete the tour only allow that the starting square to be different color square than the final 64th square. It cannot work any other way.The real challenge is setting up and employing a system that allows, from a particular pre-chosen square of one color starting square to end on a pre-chosen finishing square of a different color. The 2 squares can be pre-picked as any two squares on the board but they must be of different colors or one cannot complete the tour. There are 4 different but specific stratigies to pick from to do this depending on the initial and final placement possibilities.
PEB216 PEB216 4/11/2019 03:58
In 1955, when I was a teenager, I had the good fortune of playing George Koltanowski in one of his blindfold exhibitions against eight opponents (Miami, Florida). The following night he gave a brief talk and performed the knight tour as described by Frederic Friedel. He also sold autographed copies of his recently published book "Adventures of a Chess Master." On pages 23-24, Koltanowski described how he trained his memory while bedridden for two years. According to Koltanowski, "...anyone who can play chess should be able to play at least one blindfold game without very much difficulty" (p. 32).
Frederic Frederic 4/11/2019 08:51
@Kbe: Fascinating to hear -- start from any given square, end on any of a different colour. Never occurred to me as a challenge. I have some very young chess talents (Gukesh, Savitha, then Nihal) coming to Hamburg soon. Will do some experiments with them. All three love puzzles, chess and non-chess (logical). Which reminds me: I need to write the follow-up piece on the first two solving logical problems.

Maybe you are interested to read about Tommy and Garry and Nigel?! https://medium.com/@frederic_38110/tommy-and-the-repton-1-3272d73295ee
gonda gonda 4/11/2019 04:39
half a chessboard knight tour was set as a puzzle by an uncle when i was in the 10s (which side of 10, i forget).
also dont remember how long it took, but i managed it. used it as a fun riddle for my chess friends in school.
one thing: we all were quite comfortable starting the knight at a corner square rather than "any square".
observing that starting at corner square, if done in a particular sequence, would end in such a way, that were the other half of the board attached, we'd start at the other half's "corner square" too, helped me solve the full board knight tour.
again, didnt bother with starting at any square, nor with blindfold. nice exercise to try :)
Kbe Kbe 4/11/2019 02:51
I learned the tour several years ago. A set route that could start on any square and continue to complete to one knight's move taway from the starting move. Then I learned the method to start on a randomly picked square and end on a different randomly picked square, the only caveat being the starting and stopping squares be of different colors.

It took about 8 hours study for memorizing the first system and about 5 hours to memorize the second system, both available on YouTube and another 10 hours of using both to become fluent in using them. Fun, but only to others familiar with chess. Non chess players fail to get it.
Justjeff Justjeff 4/11/2019 01:07
It's one of my regrets that I never saw Koltanowski perform. At the time I always told myself I'd do it "one day", now I'd gladly travel to see it. And there doesn't seem to be an old clip on YouTube either.
Offramp Offramp 4/10/2019 11:28
George Perec's novel La Vie Mode D'Emploi is structured around a knight's tour of a 10x10 board.
Leavenfish Leavenfish 4/10/2019 10:53
I had the opportunity to see Kolty execute this in his later years. It really was impressive...towns he never even heard of previously and he did it without fault all while engaging with the audience and telling stories.

About 30 years later I happened upon his Adventures of a Chess Master in a used bookstore. A heck of a good read.
1