jumptoit wrote:
How oh how does someone discover that this works in the first place??????
Quite easily. It's basic maths, just lots of useless expansions adding steps.
Put it like this, it's doing. (where x is first 3 digits of phone number, y is last 3 digits)
x*1000+y
((x*8)*250+(y*2))/2 (this expansion multiples by 2000, so everything needs to be divided by 2 at the end obviously)
(((x*8)+1)*250+(y+y)-250)/2
yada yada. lol
Feel free to modify the constants, for example:
(((x*5)+1)*400+(y+y)-400)/2
or
(((x*16)+1)*250+(y+y+y+y)-250)/4
No matter what you do, it's just a complicated way of multiplying one number by 1000 and then adding another one onto it. lol