Well clearly the answer is not 40x40x40 = 64000,
that would just be too easy, not so much a lateral thinking puzzle as just a
sum.
The key word here is 'immediately.' The
implication of this is that you do not have to try 40 times at the last number
for each combination of the first number two numbers.
With this in mind you see that after any combination of
the first two numbers you can, instead of trying all of the 40 possibilities
for the last number, just turn the dial all the way to the end for the last
number; in doing this you will necessarily pass the correct number where upon
'the door
shall immediately spring open.'
If that hasn't cleared it up the answer is below:-
40 x 40 = 1600
BACK