wu :: forums
« wu :: forums - A mathematical trick by Fido »

Welcome, Guest. Please Login or Register.
Mar 14th, 2025, 5:50pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: william wu, towr, Eigenray, Icarus, ThudnBlunder, Grimbal, SMQ)
   A mathematical trick by Fido
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: A mathematical trick by Fido  (Read 854 times)
bele
Newbie
*





   


Posts: 3
A mathematical trick by Fido  
« on: Sep 25th, 2003, 1:31pm »
Quote Quote Modify Modify

Hi everyone,
 
I wonder whether anyone will be able to help me solve this problem.  I came across this website where you're asked to choose a random 4 digit number..... Instead of explaining it, please go to the following website to see how they can guess the number you choose.  
 
   http://digicc.com/fido/
 
Is there a formula which can be applied to solve the problem?  I really like to know how they get the answer.
 
Thanking everyone in advance.
 
Bele
IP Logged
James Fingas
Uberpuzzler
*****





   
Email

Gender: male
Posts: 949
Re: A mathematical trick by Fido  
« Reply #1 on: Sep 25th, 2003, 1:53pm »
Quote Quote Modify Modify

He tells you not to pick a zero, but if you do, he thinks you picked a 9. In fact, if you enter all of the digits, he thinks you picked a 9 as well. He tells you to pick a number with lots of different digits so you don't get all zeros after you subtract.
 
You could also try entering test numbers like "1", "01", "10", "100000", "2", "3", "4", "1111", etc.
IP Logged

Doc, I'm addicted to advice! What should I do?
bele
Newbie
*





   


Posts: 3
Re: A mathematical trick by Fido  
« Reply #2 on: Sep 25th, 2003, 2:43pm »
Quote Quote Modify Modify

Hi,
 
But I still don't understand how he knows what number I picked.  There must be some logic or trick.  It could be better if some examples were used to explain how the trick works.
 
Thanks.
 
Bele
IP Logged
Sir Col
Uberpuzzler
*****




impudens simia et macrologus profundus fabulae

   
WWW

Gender: male
Posts: 1825
Re: A mathematical trick by Fido  
« Reply #3 on: Sep 25th, 2003, 3:34pm »
Quote Quote Modify Modify

Hi Bele! I won't give it away immediately, but I'll provide three hidden hints which sequentially lead you towards the trick...
 
Hint 1:
::
When you find the difference between a number and its reverse, the answer is always divisible by 9. Proving this in general is tricky, but it's relatively easy for a 4-digit number (abcd). You should get the difference to be: 9[111(a–d)+10(b–c)].
E.g. Suppose we pick 3621. Difference = 3621–1263 = 2358 = 9x262
::
 
Hint 2:
::
If a number is divisible by 9, so too is the sum of its digits.
In my example, 2+3+5+8 = 18.
::
 
Hint 3:
::
Suppose I give you three digits of my number. They will add to a total a little short of a number in the 9 times table.
In my example (2358), I might remove, say 2. So the remaining digits add to 3+5+8=16. The next number in the 9 times table is 18, so I know the number missing (circled) is 2.
::
 
It's a variation of an old trick, but it was presented superbly. Thanks for sharing the link with us, Bele.
« Last Edit: Sep 25th, 2003, 3:36pm by Sir Col » IP Logged

mathschallenge.net / projecteuler.net
Icarus
wu::riddles Moderator
Uberpuzzler
*****



Boldly going where even angels fear to tread.

   


Gender: male
Posts: 4863
Re: A mathematical trick by Fido  
« Reply #4 on: Sep 25th, 2003, 4:15pm »
Quote Quote Modify Modify

Practically all these "I'll tell you what number you picked" type problems rely on variations of the same trick. I don't know your current level of mathematical knowledge, but if you are comfortable with some simple algebra, try this: let a, b, c, and d be the four digits of the number you start with. Write your number out as:
 
a*1000 + b*100 + c*10 + d.

Now choose any rearrangement  
of the digits: say (bdca) instead of (abcd). The corresponding number is
 
b*1000 + d*100 + c*10 + a.

 
Now take the difference like he tells you:
 
(abcd) - (bdca) = a*1000 + b*100 + c*10 + d - (b*1000 + d*100 + c*10 + a)
     = a*1000 + b*100 + c*10 + d - b*1000 - d*100 - c*10 - a
     = (a*1000 - a) + (b*100 - b*1000) + (c*10 - c*10) + (d - d*100)
     = 9999*a + 900*b + 0*c - 99*d.
 
Dol you notice something about these numbers? Try it with other arrangements, you will see the same thing always happens.  
 
Now put that aside for a minute. Consider again an arbitrary number. This works for any number of digits, but let's look at four digits again:
 
(abcd) - (a + b + c + d) = a*1000 + b*100 + c*10 + d - a - b - c - d = a*999 + b*99 + c*9 + d*0.
 
Thus, the difference between any number and any other number resulting from a rearrangement of its digits is always divisible by 9. And the difference between any number and the sum of its digits is also always divisible by 9.
 
Put these two facts together, and you should be able to figure out how he does it, and also why he doesn't want you to choose zero as your digit.
 


 
Feh - that's what happens when you take the time to write it out carefully (and stop for supper in the middle). Some upstart Brit Math teacher jumps in with the same info ahead of you! Angry
« Last Edit: Sep 25th, 2003, 4:18pm by Icarus » IP Logged

"Pi goes on and on and on ...
And e is just as cursed.
I wonder: Which is larger
When their digits are reversed? " - Anonymous
bele
Newbie
*





   


Posts: 3
Re: A mathematical trick by Fido  
« Reply #5 on: Sep 25th, 2003, 7:59pm »
Quote Quote Modify Modify

Hi Sir Col and Icarus,
 
Thanks for the prompt reply.  I really appreciate your efforts in explaining the solution with examples as well as with formulas.  It makes it doubly clear.  Once again thank you.  
 
Take care.
 
Bele
IP Logged
Sir Col
Uberpuzzler
*****




impudens simia et macrologus profundus fabulae

   
WWW

Gender: male
Posts: 1825
Re: A mathematical trick by Fido  
« Reply #6 on: Sep 26th, 2003, 4:33pm »
Quote Quote Modify Modify

on Sep 25th, 2003, 4:15pm, Icarus wrote:
Some upstart Brit Math teacher jumps in with the same info ahead of you! Angry

Upstart? Huh! And, English, please.  Wink
 
I'd never really thought about what you said, Icarus: the difference between a natural number and any random configuration of its digits is divisible by 9. Of course, it follows from the standard proof that the difference between any natural number and its reverse is a multiple of 9. Nice! Thanks for sharing that insight.
IP Logged

mathschallenge.net / projecteuler.net
Icarus
wu::riddles Moderator
Uberpuzzler
*****



Boldly going where even angels fear to tread.

   


Gender: male
Posts: 4863
Re: A mathematical trick by Fido  
« Reply #7 on: Sep 27th, 2003, 6:41pm »
Quote Quote Modify Modify

Though I vaguely remember hearing it before, I never really thought about it either. But it was readily apparent (to those of us with more mathematics education than we know what to do with, Bele Wink) that this was required for the trick to work, and once you think about it, it is easy to prove.
IP Logged

"Pi goes on and on and on ...
And e is just as cursed.
I wonder: Which is larger
When their digits are reversed? " - Anonymous
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board