There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox firewall freezes freezing hard drive hardware hijackthis internet internet explorer itunes keyboard laptop malware motherboard mouse msn network networking outlook 2007 power printer problem ram router screen slow sound trojan usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
How do they do this?


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
starchild's Avatar
Senior Member with 1,947 posts.
 
Join Date: Sep 2002
11-Sep-2004, 02:41 PM #1
How do they do this?
http://digicc.com/fido/

It's either something very complicated or something very simple, right in front of me.

I'm guessing a javascript of some kind, that takes the numbers you put in (minus the one you circles) and figures out all the combinations of numbers that would be subtracted to get it, with all the numbers that could be in it and now aren't.

I tried doing it without the the subtracting. Like just thinking of number "1" and putting in 2-3-4 and it came out with 9 and not 1. (and it doesn't always come out with 9 for the answer. I know there's something that always comes up to 9 no matter how you do it).

I also tried thinking of a different number than I circled in case it WAS reading my mind it still gave the one I circled.

It must have something to do with the numbers you put in, that's the only interaction with the program.

And even though there are countless combinations of numbers that could be used (subtracted) there's still only 1-9 that can be missing from the answer.

But still.... it's always right (if you do it as it says).

Any ideas?

~ Carrie
Chicon's Avatar
Computer Specs
Distinguished Member with 6,695 posts.
 
Join Date: Jul 2004
Location: 50° 34' 07.13" N - 04° 10' 23.
Experience: Second socks retriever
11-Sep-2004, 03:30 PM #2
Hi starchild,

After the substraction, the result is always a multiple of 9.
For example, you circle a 8 and you enter 2 - 4 - 4 : the program does 2 + 4 + 4 = 10; if the result > 9 => 10 - 9 = 1; the number read in your mind is 9 - 1 = 8.
starchild's Avatar
Senior Member with 1,947 posts.
 
Join Date: Sep 2002
11-Sep-2004, 03:41 PM #3
Quote:
Originally Posted by Chicon
Hi starchild,

After the substraction, the result is always a multiple of 9.
For example, you circle a 8 and you enter 2 - 4 - 4 : the program does 2 + 4 + 4 = 10; if the result > 9 => 10 - 9 = 1; the number read in your mind is 9 - 1 = 8.
You lost me after the 10, I don't see how it gets 9=> 10-9=1 (etc)and comes up with 8. Do you mean it adds up the numbers in the answer and decides what number is missing to make "9"?

And why is the answer always a multiple of 9?

I do know there's something about numbers and multipules of 9, though. Like up to a point whatever you multiply by 9 comes up to 9 (when the answer is added together).

~ Carrie
Chicon's Avatar
Computer Specs
Distinguished Member with 6,695 posts.
 
Join Date: Jul 2004
Location: 50° 34' 07.13" N - 04° 10' 23.
Experience: Second socks retriever
11-Sep-2004, 03:56 PM #4
It's a simple arithmetic rule : the sum of the digits which compose a number multiple of 9 is itself multiple of 9.
In my example, 2 - 4 - 4 - 8 ==> 2 + 4 + 4 + 8 = 18 (multiple of 9) and 2448, 8424, 2484, and so on are numbers multiple of 9.
When you enter 2 - 4 - 4 and circle 8; the program does the following operations :
1°) 2 + 4 + 4 = 10
2°) if the result is greater or equal than 9 => the program must subtract 9 from the result : 10 - 9 = 1 and this operation is repeated until the result < 9
3°) according to the rule, the number to be guessed is the complement by 9 => 9 -1 = 8
__________________
Never teach an old monkey how to make faces. - (French maxim)
Chicon's Avatar
Computer Specs
Distinguished Member with 6,695 posts.
 
Join Date: Jul 2004
Location: 50° 34' 07.13" N - 04° 10' 23.
Experience: Second socks retriever
11-Sep-2004, 04:16 PM #5
"Why the subtraction is always a multiple of 9"

There is another arithmetic rule a bit more tricky :
You have 2 numbers (integers only) : A and B
you divide them by 9 and their remainder are called r(A) and r(B)
The rule is : if r(A) = r(B), the result of (A - B) or (B - A) is a multiple of 9

If you choose A = 5672 and B = 2765 ==> r(A) = 2 and r(B) = 2 ==> 5672 - 2765 = 2907 is a multiple of 9 !
__________________
Never teach an old monkey how to make faces. - (French maxim)
starchild's Avatar
Senior Member with 1,947 posts.
 
Join Date: Sep 2002
11-Sep-2004, 07:19 PM #6
Chicon, you are one smart dude

I feel smarter just reading this.

I think the end result is the Flash program isn't really reading my mind

Not that I really thought so....

~ Carrie
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:24 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.