My magician gives you 3 regular dice
and asks you to do the following, while he is out of the room:
"Roll them, and write in sequence the three results, followed by a 3digit number representing the hidden sides of the rolled dice.
Once you got the 6â€“digit number, divide it by 111.
THEN CALL ME."
Then he exits and you roll 1,2,4 and write down 124653, divide by 111 and get 1123.
The magician upon entering the room gets the result and quips within a second 1,2,4.
How did he do it?
(In reply to
Computer results by Charlie)
Well and good but your list is incomplete.
I roll in sequence 3,5,1. 351426 is not on your list. After division by 111 I get 3166, which your algorithm can't handle.
I agree with you and Jer that if you order the numbers least to greatest you can read them off but I don't see anything in the problem about that. It's not much of a trick if the magician intervenes and says, no, not that card, that one.

Posted by xdog
on 20171212 20:37:47 