It's pretty basic maths, when you think about it. Look at the individual steps.
- Multiply by 80.
- Multiply by 250
- Divide number by 2
= Multiply by 10000.
Multiplying by 80, then 250 and then dividing by 2 is the same as mutiplying by 10000.
- Add 1
- Multiply by 250
- Subtract 250
= 0
All you're really doing by adding 1 and multiplying by 250 is adding 250.
- Add the last 4 digits of your phone number
- Add the last 4 digits of your phone number again.
- Divide number by 2
= Add the last 4 digits of your phone number
So all you're doing is multiplying the first three digits by 10000, then adding the last four digits on the end. Hardly mind blowing.