PDA

View Full Version : Another "play with numbers" website


suyver
Apr21-04, 06:11 AM
http://digicc.com/fido/

It's probably related to the fact that we have a base-10 number system, but I fail to see how it works...

This website does the following:
1) You write down a 3 or 4 digit number, say X=x1 x2 x3 x4 (where the x's denote the digits).
2) You randomize the digits and obtain another number, say Y=x3 x2 x4 x1.
3) You subtract the largest from the smallest one. (call this one Z=z1 z2 z3 z4)
4) You select one of the digits from this number (say z3) and write the remaining numbers in any order, say z4 z1 z2 in my example.
5) Somehow, the website then tells you what the selected digit was (the z3 in my case) based only on this remaining number.

Can someone explain in some more detail what the trick is?

suyver
Apr21-04, 06:45 AM
OK, I got slightly further: My number Z=X-Y (X>Y) must be devidable by 9, right?

Is it then just the case that because the website knows that the number I imput plus the unknown digit must be dividable by 9, the value of the unknown digit can be determined? I.E.: Because it knows that the number (z4 z1 z3 UNKNOWN) is devidable by 9, and because it knows z4, z1 and z3, it can determine the value for the UNKNOWN, since z4+z1+z3+UNKNOWN must be devidable by 9?

suyver
Apr21-04, 06:54 AM
OK, I think I completed the answer to my own question (great forum, this is! ;-)

This trick is that the website divides the number that I imput by 9 to see what remainder is left.
If it's 0, the missing digit had to be 9.
If it's 1, the missing digit had to be 8.
If it's 2, the missing digit had to be 7.
If it's 3, the missing digit had to be 6.
If it's 4, the missing digit had to be 5.
If it's 5, the missing digit had to be 4.
If it's 6, the missing digit had to be 3.
If it's 7, the missing digit had to be 2.
If it's 8, the missing digit had to be 1.

Is this correct?

matt grime
Apr21-04, 07:34 AM
There is perhaps the issu to be got round of: if the remainder is 0, then the missing digit might be 0 (it is congruent to zero mod 9 and there are two possbilities) of course there should be some reason why one of these can't happen, or there might be other reasons that allow you to decide which of these possibilites is true if both can occur

suyver
Apr21-04, 08:18 AM
Good point! That must be why you are not allowed to choose a zero in the link that I gave.