Quote:
David E. Gervais said:
I found this Eerie Psychic Thingy It's kind of neat. Try it you'll see what I mean.
Cheers!
|
It's a math trick; every multiple of 9 (except 0, but it specifies a two digit number, so that won't happen, will it?) is the same randomly assigned symbol. It has you take a number in range, and subtract the sum of it's digits from it - the result? A multiple of 9 (unless you pick something under 10, anyway; and even then, 0 is technically a multiple of 9 - but it's not one the program flags - it would be too obvious). Consider: 99: 9+9 = 18; 99-18 = 81 = 9x9. 98: 9+8 = 17; 98-17 = 81 = 9x9. Dropping the original number by 1 will result in the same 81 until you drop below 90 - at which point, it goes to the next multiple of 9 down - 89: 8+9 = 17; 89 - 17 = 72 = 9x8. The pattern continues; from 79 to 70 you get 63 (9x7); from 69 to 60 you get 54 (9x6); from 59 to 50 you get 45 (9x5), et cetera, et cetera.