Answer to the Ultimate Question of Life, the Universe, and Everything (42)
The Answer to the Ultimate Question of Life, The Universe, and Everything.
In the radio series and the first novel, a group of hyper-intelligent pan-dimensional beings demand to learn the Answer to the Ultimate Question of Life, The Universe, and Everything from the supercomputer, Deep Thought, specially built for this purpose. It takes Deep Thought 7½ million years to compute and check the answer, which turns out to be 42. Deep Thought points out that the answer seems meaningless because the beings who instructed it never actually knew what the Question was.
When asked to produce The Ultimate Question, Deep Thought says that it cannot; however, it can help to design an even more powerful computer that can. This new computer will incorporate living beings into the "computational matrix" and will run for ten million years. It is revealed as being the planet Earth, with its pan-dimensional creators assuming the form of white lab mice to observe its running. The process is hindered after eight million years by the unexpected arrival on Earth of the Golgafrinchans and is then ruined completely, five minutes prior to completion, when the Earth is destroyed by the Vogons to make way for a new Hyperspace Bypass. In The Restaurant at the End of the Universe, this is revealed to have been a ruse: the Vogons had been hired to destroy the Earth by a consortium of psychiatrists, led by Gag Halfrunt, who feared for the loss of their careers when the ultimate question became known.
Lacking a real question, the mice decide not to go through the whole thing again and settle for the out-of-thin-air suggestion "How many roads must a man walk down?" from Bob Dylan's song "Blowin' in the Wind".
At the end of the radio series, the television series and the novel The Restaurant at the End of the Universe, Arthur Dent, having escaped the Earth's destruction, potentially has some of the computational matrix in his brain. He attempts to discover The Ultimate Question by extracting it from his brainwave patterns, as abusively suggested by Ford Prefect, when a Scrabble-playing caveman spells out forty two.
Arthur pulls random letters from a bag, but only gets the sentence "What do you get if you multiply six by nine?"
"Six by nine. Forty two."
"That's it. That's all there is."
"I always thought something was fundamentally wrong with the universe"
Six times nine is, of course, fifty-four. The answer is deliberately wrong. The program on the "Earth computer" should have run correctly, but the unexpected arrival of the Golgafrinchans on prehistoric Earth caused input errors into the system—computing (because of the garbage in, garbage out rule) the wrong question—the question in Arthur's subconscious being invalid all along.
Narrator: There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory mentioned, which states that this has already happened.
Some readers who were trying to find a deeper meaning in the passage soon noticed that 613 × 913is actually 4213 (as (4 × 13) + 2 = 54, i.e. 54 in decimal is equal to 42 expressed in base 13).:128 When confronted with this, the author claimed that it was a mere coincidence, stating that "I may be a sorry case, but I don't write jokes in base 13."
In Life, the Universe and Everything, a character named "Prak," who "knows all that is true," confirms that 42 is indeed The Answer, and that it is impossible for both The Answer and The Question to be known in the same universe, as they will cancel each other out and take the Universe with them—to be replaced by something even more bizarre (as described in the first theory) and that it may have already happened (as described in the second). Though the question is never found, 42 is the table number at which Arthur and his friends sit when they arrive at Milliways at the end of the radio series. Likewise, Mostly Harmless ends when Arthur stops at a street address identified by his cry of, "There, number 42!" and enters the club Beta, owned by Stavro Mueller (Stavromula Beta). Shortly after, the Earth is destroyed in all existing incarnations.
The number 42
Douglas Adams was asked many times why he chose the number 42. Many theories were proposed, including that 42 is 101010 in binary code, that light refracts through a water surface by 42 degrees to create a rainbow, that light requires 10−42 seconds to cross the diameter of a proton. Adams rejected them all. On 3 November 1993, he gave this answer on alt.fan.douglas-adams:
The answer to this is very simple. It was a joke. It had to be a number, an ordinary, smallish number, and I chose that one. Binary representations, base thirteen, Tibetan monks are all complete nonsense. I sat at my desk, stared into the garden and thought '42 will do' I typed it out. End of story.
Adams described his choice as 'a completely ordinary number, a number not just divisible by two but also six and seven. In fact it's the sort of number that you could without any fear introduce to your parents.'
While 42 was a number with no hidden meaning, Adams explained in more detail in an interview with Iain Johnstone of BBC Radio 4 (recorded in 1998 though never broadcast) to celebrate the first radio broadcast's 20th anniversary. Having decided it should be a number, he tried to think what an "ordinary number" should be. He ruled out non-integers, then he remembered having worked as a "prop-borrower" for John Cleese on his Video Arts training videos. Cleese needed a funny number for the punchline to a sketch involving a bank teller (himself) and a customer (Tim Brooke-Taylor). Adams believed that the number that Cleese came up with was 42 and he decided to use it.
In January 2000, in response to a panelist's "Where does the number 42 come from?" on the radio show "Book Club", Adams explained that he was "on his way to work one morning, whilst still writing the scene, and was thinking about what the actual answer should be. He eventually decided that it should be something that made no sense whatsoever – a number, and a mundane one at that. And that is how he arrived at the number 42, completely at random."
Stephen Fry, a friend of Adams, claims that Adams told him "exactly why 42", and that the reason is "fascinating, extraordinary and, when you think hard about it, completely obvious." However, Fry says that he has vowed not to tell anyone the secret, and that it must go with him to the grave. John Lloyd, Adams' collaborator on The Meaning of Liff and two Hitchhiker's fits, said that Adams has called 42 "the funniest of the two-digit numbers."
The number 42appears frequently in the work of Lewis Carroll, and some critics have suggested that this was an influence. They note, in particular, that Alice's attempt at her times tables (chapter two of Alice's Adventures in Wonderland) breaks down at 4 x 13 answered in base 42, which virtually reverses the failure of 'the Question' ("What do you get if you multiply six by nine?"), in that the latter would equal "42" if calculated in base 13. They find further evidence of Carroll's influence in the fact that Adams entitled the episodes of the original radio series of The Hitchhiker's Guide to the Galaxy "fits", the word Carroll used to name the chapters of The Hunting of the Snark.
There is the persistent tale that 42 is Adams' tribute to the indefatigable paperback book, and is the average number of lines on an average page of an average paperback. Another common guess is that 42 refers to the number of laws in cricket, a recurring theme of the books.
The number 42 also happens to be the ASCII code for the asterisk '*' which is a wildcard character indicating any number of characters or even an empty string in programming. This could be interpreted as the answer 'anything you want it to be'.
Mathematicians found a question whose answer is 42: what is the largest number n such that there are positive integers p, q, r such that
The 42 puzzle. The shape of the islands in the background spells out 42, and there are 42 coloured balls
The 42 Puzzle is a game devised by Douglas Adams in 1994 for the United States series of The Hitchhiker's Guide to the Galaxy books. The puzzle is an illustration consisting of 42 multi-coloured balls, in 7 columns and 6 rows. Douglas Adams has said,
Everybody was looking for hidden meanings and puzzles and significances in what I had written (like 'is it significant that 6×9 = 42 in base 13?' As if.) So I thought that just for a change I would actually construct a puzzle and see how many people solved it. Of course, nobody paid it any attention. I think that's terribly significant.
In the puzzle the question is unknown, but the answer is already known to be 42. This is similar to the book where the "Answer to the Ultimate Question of Life, the Universe, and Everything" is known but not the question. The puzzle first appeared in The Illustrated Hitchhiker's Guide to the Galaxy. It was later incorporated into the covers of all five reprinted "Hitchhiker's" novels in the United States.
Adams has described the puzzle as depicting the number 42 in ten different ways. Six possible questions are:
(1) How many spheres are in the diagram? (six rows of seven is 42)
(2) What position in the grid does the Earth occupy? (42)
(4) Considering red-hued spheres (red, purple, orange, black) as a '1' and those without as a '0', what number does each line represent in decimal form? (In binary, each line reads '0101010', or '42' in decimal form.)
(5) What number do the blue-tinted spheres (blue, green, purple, black) spell out? (Similar to a colour blindness test.) (42)
(6) What number is represented by Roman numerals spelled out by the yellow-tinted spheres (yellow, orange, green, black) in the first three rows? (XLII = 42)
On the Internet and in software
The number 42 and the phrase, "Life, the universe, and everything" have attained cult status on the Internet. "Life, the universe, and everything" is a common name for the off-topic section of an Internet forum and the phrase is invoked in similar ways to mean "anything at all". Many chatbots, when asked about the meaning of life, will answer "42". Several online calculators are also programmed with the Question. Google Calculator will give the result to the answer to life the universe and everything as 42, as will Wolfram's Computational Knowledge Engine. Similarly, DuckDuckGo also gives the result of the answer to the ultimate question of life, the universe and everything as 42. In the online community Second Life, there is a section on a sim called "42nd Life." It is devoted to this concept in the book series, and several attempts at recreating Milliways, the Restaurant at the End of the Universe, were made.
In OpenOffice.org software (prior to version 3.4) if =ANTWORT("Das Leben, das Universum und der ganze Rest") (German for =ANSWER("life, the universe and everything")) is typed into any cell of a spreadsheet, the result is 42.
ISO/IEC 14519-2001/ IEEE Std 1003.5-1999, IEEE Standard for Information Technology – POSIX(R) Ada Language Interfaces – Part 1: Binding for System Application Program Interface (API) , uses the number 42 as the required return value from a process that terminates due to an unhandled exception. The Rationale says "the choice of the value 42 is arbitrary" and cites the Adams book as the source of the value.
The standard for Tagged Image File Format TIFF defines in its Image File Header bytes 2 and 3 to denominate a 'version number' 42. In revision 5.0 the specification explained the choice with "This number, 42 (2A in hex), is not to be equated with the current Revision of the TIFFspecification. In fact, the TIFF version number (42) has never changed, and probably never will. If it ever does, it means that TIFF has changed in some way so radical that a TIFF reader should give up immediately. The number 42 was chosen for its deep philosophical significance." The later versions have eliminated the lengthy description, but kept the number fixed at 42 anyway.
The random seed chosen to procedurally create the whole universe of the online multi-player computer game EVE Online was chosen as 42 by its lead game designer in 2002.
In the computer game Gothic "42" is a code that deactivates all activated cheats. After typing "42" in a right place, text "What was the question?" appears.
Ken Jennings, defeated along with Brad Rutter in a Jeopardy! match against IBM's Watson, writes that Watson's avatar which appeared on-screen for those games showed 42 "threads of thought," shown as colorful lines spinning around Watson's logo, and that the number was chosen in reference to this meme.
The Hitchhiker knitting pattern, designed by Martina Behm, is a scarf with 42 teeth.
In The Flash, Season 4, Episode 1, Cisco in trying to decipher what Barry is writing explicitly says that what Barry says might solve answer to the Life, the Universe and Everything, which Caitlin suggests is 42.