Agree with both of you guys, I thought of the exact same two stories when I heard this again! This story was written before either of those however.
I remember we read it in a philosophy of religion class I had back in college (awesome teacher, he was always giving us great scifi to read and write about!) Douglas Adams' was actually writing a parody/hommage to this story when he wrote about 42.
This was a fun little nugget to show up on the Bsides feed one afternoon. Fredric Brown's other stuff is great as well, I'd highly recommend Martian's Go Home.
A Jetson Your Llama! I never said that it was a Mexican McDonalds!