That is a science fiction comedy by an English writer, Douglas Adams.
It was written as a radio drama, and it became very popular so novelized by Adams. And there're TV drama series and a movie, too. Trailer is here http://youtu.be/MbGNcoB2Y4I
That story includes lots of humor and irony, and is very interesting.
The series is made of 5 stories.
"The Hitchhiker's Guide to the Galaxy", "The Restaurant at the End of Universe", "Life, the Universe and Everything", "So Long, and Thanks for All the Fish" and "Mostly Harmless".
In Japanese it is called 銀河ヒッチハイク・ガイド.
When Adams had finished writing "Mostly Harmless" he said that such negative ending is not suit this series, he would write a continuation someday. But he died before writing proper continuation.
I was so shocked but I can read the continuation now. Eoin Colfer wrote it! That's named "And Another thing...".
I didn't expected it so much but it was really nice, great ending.
This is getting too long...I will put an end to it soon.
If you want to know the answer to the ultimate question, google "the answer to life, the universe and everything". You will know it then.
DON'T PANIC, and know where your towel is. Thank you for reading this post!