The third book in the Hitchhiker's Guide To The Galaxy trilogy by Douglas Adams.
It was first published in 1982.