http://elenire.livejournal.com/ ([identity profile] elenire.livejournal.com) wrote in [personal profile] earlyhawk 2010-09-28 10:45 am (UTC)

Математика.

Номер телефона является числом, состоящим из разрядов.
x7 - старший, x1 - младший (единицы).

x7*1000000+x6*100000+x5*10000+x4*1000+x3*100+x2*10+x1

Т.е. номер 1234567 = 1*1000000+2*100000+3*10000+4*1000+5*100+6*10+7
x7=1, x6=2, ..., x1=7

(x7*100+x6*10+x5) - первые три цифры

четыре последние
(x4*1000+x3*100+x2*10+x1)


Выражение всех этих действий:
((80*(x7*100+x6*10+x5)+1)*250+(x4*1000+x3*100+x2*10+x1)+(x4*1000+x3*100+x2*10+x1)-250)/2 =

как вы думаете, чему равно?

раскрываем скобки:


Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting