there is this book by Douglas Adams, The Hithchiker's Guide to the Galaxy where he mentioned that :

  • when he asked the computer about the meaning of life, it processed for many years and then returned 42 !

This number is often used in many programs as a reference to this book :P