The answer to life, the universe and everything is 42

In the book ‘The Hitchhikers Guide to the Galaxy’ Douglas Adams describes how the hero meets Slartibartfast and hears how a race of hyper-intelligent pan-dimensional beings built a computer named Deep Thought to calculate the Answer to the Ultimate Question of Life, the Universe, and Everything.