Problem 157. The Hitchhiker's Guide to MATLAB
Solution Stats
Problem Comments

18 Comments
weird question
??. Please some one explain me the problem
I cann't bear so weird question! why 42?
42 is the ultimate answer to life,universe and everything. The Hitchhiker's Guide to the galaxy!
I wish there is a "dislike" opinion.
Very good.
That's nice! Btw I dont understand how to get less then 13.
Honestly, I solved it only because it kept reappearing on my list.
In the spirit of troublemaking: I think the solution should accept text input, e.g. "fortytwo"
Really weird question!
good
42. do not add zero after 2
good
good one
gooodyy
Is it necessary to know about "The hitchhiker's guide to the galaxy" to solve this problem or it has a different logic behind the solution?
If it doesn't have a different logic, I have to say it was a boring problem.
classic
Amazing!
Solution Comments

1 Comment
The Ultimate Question:
What do you get if you multiply 6 by 9?
42 is the Matlab score for this solution

1 Comment
Same problem

1 Comment
This user (mohamed elbesealy) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sockpuppet' accounts. —DIV

2 Comments
Why 42?
You need to read the book, or at least watch the movie to get it.

1 Comment
Bravo

2 Comments
Why have you compared x with '42' specifically?
@Disha: see http://en.wikipedia.org/wiki/42_(number)#The_Hitchhiker.27s_Guide_to_the_Galaxy

2 Comments
the question????
ahahaha. The question is "what do you get if you multiply six by nine?"

1 Comment
I don't get it... really weird..

1 Comment
I'm pretty sure I'm a geek,but the answer still baffles me...

2 Comments
l don't understand what the problem mean
@sea knowledge: The solution to this problem requires some knowledge that is commonly held in the geek community. The problem title and the template solution have some hints.

1 Comment
An optimistic solution!

1 Comment
Ironic? Or does Douglas Adams know ASCII>?

1 Comment
painful indenting!
Problem Recent Solvers3088
Suggested Problems

Arrange vector in ascending order
697 Solvers

Reverse the elements of an array
788 Solvers

Sum of first n positive integers
495 Solvers

563 Solvers

find the surface area of a cube
420 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!