Editor’s Note: Published in 1957, this article comes from Martin Gardner’s legendary Scientific American column Mathematical Games. Read more in our special digital issue, Fun and Games.