Every science fiction fan knows of “The Nine Billion Names of God”, a short story by Arthur C. Clarke. The premise is that there’s a Tibetan monastery that has decided that the purpose of man is to enumerate all of the Names of God. They’ve (through methods not described in the story) determined that all of the Names can be written in a nine-character alphabet that they’ve devised, and that there are some rules that all true Names must follow, and decide to simply exhaustively list all of the words in this alphabet that follow those constraints, secure in the knowledge that all of the Names will be contained in that list. For this purpose, they rent a computer and hire a couple of engineers from an American company to print them out.
But great though the story is, it occurs to me that the math doesn’t really work out. First of all, there’s the matter of time. We’ll assume, for the sake of argument, that either their rules have a fairly low false positive rate (that is, that most of the words that meet the constraints are true Names), or that the “nine billion” figure is actually a count of all of the words that meet the constraints, and that the true Names are a subset of that number of unknown size. But either way, the computer must still be printing out nine billion words. This is said to take about a hundred days, and we know that the monks aren’t very far along in the project yet when they rent the computer: They’ve been at it for 300 years, and expected it to take 15,000 years. But 9,000,000,000 words in 100 days is 90,000,000 words a day, or 3,750,000 an hour, or over a thousand per second. While it’s reasonable for a computer (even one that Clarke was envisioning) to calculate that many words, how on Earth could it print them that fast?
And then there’s the matter of the quantity of paper. The short story collection I’m reading this in has 672 (fairly thin) pages, with 41 lines per page, and I count 53 characters in a typical line, for a total capacity of 1.4 million characters in the book. We don’t know exactly how long the Names are, but with nine billion Names constructed out of a mere 9 characters, most of them must be at least 11 characters long, plus another for a space between Names*. So this volume I’m holding could hold about 120,000 Names. At that rate, it would take 74,000 books this size to hold all of the Names. This book is 0.032 m by 0.108 m by 0.177 m, so that means it’d take 45 cubic meters (or about that many tons) of paper to hold all of the Names.
Clarke was surely capable of doing the math. What happened here, that he didn’t? It’s not like such a respected science fiction author to just throw out random numbers without giving them a sanity check.
*Never mind that the story also says
By very straightforward math, they apparently did bother to go on to words of ten characters.