Originally posted by Miss A from UkOK, that's kind of creepy.
http://www.milaadesign.com/wizardy.html
how can it be right every time?
I don't know how that works, but that freaked me out.
It worked when I didn't look at the number.
I made sure that I didn't use my mouse to find the number.
It even worked when I consciously didn't do the math in my head.
Let first digit of your number be y
Let second digit be z
Then your number can be written as 10y + z
And adding the two digits gives y + z
And subtracting above from original number gives 10y + z - (y + z)
Which gives 10y + z - y - z
Which gives 10y - y
Or 9y
In other words, the result will be a multiple of nine. Figure out the rest for yourself.