{"id":473384,"date":"2025-09-02T16:20:49","date_gmt":"2025-09-02T16:20:49","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=473384"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=473384","title":{"rendered":"<span>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430: \u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u044f<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/379\/0b8\/65d\/3790b865dbe29a9b41ebd1c4759418ff.png\" width=\"780\" height=\"440\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/379\/0b8\/65d\/3790b865dbe29a9b41ebd1c4759418ff.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/379\/0b8\/65d\/3790b865dbe29a9b41ebd1c4759418ff.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430 \u043f\u043e\u043b\u043d\u0430 \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439. \u0412 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u00ab\u041d\u0430\u0443\u043a\u0430 \u0438 \u0436\u0438\u0437\u043d\u044c\u00bb \u0431\u044b\u043b\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u043e\u0441\u0443\u0433\u0438\u00bb. \u0421 \u0434\u0432\u0443\u043c\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u043d\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0437 \u0440\u0430\u0437\u0440\u044f\u0434\u0430 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<p>20646 \u00d7 35211 = 11253 \u00d7 64602<\/p>\n<p>203313 \u00d7 657624 = 426756 \u00d7 313302<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u044d\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0442\u0435\u043c, \u0447\u0442\u043e \u0446\u0438\u0444\u0440\u044b \u0432 \u043d\u0438\u0445 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e-\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u043d\u0430\u043a\u0430 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430. \u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0442 \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u044b, \u043d\u043e \u0441 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0435\u043c. \u041f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c \u2014 \u044d\u0442\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430, \u0430 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e \u2014 \u044d\u0442\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0434 \u0447\u0438\u0441\u043b\u0430\u043c\u0438.<\/p>\n<p>\u041a\u0430\u043a \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0430\u0432\u0442\u043e\u0440\u0430 \u0438\u043b\u0438 \u0434\u0430\u0442\u044b \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f. \u042d\u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u0435\u043b \u0438 \u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043a\u0430\u043a \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0435\u043c\u044b \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u043e\u0432 \u0438 \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0438 \u0432 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435.<\/p>\n<p>\u041a\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439?<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u2014 \u044d\u0442\u043e \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0446\u0438\u0444\u0440. \u041d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0440\u0430\u0441\u0442\u0451\u0442 \u0441 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0447\u0438\u0441\u0435\u043b: \u0434\u043b\u044f 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u2014 56, \u0434\u043b\u044f 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u2014 240, \u0434\u043b\u044f 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u2014 2456, \u0430 \u0434\u043b\u044f 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u2014 9612 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435.<\/em> \u041f\u0440\u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043b\u0443\u0447\u0430\u0438:<\/p>\n<p>\u2013 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u0446\u0438\u0444\u0440\u0430\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 111\u00a0\u00d7\u00a0222 = 222\u00a0\u00d7 111);<\/p>\n<p>\u2013 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u2013 \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 232 \u00d7 454 = 454 \u00d7 232);<\/p>\n<p>\u2013 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 1357\u00a0\u00d7\u00a07531 = 1357\u00a0\u00d7\u00a07531);<\/p>\n<p>\u2013 \u0432 \u0440\u0430\u0437\u0440\u044f\u0434\u0435 \u0435\u0434\u0438\u043d\u0438\u0446 \u0435\u0441\u0442\u044c \u043d\u0443\u043b\u0438 (\u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0440\u043e\u0442\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0434\u0443\u0449\u0438\u0435 \u043d\u0443\u043b\u0438).<\/p>\n<p>\u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043a\u043e\u0434 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b):<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def is_palindrome(n):     s = str(n)     return s == s[::-1]  def are_mirrors(a, b):     return str(a) == str(b)[::-1]  def is_trivial_pair(a, b, c, d):     return (         (a == d and b == c) or          (a == c and b == d) or          are_mirrors(a, b) or           are_mirrors(c, d)      )  def find_all_pairs(digits):     print(\"\\n\" + \"=\"*50)     found = 0     total_operations = 0          # \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0431\u0435\u0437 \u0447\u0438\u0441\u0435\u043b \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u0446\u0438\u0440\u0430\u043c\u0438 \u0438 \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u043e\u0432     numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         reversed_num = int(''.join(map(str, num_digits[::-1])))                  if not has_all_identical_digits(num) and not is_palindrome(num):             numbers.append((num, reversed_num))          total_numbers = len(numbers)          # \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u0441\u0435\u0445 \u043f\u0430\u0440     for i, (num1, num2) in enumerate(numbers):         for j, (num3, num4) in enumerate(numbers):             total_operations += 1             if num1 * num3 == num2 * num4:                 if not is_trivial_pair(num1, num3, num4, num2):                     print(f\"{num1:0{digits}d} \u00d7 {num3:0{digits}d} = {num4:0{digits}d} \u00d7 {num2:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439: {total_operations}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2\u20136) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits = int(choice)             find_all_pairs(digits)         else:             print(\"\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430.\")  if __name__ == \"__main__\":     main()<\/code><\/pre>\n<\/div>\n<\/details>\n<h3>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439<\/h3>\n<p>\u0410 \u043a\u0430\u043a \u043e\u0431\u0441\u0442\u043e\u044f\u0442 \u0434\u0435\u043b\u0430 \u0441 \u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c, \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435\u043c? \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430\u0439\u0442\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439?<\/p>\n<h4>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/h4>\n<p>\u0422\u0430\u043a\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f, \u0435\u0441\u043b\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440\u044b:<\/em><\/p>\n<p>276 \/ 384 = 483 \/ 672 \u2192 0,71875 = 0,71875<\/p>\n<p>4716 \/ 8253 = 3528 \/ 6174 \u2192 0,5714285714285714 = 0,5714285714285714<\/p>\n<p>\u041a\u043e\u0434 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b) \u0441 \u0434\u0440\u043e\u0431\u043d\u044b\u043c\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438:<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product from fractions import Fraction  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def reverse_number(n, digits):     reversed_str = str(n)[::-1]     if len(reversed_str) &lt; digits or reversed_str[0] == '0':         return None     return int(reversed_str)  def find_division_pairs(digits):     found = 0     total_pairs = 0          numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         if not has_all_identical_digits(num):             numbers.append(num)          total_numbers = len(numbers)          # \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440     for i, ab in enumerate(numbers):         ba = reverse_number(ab, digits)         if ba is None:             continue                      for j, cd in enumerate(numbers):             if j &lt;= i:                 continue                              dc = reverse_number(cd, digits)             if dc is None:                 continue                              total_pairs += 1                          if Fraction(ab, cd) == Fraction(dc, ba):                 if ab != dc or cd != ba:                     print(f\"{ab:0{digits}d}\/{cd:0{digits}d} = {dc:0{digits}d}\/{ba:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0446\u0438\u0439: {total_pairs}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2\u20136) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits = int(choice)             find_division_pairs(digits)         else:             print(\"\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430.\")  if __name__ == \"__main__\":     main()<\/code><\/pre>\n<\/div>\n<\/details>\n<h4>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h4>\n<p>\u0414\u043b\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0438 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443.<\/p>\n<p><strong><em><u>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0434\u043b\u044f \u0434\u0432\u0443\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:<\/u><\/em><\/strong><\/p>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u0435: AB + CD = DC + BA.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0447\u0438\u0441\u043b\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c\u044b \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432:<\/p>\n<p>(100A + B) + (100C + D) = (100D + C) + (100B + A)<\/p>\n<p>\u0423\u043f\u0440\u043e\u0441\u0442\u0438\u043c:<\/p>\n<p>\u00a099A + 99C = 99D + 99B<\/p>\n<p>A + C = D + B<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c. \u041f\u0443\u0441\u0442\u044c A = 5, B = 3, C = 4, D = 6.<\/p>\n<p>5 + 4 = 6 + 3<\/p>\n<p>\u041f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0446\u0438\u0444\u0440\u044b \u0432 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e AB + CD = DC + BA.<\/p>\n<p>53 + 46 = 64 + 35<\/p>\n<p>99 = 99<\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0434\u043b\u044f \u043f\u043e\u0434\u0431\u043e\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 AB + CD = DC + BA \u0434\u043b\u044f 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u044f: A + C = D + B.<\/p>\n<p><strong><em><u>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0434\u043b\u044f \u0442\u0440\u0451\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:<\/u><\/em><\/strong><\/p>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u0435: ABC + DEF = FED + CBA.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0447\u0438\u0441\u043b\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c\u044b \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432:<\/p>\n<p>(100A + 10B + C) + (100D + 10E + F) = (100F + 10E + D) + (100C + 10B + A)<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0439:<\/p>\n<p>99A + 99D = 99C + 99F<\/p>\n<p>A + D = C + F<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c. \u041f\u0443\u0441\u0442\u044c A = 5, D = 3, C = 6, F = 2.<\/p>\n<p>5 + 3 = 6 + 2<\/p>\n<p>\u041f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0446\u0438\u0444\u0440\u044b \u0432 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 ABC + DEF = FED + CBA.<\/p>\n<p>5_6 + 3_2 = 2_3 + 6_5<\/p>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u0446\u0438\u0444\u0440\u0430\u043c\u0438: B = 1, E = 7.<\/p>\n<p>516 + 372 = 273 + 615<\/p>\n<p>888 = 888<\/p>\n<p>\u042d\u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f, \u043a\u043e\u0433\u0434\u0430 \u0412 = \u0415 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0412 = \u0415 = 9).<\/p>\n<p>596 + 392 = 293 + 695<\/p>\n<p>988 = 988<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b ABC + DEF = FED + CBA \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0441\u0443\u043c\u043c \u0434\u043b\u044f \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u0446\u0438\u0444\u0440: A + D = C + F. \u0421\u0440\u0435\u0434\u043d\u0438\u0435 \u0446\u0438\u0444\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f92\/31b\/aa2\/f9231baa214bd0fbe064713d4cd617b6.png\" width=\"800\" height=\"450\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/f92\/31b\/aa2\/f9231baa214bd0fbe064713d4cd617b6.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f92\/31b\/aa2\/f9231baa214bd0fbe064713d4cd617b6.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0414\u043b\u044f \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b):<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def is_palindrome(n):     s = str(n)     return s == s[::-1]  def reverse_number(n, digits):     reversed_str = str(n)[::-1]     if len(reversed_str) &lt; digits or reversed_str[0] == '0':         return None     return int(reversed_str)  def find_addition_pairs(digits):     print(\"\\n\" + \"=\"*50)     found = 0     total_pairs = 0          numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         if not has_all_identical_digits(num) and not is_palindrome(num):             numbers.append(num)          total_numbers = len(numbers)          for i, a in enumerate(numbers):         rev_a = reverse_number(a, digits)         if rev_a is None:             continue                      for j, b in enumerate(numbers):             if j &lt;= i:                 continue                              rev_b = reverse_number(b, digits)             if rev_b is None:                 continue                              total_pairs += 1                          if a + b == rev_b + rev_a:                 if a != rev_b or b != rev_a:                     print(f\"{a:0{digits}d} + {b:0{digits}d} = {rev_b:0{digits}d} + {rev_a:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439: {total_pairs}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2-6) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits = int(choice)             find_addition_pairs(digits)         else:             print(\"\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430.\")  if __name__ == \"__main__\":     main()<\/code><\/pre>\n<\/div>\n<\/details>\n<h4>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u044f<\/h4>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440\u044b:<\/em><\/p>\n<p>724 \u2013 625 = 526 \u2013 427<\/p>\n<p>1225 \u2013 1135 = 5311 \u2013 5221<\/p>\n<p>\u041a\u043e\u0434 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b). \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f.<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def reverse_number(n, digits):     reversed_str = str(n)[::-1]     if len(reversed_str) &lt; digits or reversed_str[0] == '0':         return None     return int(reversed_str)  def find_subtraction_pairs(digits):     found = 0     total_pairs = 0          numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         if not has_all_identical_digits(num):             numbers.append(num)          total_numbers = len(numbers)          for i, a in enumerate(numbers):         rev_a = reverse_number(a, digits)         if rev_a is None:             continue                      for j, b in enumerate(numbers):             if j == i:                 continue                              rev_b = reverse_number(b, digits)             if rev_b is None:                 continue                              total_pairs += 1                          if (a - b == rev_b - rev_a) and (a - b &gt; 0) and (rev_b - rev_a &gt; 0):                 if a != rev_b or b != rev_a:                     print(f\"{a:0{digits}d} - {b:0{digits}d} = {rev_b:0{digits}d} - {rev_a:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439: {total_pairs}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2\u20136) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits = int(choice)             find_subtraction_pairs(digits)         else:             print(\"\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430.\")  if __name__ == \"__main__\":     main()<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u0422\u0430\u043a \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432 \u0441 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438? \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0446\u0438\u0444\u0440 \u0432 \u0447\u0438\u0441\u043b\u0430\u0445 \u2014 \u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u043e\u0442\u0435\u043d \u0434\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432. \u0418 \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0438\u0441\u0435\u043b \u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 \u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0445. \u0428\u0435\u0441\u0442\u0438\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438\u0441\u044c \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0434\u043e\u043b\u0433\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041d\u043e \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0438\u0436\u0435, \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u044d\u0442\u043e \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u044b \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432. \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0447\u0435\u043c \u0432\u044b\u0448\u0435 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u044c, \u0442\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"center\">\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435<\/p>\n<\/td>\n<td>\n<p align=\"center\">5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\" data-colwidth=\"115,106,118,112,0\" width=\"115\">\n<p align=\"center\"><em>\u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435<\/em><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">6561<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">656100<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">79388100<\/p>\n<\/td>\n<td>\n<p align=\"center\">7938810000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">56<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">240<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">2456<\/p>\n<\/td>\n<td>\n<p align=\"center\">9612<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\" data-colwidth=\"115,106,118,112,0\" width=\"115\">\n<p align=\"center\"><em>\u0434\u0435\u043b\u0435\u043d\u0438\u0435 (\u0441 \u0434\u0440\u043e\u0431\u043d\u044b\u043c\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438)<\/em><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">2556<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">320400<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">32728095<\/p>\n<\/td>\n<td>\n<p align=\"center\">3279730545<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">0<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">14<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">134<\/p>\n<\/td>\n<td>\n<p align=\"center\">936<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\" data-colwidth=\"115,106,118,112,0\" width=\"115\">\n<p align=\"center\"><em>\u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/em><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">2556<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">258840<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">32076045<\/p>\n<\/td>\n<td>\n<p align=\"center\">3207964950<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">168<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">20040<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">155760<\/p>\n<\/td>\n<td>\n<p align=\"center\">15936450<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\" data-colwidth=\"115,106,118,112,0\" width=\"115\">\n<p align=\"center\"><em>\u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435 (\u0441 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438)<\/em><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">5112<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">640800<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">65456190<\/p>\n<\/td>\n<td>\n<p align=\"center\">6559461090<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"115\" width=\"115\">\n<p align=\"left\">\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b<\/p>\n<\/td>\n<td data-colwidth=\"106\" width=\"106\">\n<p align=\"center\">136<\/p>\n<\/td>\n<td data-colwidth=\"118\" width=\"118\">\n<p align=\"center\">1648<\/p>\n<\/td>\n<td data-colwidth=\"112\" width=\"112\">\n<p align=\"center\">155488<\/p>\n<\/td>\n<td>\n<p align=\"center\">3114656<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>\u0413\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432<\/h4>\n<ul>\n<li>\n<p>\u0422\u0430\u043a\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0438, \u0434\u043b\u044f \u0433\u043e\u043b\u043e\u0432\u043e\u043b\u043e\u043c\u043e\u043a \u0438 \u0440\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0439. \u0422\u0430\u043a\u0436\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043e\u043b\u0438\u043c\u043f\u0438\u0430\u0434 \u0438\u043b\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u043e\u0432 \u043d\u0430 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u0447\u0435\u0431\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0445 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438, \u0432 \u0442\u0435\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043a\u043e\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u044e.<\/p>\n<\/li>\n<li>\n<p>\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0439, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u0430\u043a\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b, \u0438 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430\u0439\u0442\u0438 \u043e\u0431\u0449\u0443\u044e \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u0434\u043b\u044f \u0438\u0445 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044f\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c. \u0423 \u043a\u043e\u0433\u043e \u043a\u0430\u043a\u0438\u0435 \u043c\u044b\u0441\u043b\u0438 \u043f\u043e \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430\u043c \u2014 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c.<\/p>\n<hr\/>\n<p>\u041d\u041b\u041e \u043f\u0440\u0438\u043b\u0435\u0442\u0435\u043b\u043e \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u043e \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u043c\u043e\u043a\u043e\u0434 \u0434\u043b\u044f \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u0431\u043b\u043e\u0433\u0430:<\/p>\n<p>\u2014\u00a0<a href=\"https:\/\/firstvds.ru\/?utm%5C_source=habr&amp;utm%5C_medium=article&amp;utm%5C_campaign=product&amp;utm%5C_content=vds15exeptprogrev\" rel=\"noopener noreferrer nofollow\">15% \u043d\u0430 \u0437\u0430\u043a\u0430\u0437 \u043b\u044e\u0431\u043e\u0433\u043e VDS<\/a>\u00a0(\u043a\u0440\u043e\u043c\u0435 \u0442\u0430\u0440\u0438\u0444\u0430 \u041f\u0440\u043e\u0433\u0440\u0435\u0432) \u2014\u00a0<strong>HABRFIRSTVDS<\/strong>.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/918242\/\"> https:\/\/habr.com\/ru\/articles\/918242\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><\/figure>\n<p>\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430 \u043f\u043e\u043b\u043d\u0430 \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439. \u0412 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u00ab\u041d\u0430\u0443\u043a\u0430 \u0438 \u0436\u0438\u0437\u043d\u044c\u00bb \u0431\u044b\u043b\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u043e\u0441\u0443\u0433\u0438\u00bb. \u0421 \u0434\u0432\u0443\u043c\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u043d\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0437 \u0440\u0430\u0437\u0440\u044f\u0434\u0430 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<p>20646 \u00d7 35211 = 11253 \u00d7 64602<\/p>\n<p>203313 \u00d7 657624 = 426756 \u00d7 313302<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u044d\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0442\u0435\u043c, \u0447\u0442\u043e \u0446\u0438\u0444\u0440\u044b \u0432 \u043d\u0438\u0445 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e-\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u043d\u0430\u043a\u0430 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430. \u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0442 \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u044b, \u043d\u043e \u0441 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0435\u043c. \u041f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c \u2014 \u044d\u0442\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430, \u0430 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e \u2014 \u044d\u0442\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0434 \u0447\u0438\u0441\u043b\u0430\u043c\u0438.<\/p>\n<p>\u041a\u0430\u043a \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0430\u0432\u0442\u043e\u0440\u0430 \u0438\u043b\u0438 \u0434\u0430\u0442\u044b \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f. \u042d\u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u0435\u043b \u0438 \u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043a\u0430\u043a \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0435\u043c\u044b \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u043e\u0432 \u0438 \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0438 \u0432 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435.<\/p>\n<p>\u041a\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439?<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u2014 \u044d\u0442\u043e \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0446\u0438\u0444\u0440. \u041d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0440\u0430\u0441\u0442\u0451\u0442 \u0441 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0447\u0438\u0441\u0435\u043b: \u0434\u043b\u044f 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u2014 56, \u0434\u043b\u044f 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u2014 240, \u0434\u043b\u044f 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u2014 2456, \u0430 \u0434\u043b\u044f 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u2014 9612 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435.<\/em> \u041f\u0440\u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043b\u0443\u0447\u0430\u0438:<\/p>\n<p>\u2013 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u0446\u0438\u0444\u0440\u0430\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 111\u00a0\u00d7\u00a0222 = 222\u00a0\u00d7 111);<\/p>\n<p>\u2013 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u2013 \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 232 \u00d7 454 = 454 \u00d7 232);<\/p>\n<p>\u2013 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 1357\u00a0\u00d7\u00a07531 = 1357\u00a0\u00d7\u00a07531);<\/p>\n<p>\u2013 \u0432 \u0440\u0430\u0437\u0440\u044f\u0434\u0435 \u0435\u0434\u0438\u043d\u0438\u0446 \u0435\u0441\u0442\u044c \u043d\u0443\u043b\u0438 (\u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0440\u043e\u0442\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0434\u0443\u0449\u0438\u0435 \u043d\u0443\u043b\u0438).<\/p>\n<p>\u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043a\u043e\u0434 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b):<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def is_palindrome(n):     s = str(n)     return s == s[::-1]  def are_mirrors(a, b):     return str(a) == str(b)[::-1]  def is_trivial_pair(a, b, c, d):     return (         (a == d and b == c) or          (a == c and b == d) or          are_mirrors(a, b) or           are_mirrors(c, d)      )  def find_all_pairs(digits):     print(\"\\n\" + \"=\"*50)     found = 0     total_operations = 0          # \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0431\u0435\u0437 \u0447\u0438\u0441\u0435\u043b \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u0446\u0438\u0440\u0430\u043c\u0438 \u0438 \u043f\u0430\u043b\u0438\u043d\u0434\u0440\u043e\u043c\u043e\u0432     numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         reversed_num = int(''.join(map(str, num_digits[::-1])))                  if not has_all_identical_digits(num) and not is_palindrome(num):             numbers.append((num, reversed_num))          total_numbers = len(numbers)          # \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u0441\u0435\u0445 \u043f\u0430\u0440     for i, (num1, num2) in enumerate(numbers):         for j, (num3, num4) in enumerate(numbers):             total_operations += 1             if num1 * num3 == num2 * num4:                 if not is_trivial_pair(num1, num3, num4, num2):                     print(f\"{num1:0{digits}d} \u00d7 {num3:0{digits}d} = {num4:0{digits}d} \u00d7 {num2:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439: {total_operations}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2\u20136) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits = int(choice)             find_all_pairs(digits)         else:             print(\"\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430.\")  if __name__ == \"__main__\":     main()<\/code><\/pre>\n<\/div>\n<\/details>\n<h3>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439<\/h3>\n<p>\u0410 \u043a\u0430\u043a \u043e\u0431\u0441\u0442\u043e\u044f\u0442 \u0434\u0435\u043b\u0430 \u0441 \u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c, \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435\u043c? \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u043d\u0430\u0439\u0442\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439?<\/p>\n<h4>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/h4>\n<p>\u0422\u0430\u043a\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f, \u0435\u0441\u043b\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440\u044b:<\/em><\/p>\n<p>276 \/ 384 = 483 \/ 672 \u2192 0,71875 = 0,71875<\/p>\n<p>4716 \/ 8253 = 3528 \/ 6174 \u2192 0,5714285714285714 = 0,5714285714285714<\/p>\n<p>\u041a\u043e\u0434 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b) \u0441 \u0434\u0440\u043e\u0431\u043d\u044b\u043c\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438:<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product from fractions import Fraction  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def reverse_number(n, digits):     reversed_str = str(n)[::-1]     if len(reversed_str) &lt; digits or reversed_str[0] == '0':         return None     return int(reversed_str)  def find_division_pairs(digits):     found = 0     total_pairs = 0          numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         if not has_all_identical_digits(num):             numbers.append(num)          total_numbers = len(numbers)          # \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440     for i, ab in enumerate(numbers):         ba = reverse_number(ab, digits)         if ba is None:             continue                      for j, cd in enumerate(numbers):             if j &lt;= i:                 continue                              dc = reverse_number(cd, digits)             if dc is None:                 continue                              total_pairs += 1                          if Fraction(ab, cd) == Fraction(dc, ba):                 if ab != dc or cd != ba:                     print(f\"{ab:0{digits}d}\/{cd:0{digits}d} = {dc:0{digits}d}\/{ba:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0446\u0438\u0439: {total_pairs}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2\u20136) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits = int(choice)             find_division_pairs(digits)         else:             print(\"\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430.\")  if __name__ == \"__main__\":     main()<\/code><\/pre>\n<\/div>\n<\/details>\n<h4>\u0417\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h4>\n<p>\u0414\u043b\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0438 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443.<\/p>\n<p><strong><em><u>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0434\u043b\u044f \u0434\u0432\u0443\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:<\/u><\/em><\/strong><\/p>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u0435: AB + CD = DC + BA.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0447\u0438\u0441\u043b\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c\u044b \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432:<\/p>\n<p>(100A + B) + (100C + D) = (100D + C) + (100B + A)<\/p>\n<p>\u0423\u043f\u0440\u043e\u0441\u0442\u0438\u043c:<\/p>\n<p>\u00a099A + 99C = 99D + 99B<\/p>\n<p>A + C = D + B<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c. \u041f\u0443\u0441\u0442\u044c A = 5, B = 3, C = 4, D = 6.<\/p>\n<p>5 + 4 = 6 + 3<\/p>\n<p>\u041f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0446\u0438\u0444\u0440\u044b \u0432 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e AB + CD = DC + BA.<\/p>\n<p>53 + 46 = 64 + 35<\/p>\n<p>99 = 99<\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0434\u043b\u044f \u043f\u043e\u0434\u0431\u043e\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 AB + CD = DC + BA \u0434\u043b\u044f 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u044f: A + C = D + B.<\/p>\n<p><strong><em><u>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0434\u043b\u044f \u0442\u0440\u0451\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:<\/u><\/em><\/strong><\/p>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u0435: ABC + DEF = FED + CBA.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0447\u0438\u0441\u043b\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c\u044b \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432:<\/p>\n<p>(100A + 10B + C) + (100D + 10E + F) = (100F + 10E + D) + (100C + 10B + A)<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0439:<\/p>\n<p>99A + 99D = 99C + 99F<\/p>\n<p>A + D = C + F<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c. \u041f\u0443\u0441\u0442\u044c A = 5, D = 3, C = 6, F = 2.<\/p>\n<p>5 + 3 = 6 + 2<\/p>\n<p>\u041f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0446\u0438\u0444\u0440\u044b \u0432 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 ABC + DEF = FED + CBA.<\/p>\n<p>5_6 + 3_2 = 2_3 + 6_5<\/p>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u0446\u0438\u0444\u0440\u0430\u043c\u0438: B = 1, E = 7.<\/p>\n<p>516 + 372 = 273 + 615<\/p>\n<p>888 = 888<\/p>\n<p>\u042d\u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f, \u043a\u043e\u0433\u0434\u0430 \u0412 = \u0415 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0412 = \u0415 = 9).<\/p>\n<p>596 + 392 = 293 + 695<\/p>\n<p>988 = 988<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b ABC + DEF = FED + CBA \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0441\u0443\u043c\u043c \u0434\u043b\u044f \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u0446\u0438\u0444\u0440: A + D = C + F. \u0421\u0440\u0435\u0434\u043d\u0438\u0435 \u0446\u0438\u0444\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0414\u043b\u044f \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u043d\u0430 Python (\u043e\u0442 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0434\u043e 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b):<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 \u043d\u0430 Python \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">from itertools import product  def has_all_identical_digits(n):     s = str(n)     return all(c == s[0] for c in s)  def is_palindrome(n):     s = str(n)     return s == s[::-1]  def reverse_number(n, digits):     reversed_str = str(n)[::-1]     if len(reversed_str) &lt; digits or reversed_str[0] == '0':         return None     return int(reversed_str)  def find_addition_pairs(digits):     print(\"\\n\" + \"=\"*50)     found = 0     total_pairs = 0          numbers = []     for num_digits in product(*([range(1, 10)] + [range(0, 10)]*(digits-1))):         num = int(''.join(map(str, num_digits)))         if not has_all_identical_digits(num) and not is_palindrome(num):             numbers.append(num)          total_numbers = len(numbers)          for i, a in enumerate(numbers):         rev_a = reverse_number(a, digits)         if rev_a is None:             continue                      for j, b in enumerate(numbers):             if j &lt;= i:                 continue                              rev_b = reverse_number(b, digits)             if rev_b is None:                 continue                              total_pairs += 1                          if a + b == rev_b + rev_a:                 if a != rev_b or b != rev_a:                     print(f\"{a:0{digits}d} + {b:0{digits}d} = {rev_b:0{digits}d} + {rev_a:0{digits}d}\")                     found += 1          print(f\"\\n\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0439: {total_pairs}\")     print(f\"\u0412\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432: {found}\")  def main():     while True:         print(\"\\n\" + \"=\"*50)         print(\"2. 2-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"3. 3-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"4. 4-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"5. 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"6. 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430\")         print(\"0. \u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\")                  choice = input(\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (2-6) \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 0 &gt; \")                  if choice == '0':             print(\"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.\")             break         elif choice in {'2', '3', '4', '5', '6'}:             digits =<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-473384","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/473384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=473384"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/473384\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=473384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=473384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=473384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}