{"id":337346,"date":"2022-08-21T21:00:24","date_gmt":"2022-08-21T21:00:24","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=337346"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=337346","title":{"rendered":"<span>\u041e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0437\u0430\u0445\u043e\u0434 \u043d\u0430 \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430. \u041f\u0440\u043e\u0441\u0442\u0430\u044f \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u043a\u0430, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u044b \u0438 \u043f\u0440\u044f\u043c\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b<\/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<h3>0<\/h3>\n<p>\u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0432\u0441\u0435\u043c \u0438 \u0442\u0430\u043a \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u044d\u0442\u043e (\u043a\u0442\u043e \u0432\u0441\u0451 \u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 &#8212; <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%93%D0%B8%D0%BF%D0%BE%D1%82%D0%B5%D0%B7%D0%B0_%D0%9A%D0%BE%D0%BB%D0%BB%D0%B0%D1%82%D1%86%D0%B0\" rel=\"noopener noreferrer nofollow\">\u0432\u043f\u0435\u0440\u0451\u0434 \u0432 \u0432\u0438\u043a\u0438<\/a>), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0430\u043c. <\/p>\n<p>\u041a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u0441 \u043f\u0443\u043d\u043a\u0442\u0430 <strong>5<\/strong>. \u0411\u043b\u0438\u0436\u0435 \u043a \u043a\u043e\u043d\u0446\u0443 \u0441\u0442\u0430\u0442\u044c\u0438 \u0435\u0441\u0442\u044c \u043f\u0438\u0442\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434  \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u0435\u043b. \u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043c\u043d\u0435 \u0441\u0430\u043c\u043e\u043c\u0443 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f. \u041e\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u0443 &#171;\u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435-\u0442\u043e \u0437\u0430\u0442\u0435\u0438 \u0438 \u0437\u0430\u043f\u0438\u0441\u0438, \u043d\u0430\u0434\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0437\u0430\u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b&#187;, \u0430 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0432\u044b\u0442\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043b\u0435\u043a\u0430\u043b\u0430\u043c. \u041a\u043e\u0434 \u043d\u0435\u0441\u0451\u0442 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043a \u0441\u0442\u0430\u0442\u044c\u0435, \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043c\u044b\u0441\u043b\u044c \u0434\u0430\u0451\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c\u0438.<\/p>\n<h2>1<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 &#8212; \u043e\u043d\u0438 \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044f\u0442 \u0432 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"1, 2, 3, 4, ... \\rightarrow 1, 3, 5, 7, ...\" alt=\"1, 2, 3, 4, ... \\rightarrow 1, 3, 5, 7, ...\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9e8\/5a8\/b17\/9e85a8b17f524e9af4fd340de32973fa.svg\" width=\"219\" height=\"20\"\/><\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u0432\u0435\u0442\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"3n + 1\" alt=\"3n + 1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8f8\/902\/b48\/8f8902b480816d46d3f0fe224728e301.svg\" width=\"54\" height=\"17\"\/>  \u043d\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"1.5n + \\frac 1 2\" alt=\"1.5n + \\frac 1 2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/247\/7ca\/95c\/2477ca95c4f908de5b148375fbec79b6.svg\" width=\"76\" height=\"42\"\/>.<\/p>\n<p>\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"cltz(n) = \\begin{cases} 1.5n + \\frac 1 2, &amp; n\\equiv 1\\pmod 2 \\\\ n \/ 2 , &amp; n\\equiv 0\\pmod 2 \\end{cases}\" alt=\"cltz(n) = \\begin{cases} 1.5n + \\frac 1 2, &amp; n\\equiv 1\\pmod 2 \\\\ n \/ 2 , &amp; n\\equiv 0\\pmod 2 \\end{cases}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d36\/4db\/0f1\/d364db0f13bfdea0fdb5c059c3b2e8de.svg\" width=\"328\" height=\"52\"\/><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 &#8212; \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\" cltz^k(n) = 1, \\ k \\gt 0\" alt=\" cltz^k(n) = 1, \\ k \\gt 0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2d2\/fa0\/b33\/2d2fa0b33313a2175995183a1829a7ed.svg\" width=\"160\" height=\"25\"\/><\/p>\n<h2>2<\/h2>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043f\u043e\u0432\u0435\u0434\u0443\u0442 \u0441\u0435\u0431\u044f \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043f\u0440\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align} 1 &amp; \\rightarrow &amp; 2 \\\\ 3 &amp; \\rightarrow &amp; 5 \\\\ 5 &amp; \\rightarrow &amp; 8 \\\\ 7 &amp; \\rightarrow &amp; 11 \\\\ &amp; ... \\end{align}\" alt=\"\\begin{align} 1 &amp; \\rightarrow &amp; 2 \\\\ 3 &amp; \\rightarrow &amp; 5 \\\\ 5 &amp; \\rightarrow &amp; 8 \\\\ 7 &amp; \\rightarrow &amp; 11 \\\\ &amp; ... \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9de\/682\/694\/9de682694154dfe1d64dcedf527740c7.svg\" width=\"98\" height=\"122\"\/><\/p>\n<p>\u0427\u0443\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a, \u0443\u043a\u0430\u0437\u0430\u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0438 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u0442\u0430\u043a\u0436\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430, \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"cltz(n)\" alt=\"cltz(n)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ca3\/30d\/903\/ca330d903d72270db38c5103295f86bb.svg\" width=\"57\" height=\"22\"\/> \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0447\u0451\u0442\u043d\u044b\u0435:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; [1] &amp; 1 &amp; \\rightarrow 1 + 1 &amp; \\Rightarrow &amp; \\, 2 &amp; \\rightarrow 1 \\\\&amp; [2] &amp; 3 &amp; \\rightarrow 3 + 2 &amp; \\Rightarrow &amp; \\, 5  \\\\&amp; [3] &amp; 5 &amp; \\rightarrow 5 + 3 &amp; \\Rightarrow &amp; \\ 8 &amp; \\Rightarrow 1 \\\\&amp; [4] &amp; 7 &amp; \\rightarrow 7 + 4 &amp; \\Rightarrow &amp; \\, 11 \\\\&amp; [5] &amp; 9 &amp; \\rightarrow 9 + 5 &amp; \\Rightarrow &amp; \\, 14 &amp; \\rightarrow 7\\\\&amp; ...\\end{align}\" alt=\"\\begin{align}&amp; [1] &amp; 1 &amp; \\rightarrow 1 + 1 &amp; \\Rightarrow &amp; \\, 2 &amp; \\rightarrow 1 \\\\&amp; [2] &amp; 3 &amp; \\rightarrow 3 + 2 &amp; \\Rightarrow &amp; \\, 5  \\\\&amp; [3] &amp; 5 &amp; \\rightarrow 5 + 3 &amp; \\Rightarrow &amp; \\ 8 &amp; \\Rightarrow 1 \\\\&amp; [4] &amp; 7 &amp; \\rightarrow 7 + 4 &amp; \\Rightarrow &amp; \\, 11 \\\\&amp; [5] &amp; 9 &amp; \\rightarrow 9 + 5 &amp; \\Rightarrow &amp; \\, 14 &amp; \\rightarrow 7\\\\&amp; ...\\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/65e\/751\/6a2\/65e7516a226bf60a6c2d65947f31b76b.svg\" width=\"303\" height=\"152\"\/><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u044f\u0432\u043d\u043e \u0432\u0438\u0434\u0435\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u0442\u0442\u0435\u0440\u043d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"[m_{i}] \\, n_{i} \\rightarrow n_{i} + m_{i} \\Rightarrow n_{i+1}\" alt=\"[m_{i}] \\, n_{i} \\rightarrow n_{i} + m_{i} \\Rightarrow n_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b2f\/028\/9b3\/b2f0289b37c8544ceeed61b902b30381.svg\" width=\"217\" height=\"22\"\/><\/p>\n<blockquote>\n<p>\u041d\u043e\u043c\u0435\u0440\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[m]\" alt=\"[m]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1f3\/352\/4a9\/1f33524a926a774a0bed41f68a4f4ae3.svg\" width=\"28\" height=\"22\"\/> \u0447\u0438\u0441\u0435\u043b <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"n\" alt=\"n\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dff\/9b2\/8d8\/dff9b28d8d07349afc74ee597517e392.svg\" width=\"12\" height=\"12\"\/> \u0432 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u043c \u0440\u044f\u0434\u0443 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435:<img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[m] \\iff (n + 1) \/ 2\" alt=\"[m] \\iff (n + 1) \/ 2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/86f\/d15\/adf\/86fd15adf068b145a923c71a9732082e.svg\" width=\"164\" height=\"22\"\/><\/p>\n<\/p>\n<p>\u042d\u0442\u043e \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u0442\u0430\u043a\u0436\u0435 \u0438 \u0434\u043b\u044f \u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u0438\u0434 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[m.5]\" alt=\"[m.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b0a\/3a4\/cb0\/b0a3a4cb0791147b20dc27797ab84f28.svg\" width=\"43\" height=\"22\"\/>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#8212; <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[5.5] \\iff 10\" alt=\"[5.5] \\iff 10\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d6c\/d33\/fe5\/d6cd33fe5b49579c883ea640af7d7973.svg\" width=\"112\" height=\"22\"\/> .<\/p>\n<\/blockquote>\n<p> \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043d\u0430 \u0447\u0438\u0441\u043b\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"25\" alt=\"25\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c9b\/4c1\/94f\/c9b4c194fcff0dccf88d1936d1bda749.svg\" width=\"19\" height=\"16\"\/> \u043f\u0440\u043e\u0432\u043e\u0434\u044f \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"cltz(n)\" alt=\"cltz(n)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b14\/687\/2ff\/b146872ffff15119dab6905f54b4cf48.svg\" width=\"57\" height=\"22\"\/> \u0434\u043e\u0432\u043e\u0434\u044f \u0434\u043e \u0435\u0434\u0438\u043d\u0438\u0446\u044b. \u0422\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0440\u0430\u0441\u043a\u0430\u0434\u0440\u043e\u0432\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 25<\/summary>\n<div class=\"spoiler__content\"><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; [13] &amp; 25 &amp; \\rightarrow 25 + 13 &amp; \\Rightarrow &amp; \\, 38 \\\\ \\rightarrow + 6.5 &amp; \\\\ &amp; [19.5] &amp; 38 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 19 \\\\ \\rightarrow - 9.5 &amp; \\\\ &amp; [10] &amp; 19 &amp; \\rightarrow 19 + 10 &amp; \\Rightarrow &amp; \\, 29 \\\\ \\rightarrow + 5 &amp; \\\\ &amp; [15] &amp; 29 &amp; \\rightarrow 29 + 15 &amp; \\Rightarrow &amp; \\, 44 \\\\ \\rightarrow + 7.5 &amp; \\\\ &amp; [22.5] &amp; 44 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 22 \\\\ \\rightarrow - 11 &amp; \\\\ &amp; [11.5] &amp; 22 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 11 \\\\ \\rightarrow - 5.5 &amp; \\\\&amp; [6] &amp; 11 &amp; \\rightarrow 11 + 6 &amp; \\Rightarrow &amp; \\, 17 \\\\ \\rightarrow + 3 &amp; \\\\ &amp; [9] &amp; 17 &amp; \\rightarrow 17 + 9 &amp; \\Rightarrow &amp; \\, 26 \\\\ \\rightarrow + 4.5 &amp; \\\\ &amp; [13.5] &amp; 26 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 13 \\\\ \\rightarrow - 6.5 &amp; \\\\ &amp; [7] &amp; 13 &amp; \\rightarrow 13 + 7 &amp; \\Rightarrow &amp; \\, 20 \\\\ \\rightarrow + 3.5 &amp; \\\\ &amp; [10.5] &amp; 20 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 10 \\\\ \\rightarrow - 5 &amp; \\\\ &amp; [5.5] &amp; 10 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 5 \\\\ \\rightarrow - 2.5 &amp; \\\\ &amp; [3] &amp; 5 &amp; \\rightarrow 5 + 3 &amp; \\Rightarrow &amp; \\, 8 \\\\ \\rightarrow + 1.5 &amp; \\\\ &amp; [4.5] &amp; 8 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 4 \\\\ \\rightarrow - 2 &amp; \\\\ &amp; [2.5] &amp; 4 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 2 \\\\ \\rightarrow - 1 &amp; \\\\ &amp; [1.5] &amp; 2 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 1 \\\\ \\rightarrow - 0.5 &amp; \\\\ &amp; [1] &amp; 1 &amp; . \\\\ \\end{align}\" alt=\"\\begin{align}&amp; [13] &amp; 25 &amp; \\rightarrow 25 + 13 &amp; \\Rightarrow &amp; \\, 38 \\\\ \\rightarrow + 6.5 &amp; \\\\ &amp; [19.5] &amp; 38 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 19 \\\\ \\rightarrow - 9.5 &amp; \\\\ &amp; [10] &amp; 19 &amp; \\rightarrow 19 + 10 &amp; \\Rightarrow &amp; \\, 29 \\\\ \\rightarrow + 5 &amp; \\\\ &amp; [15] &amp; 29 &amp; \\rightarrow 29 + 15 &amp; \\Rightarrow &amp; \\, 44 \\\\ \\rightarrow + 7.5 &amp; \\\\ &amp; [22.5] &amp; 44 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 22 \\\\ \\rightarrow - 11 &amp; \\\\ &amp; [11.5] &amp; 22 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 11 \\\\ \\rightarrow - 5.5 &amp; \\\\&amp; [6] &amp; 11 &amp; \\rightarrow 11 + 6 &amp; \\Rightarrow &amp; \\, 17 \\\\ \\rightarrow + 3 &amp; \\\\ &amp; [9] &amp; 17 &amp; \\rightarrow 17 + 9 &amp; \\Rightarrow &amp; \\, 26 \\\\ \\rightarrow + 4.5 &amp; \\\\ &amp; [13.5] &amp; 26 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 13 \\\\ \\rightarrow - 6.5 &amp; \\\\ &amp; [7] &amp; 13 &amp; \\rightarrow 13 + 7 &amp; \\Rightarrow &amp; \\, 20 \\\\ \\rightarrow + 3.5 &amp; \\\\ &amp; [10.5] &amp; 20 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 10 \\\\ \\rightarrow - 5 &amp; \\\\ &amp; [5.5] &amp; 10 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 5 \\\\ \\rightarrow - 2.5 &amp; \\\\ &amp; [3] &amp; 5 &amp; \\rightarrow 5 + 3 &amp; \\Rightarrow &amp; \\, 8 \\\\ \\rightarrow + 1.5 &amp; \\\\ &amp; [4.5] &amp; 8 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 4 \\\\ \\rightarrow - 2 &amp; \\\\ &amp; [2.5] &amp; 4 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 2 \\\\ \\rightarrow - 1 &amp; \\\\ &amp; [1.5] &amp; 2 &amp; \\rightarrow \/2 &amp; \\Rightarrow &amp; \\, 1 \\\\ \\rightarrow - 0.5 &amp; \\\\ &amp; [1] &amp; 1 &amp; . \\\\ \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/afe\/bc5\/5ca\/afebc55caf7b9fc99145111af93675e8.svg\" width=\"346\" height=\"841\"\/><\/p>\n<\/div>\n<\/details>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0441\u0430\u043c\u0438\u0445 \u0447\u0438\u0441\u0435\u043b, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0434\u043d\u0438\u0445 \u043b\u0438\u0448\u044c \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0438 \u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435 \u0436\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u043e \u0443\u0436\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u043c\u0438 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438<\/summary>\n<div class=\"spoiler__content\"><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\" \\begin{align} &amp; [13] \\\\ \\rightarrow + 6.5 &amp; \\\\ &amp; [19.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 9.5 \\leftarrow \\\\ &amp; [10] \\\\ \\rightarrow + 5 &amp; \\\\ &amp; [15] \\\\ \\rightarrow + 7.5 &amp; \\\\ &amp; [22.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 11 \\leftarrow \\\\ &amp; [11.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 5.5 \\leftarrow \\\\ &amp; [6] \\\\ \\rightarrow + 3 &amp; \\\\ &amp; [9] \\\\ \\rightarrow + 4.5 &amp; \\\\ &amp; [13.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 6.5 \\leftarrow \\\\ &amp; [7] \\\\ \\rightarrow + 3.5 &amp; \\\\ &amp; [10.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 5 \\leftarrow \\\\ &amp; [5.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 2.5 \\leftarrow \\\\ &amp; [3] \\\\ \\rightarrow + 1.5 &amp; \\\\ &amp; [4.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 2 \\leftarrow \\\\ &amp; [2.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 1 \\leftarrow \\\\ &amp; [1.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 0.5 \\leftarrow \\\\ &amp; [1].  \\end{align}\" alt=\" \\begin{align} &amp; [13] \\\\ \\rightarrow + 6.5 &amp; \\\\ &amp; [19.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 9.5 \\leftarrow \\\\ &amp; [10] \\\\ \\rightarrow + 5 &amp; \\\\ &amp; [15] \\\\ \\rightarrow + 7.5 &amp; \\\\ &amp; [22.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 11 \\leftarrow \\\\ &amp; [11.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 5.5 \\leftarrow \\\\ &amp; [6] \\\\ \\rightarrow + 3 &amp; \\\\ &amp; [9] \\\\ \\rightarrow + 4.5 &amp; \\\\ &amp; [13.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 6.5 \\leftarrow \\\\ &amp; [7] \\\\ \\rightarrow + 3.5 &amp; \\\\ &amp; [10.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 5 \\leftarrow \\\\ &amp; [5.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 2.5 \\leftarrow \\\\ &amp; [3] \\\\ \\rightarrow + 1.5 &amp; \\\\ &amp; [4.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 2 \\leftarrow \\\\ &amp; [2.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 1 \\leftarrow \\\\ &amp; [1.5] \\\\ &amp; \\;\\;\\;\\;\\;\\; - 0.5 \\leftarrow \\\\ &amp; [1].  \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6f3\/43f\/aaa\/6f343faaa925638c3b2dd0831ff647ef.svg\" width=\"175\" height=\"841\"\/><\/p>\n<\/div>\n<\/details>\n<h2>3<\/h2>\n<p>\u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ol>\n<li>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_i \\equiv 0\\pmod 2\" alt=\"m_i \\equiv 0\\pmod 2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/14c\/7bd\/e3a\/14c7bde3a3fcdfa8601f906021a6217e.svg\" width=\"149\" height=\"22\"\/>:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align} &amp; [m_i] \\\\ \\rightarrow + {\\frac {m_i} 2} &amp; \\\\ &amp; [m_{i-1}] \\\\ \\end{align}\" alt=\"\\begin{align} &amp; [m_i] \\\\ \\rightarrow + {\\frac {m_i} 2} &amp; \\\\ &amp; [m_{i-1}] \\\\ \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8e9\/860\/81c\/8e986081c9f3b5ea053d6d869a533e80.svg\" width=\"128\" height=\"90\"\/><\/p>\n<ol start=\"2\">\n<li>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[m.5]\" alt=\"[m.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/928\/93a\/e48\/92893ae48072dec82ad3de6f7b39506f.svg\" width=\"43\" height=\"22\"\/>:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align} &amp; [m_i] \\\\ &amp; \\;\\;\\;\\;\\;\\; - \\frac {m_i - 0.5} 2 \\leftarrow \\\\ &amp; [m_{i-1}] \\\\  \\end{align}\" alt=\"\\begin{align} &amp; [m_i] \\\\ &amp; \\;\\;\\;\\;\\;\\; - \\frac {m_i - 0.5} 2 \\leftarrow \\\\ &amp; [m_{i-1}] \\\\  \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4e6\/5f1\/f30\/4e65f1f30304e26ef5d0211bd27d5935.svg\" width=\"165\" height=\"94\"\/><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\" [m_{i+1}]\" alt=\" [m_{i+1}]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9fb\/e2d\/d23\/9fbe2dd23cdefd2b852175e6376f2970.svg\" width=\"52\" height=\"22\"\/> \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0438\u0434 \u043a\u0430\u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[b.5] \" alt=\"[b.5] \" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/481\/c89\/2e8\/481c892e84ebab9648f986258182de3f.svg\" width=\"34\" height=\"22\"\/> \u0442\u0430\u043a \u0438 \u043f\u0440\u043e\u0441\u0442\u043e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[b] \" alt=\"[b] \" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/24f\/09d\/8d4\/24f09d8d4b008b1c1fecef26d101968f.svg\" width=\"19\" height=\"22\"\/>.<\/p>\n<p>\u041e\u0431\u0430 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u044b \u043a\u0430\u043a \u0434\u043b\u044f &#171;\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432\u043d\u0438\u0437&#187; \u043f\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a \u0438 \u043f\u0440\u0438 &#171;\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0438 \u043d\u0430\u0432\u0435\u0440\u0445&#187; \u0442.\u0435 \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[m_{i+1}]\" alt=\"[m_{i+1}]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d4b\/f83\/d9f\/d4bf83d9fb21befc72f95bef5f92ab7b.svg\" width=\"52\" height=\"22\"\/> \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[m_{i}]\" alt=\"[m_{i}]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/135\/018\/9d0\/1350189d0655d2456b43d18b0f702d43.svg\" width=\"34\" height=\"22\"\/>. \u0412\u044b\u043f\u0438\u0448\u0435\u043c &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u044b\u0435&#187; \u0438 &#171;\u043c\u0438\u043d\u0443\u0441\u043e\u0432\u044b\u0435&#187; \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<\/p>\n<ol>\n<li>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"+\" alt=\"+\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1b3\/d98\/867\/1b3d988670b126e727d6348006fd36ab.svg\" width=\"15\" height=\"16\"\/>, \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_i\" alt=\"m_i\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fdb\/063\/660\/fdb0636607fea505495ab88c5ff36786.svg\" width=\"24\" height=\"15\"\/> \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_{i+1}\" alt=\"m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/da8\/4dd\/857\/da84dd85736159f0647f3b4ac684ef63.svg\" width=\"41\" height=\"16\"\/>:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\frac {2m_i} 3 = m_{i+1}\" alt=\"\\frac {2m_i} 3 = m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/320\/20a\/df9\/32020adf9e9bcdb799c3b468658f7a12.svg\" width=\"107\" height=\"42\"\/><\/p>\n<ol start=\"2\">\n<li>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"-\" alt=\"-\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fb7\/995\/bcf\/fb7995bcf5fa3f3eaf4c061884ab772b.svg\" width=\"15\" height=\"16\"\/>, \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_i\" alt=\"m_i\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d78\/9cb\/768\/d789cb7681316ae25bcc286d73b1ea28.svg\" width=\"24\" height=\"15\"\/> \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_{i+1}\" alt=\"m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ae8\/137\/2d4\/ae81372d41d09a7d8f6d74b2ea651722.svg\" width=\"41\" height=\"16\"\/>:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"m_i + m_i - 0.5 = m_{i+1}\" alt=\"m_i + m_i - 0.5 = m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6e7\/9e5\/e7f\/6e79e5e7f515fc79138e55367660ec36.svg\" width=\"186\" height=\"20\"\/><\/p>\n<ol start=\"3\">\n<li>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"+\" alt=\"+\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/84f\/889\/f63\/84f889f6357e61255a4bb9b9f7b47d8e.svg\" width=\"15\" height=\"16\"\/>, \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435, \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_{i+1}\" alt=\"m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/86d\/216\/ca0\/86d216ca01999461f089d7f706e849bd.svg\" width=\"41\" height=\"16\"\/> \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_i\" alt=\"m_i\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b53\/3d6\/098\/b533d609841df08720f73482a2bc5908.svg\" width=\"24\" height=\"15\"\/>:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\frac {3m_i} 2 = m_{i-1}\" alt=\"\\frac {3m_i} 2 = m_{i-1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/de3\/f4f\/1ee\/de3f4f1eeb0a98a940e484511af73a7b.svg\" width=\"107\" height=\"42\"\/><\/p>\n<ol start=\"4\">\n<li>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"-\" alt=\"-\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d0d\/05f\/468\/d0d05f46880ecfd0709799853334acc3.svg\" width=\"15\" height=\"16\"\/>, \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435, \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_{i+1}\" alt=\"m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1e1\/e4b\/5ad\/1e1e4b5adac87dd43bc45f8ffcbd5337.svg\" width=\"41\" height=\"16\"\/> \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"m_i\" alt=\"m_i\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6b0\/18e\/d99\/6b018ed9923b81931b607178b5f645a3.svg\" width=\"24\" height=\"15\"\/>:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"m_i - \\frac {m_i - 0.5} 2 = m_{i-1}\" alt=\"m_i - \\frac {m_i - 0.5} 2 = m_{i-1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b3b\/236\/9be\/b3b2369bea08cae02327ed5fa279efae.svg\" width=\"193\" height=\"42\"\/><\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u043e\u0442 1) \u043a 4),<\/summary>\n<div class=\"spoiler__content\"><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align} \\frac {2 * 4.5} 3 &amp; = \\ 3 \\\\  5.5 + 5.5 - 0.5 &amp; = \\ 10.5 \\\\ \\frac {13 * 3} 2 &amp; = \\ 19.5 \\\\  22.5 - \\frac {22.5 - 0.5} 2 &amp; = \\ 11.5 \\\\ \\end{align}\" alt=\"\\begin{align} \\frac {2 * 4.5} 3 &amp; = \\ 3 \\\\  5.5 + 5.5 - 0.5 &amp; = \\ 10.5 \\\\ \\frac {13 * 3} 2 &amp; = \\ 19.5 \\\\  22.5 - \\frac {22.5 - 0.5} 2 &amp; = \\ 11.5 \\\\ \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c95\/7de\/8a3\/c957de8a37967c97b8235f3d69fc0699.svg\" width=\"218\" height=\"158\"\/><\/p>\n<\/div>\n<\/details>\n<h2>4<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0438 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0440\u0433\u0440\u0430\u0444.<\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ol>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b0f\/7e9\/4a8\/b0f7e94a83ebce40ecc3fb8c67b8852f.svg\" width=\"28\" height=\"22\"\/> \u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N.5]\" alt=\"[N.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/087\/0f8\/eb5\/0870f8eb50710e533fa38844fc90e9f5.svg\" width=\"43\" height=\"22\"\/> \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1]\" alt=\"[1]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ac7\/344\/43e\/ac734443e9d8ac866089808d30c88039.svg\" width=\"20\" height=\"22\"\/>.<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>\u0412 \u043a\u0430\u0436\u0434\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0433\u0440\u0430\u0444\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u0430 \u0442\u043e\u0447\u043a\u0430 \u0432\u0445\u043e\u0434\u0430.<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p>\u042d\u0442\u043e \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u0437\u0430 \u0441\u0447\u0451\u0442 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u043e\u0439\u0442\u0438 \u0432 \u043e\u0434\u043d\u0443 \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438 \u0447\u0435\u0440\u0435\u0437 &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u043e\u0435&#187; \u0438 \u0447\u0435\u0440\u0435\u0437 &#171;\u043c\u0438\u043d\u0443\u0441\u043e\u0432\u043e\u0435&#187; \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435:<\/p>\n<\/p>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; \\frac {2x_i} 3 &amp; = &amp; \\ 2x_j - 0.5 \\\\ &amp; ... \\\\&amp; x_i &amp; = &amp; \\ 3 x_j - \\frac 3 4 \\\\ &amp; x_j &amp; = &amp; \\ \\frac {x_i} 3 + \\frac 1 4 \\\\ \\end{align}\" alt=\"\\begin{align}&amp; \\frac {2x_i} 3 &amp; = &amp; \\ 2x_j - 0.5 \\\\ &amp; ... \\\\&amp; x_i &amp; = &amp; \\ 3 x_j - \\frac 3 4 \\\\ &amp; x_j &amp; = &amp; \\ \\frac {x_i} 3 + \\frac 1 4 \\\\ \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b6a\/5d5\/aa1\/b6a5d5aa1c98427d85d6de5e6237481e.svg\" width=\"175\" height=\"158\"\/><\/p>\n<blockquote>\n<p>\u0418 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ x_i ]\" alt=\"[ x_i ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cf4\/708\/c24\/cf4708c241bd3b2f514a1f4617cf6a48.svg\" width=\"28\" height=\"22\"\/> \u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ x_j ]\" alt=\"[ x_j ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c7c\/99c\/243\/c7c99c2432b9b81a3805f60d1078418f.svg\" width=\"29\" height=\"23\"\/> \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043d\u0438 \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/893\/f8d\/029\/893f8d029de4233287967b3b7d8d19f9.svg\" width=\"28\" height=\"22\"\/> \u043d\u0438 \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N.5]\" alt=\"[N.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/36d\/ee4\/de8\/36dee4de8ffa479197b725588ffbcc96.svg\" width=\"43\" height=\"22\"\/> \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u043c\u0443 \u0433\u0440\u0430\u0444\u0443.<\/p>\n<\/blockquote>\n<ol start=\"3\">\n<li>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1]\" alt=\"[1]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/868\/ddc\/10a\/868ddc10a7ec5c72b674a06c5c563861.svg\" width=\"20\" height=\"22\"\/>, \u0442.\u043a \u043e\u043d\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0439 \u0432 \u0433\u0440\u0430\u0444\u0435.<\/p>\n<\/li>\n<\/ol>\n<ol start=\"4\">\n<li>\n<p>\u0413\u0440\u0430\u0444 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c\u0438 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438: <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1] \\leftrightarrow [1.5]\" alt=\"[1] \\leftrightarrow [1.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b24\/3ac\/61b\/b243ac61b2a12437b6602149f50e5553.svg\" width=\"86\" height=\"22\"\/>. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u043e\u0439&#187; \u043f\u0435\u0440\u0435\u0445\u043e\u0434 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1.5] \\rightarrow [1]\" alt=\"[1.5] \\rightarrow [1]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/48e\/8d5\/951\/48e8d59514f22379d68fa24ee2d122f6.svg\" width=\"86\" height=\"22\"\/>, \u0442.\u043a \u0446\u0438\u043a\u043b \u043d\u0435 \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0433\u0440\u0430\u0444\u0430. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1] \" alt=\"[1] \" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b5d\/1d8\/3ef\/b5d1d83ef0be7d76b1901543dd3719cb.svg\" width=\"20\" height=\"22\"\/> \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u043e\u0439 \u0431\u0435\u0437 \u0442\u043e\u0447\u043a\u0438 \u0432\u0445\u043e\u0434\u0430.<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"+\" alt=\"+\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3ad\/e5e\/9cb\/3ade5e9cb96c49c95a908f846f4e2b53.svg\" width=\"15\" height=\"16\"\/> \u043d\u0430\u0437\u0430\u0434, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"-\" alt=\"-\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/65e\/ef5\/43a\/65eef543af18490dbb1e86a9ecd1a3de.svg\" width=\"15\" height=\"16\"\/> \u0432\u043f\u0435\u0440\u0451\u0434:  <\/p>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; \\frac {3x_i} 2 &amp; = &amp; \\ 2x_i - 0.5 \\\\&amp; ... \\\\&amp; x_i &amp; = &amp; \\ 1 \\\\\\end{align}\" alt=\"\\begin{align}&amp; \\frac {3x_i} 2 &amp; = &amp; \\ 2x_i - 0.5 \\\\&amp; ... \\\\&amp; x_i &amp; = &amp; \\ 1 \\\\\\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a24\/756\/aea\/a24756aea7e00ced52cc9d405361617b.svg\" width=\"174\" height=\"92\"\/><\/p>\n<blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"+\" alt=\"+\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9e0\/843\/d4f\/9e0843d4f72c40a97bf2e23465f1f72d.svg\" width=\"15\" height=\"16\"\/> \u0432\u043f\u0435\u0440\u0451\u0434, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"-\" alt=\"-\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fdd\/68c\/2ce\/fdd68c2ce24c00d69f59334e0faf8308.svg\" width=\"15\" height=\"16\"\/> \u043d\u0430\u0437\u0430\u0434:  <\/p>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; \\frac {2x_j} 3 &amp; = &amp; \\ x_j - \\frac {x_j - 0.5} 2 \\\\&amp; ... \\\\&amp; x_j &amp; = &amp; \\ 1.5 \\\\\\end{align}\" alt=\"\\begin{align}&amp; \\frac {2x_j} 3 &amp; = &amp; \\ x_j - \\frac {x_j - 0.5} 2 \\\\&amp; ... \\\\&amp; x_j &amp; = &amp; \\ 1.5 \\\\\\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4f0\/995\/b70\/4f0995b70916cfbcd6be4bb23f30c8af.svg\" width=\"216\" height=\"96\"\/><\/p>\n<ol start=\"5\">\n<li>\n<p>\u041f\u0440\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0438 \u043d\u0430\u0437\u0430\u0434 \u043f\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430\u043c <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N.5]\" alt=\"[N.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/53a\/2c9\/69a\/53a2c969a20cb4b04822da6368031bbd.svg\" width=\"43\" height=\"22\"\/> \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0432 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e74\/52f\/aad\/e7452faadf32c0fbd245650f530adb4d.svg\" width=\"28\" height=\"22\"\/>. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0448\u0430\u0433\u043e\u0432 \u0442\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u044b\u043c \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f 24 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f 3 \u0448\u0430\u0433\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a9e\/ebd\/3ee\/a9eebd3ee324bdce0b399fb446265dfc.svg\" width=\"28\" height=\"22\"\/> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0451\u0442\u043d\u044b\u043c, \u0442\u043e \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0445 \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043d\u043e\u043c\u0435\u0440\u0430\u043c \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/255\/198\/128\/255198128f84e76809cae9156e99fdba.svg\" width=\"28\" height=\"22\"\/> \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u0442 \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0448\u0430\u0433\u043e\u0432 \u0434\u043e \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e 5) \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0432\u043d\u043e \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0432 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c6c\/c4c\/4a4\/c6cc4c4a4e681d7eab415b87b7a4013f.svg\" width=\"28\" height=\"22\"\/>.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0447\u0451\u0442\u043d\u043e\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fd7\/8bd\/156\/fd78bd15604baa3d6ac9bc4b1d2a2df1.svg\" width=\"28\" height=\"22\"\/> \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N.5]\" alt=\"[N.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/26c\/1d5\/104\/26c1d5104e0e1f4c7516828b1ad1e3c8.svg\" width=\"43\" height=\"22\"\/>, \u043a\u0440\u043e\u043c\u0435 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1]\" alt=\"[1]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/362\/6d1\/bc4\/3626d1bc45c1eeeda3618b7d5d1a2239.svg\" width=\"20\" height=\"22\"\/>, \u0441\u043c. 4).<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 5)-7) \u0431\u0443\u0434\u0443\u0442 \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b \u043f\u0440\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0438.<\/p>\n<\/blockquote>\n<p>\u0417\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0441\u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u043c \u0434\u0435\u0440\u0435\u0432\u043e\u043c.<\/p>\n<p>\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0438\u0434\u044f \u043f\u043e \u0443\u0440\u043e\u0432\u043d\u044f\u043c \u0432\u043d\u0438\u0437, \u0438 \u0441\u0447\u0438\u0442\u0430\u044f \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e. \u041b\u0435\u0432\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"-\" alt=\"-\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/818\/cba\/ffa\/818cbaffa1672af674b8a05b34444489.svg\" width=\"15\" height=\"16\"\/> \u043f\u0435\u0440\u0435\u0445\u043e\u0434, \u043f\u0440\u0430\u0432\u0430\u044f &#8212; <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"+\" alt=\"+\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0dd\/04e\/45e\/0dd04e45e48bf545c78407660c138966.svg\" width=\"15\" height=\"16\"\/>.<\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u043b\u043d\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"cltz(n)\" alt=\"cltz(n)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f65\/f91\/99c\/f65f9199c3bb1aad2cbb90608cf26b54.svg\" width=\"57\" height=\"22\"\/>.<\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0448\u0438\u043d \u0433\u0440\u0430\u0444\u0430, \u0442\u0430\u043a \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0440\u0451\u0431\u0435\u0440. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0434\u043d\u0443 \u0438\u043b\u0438 \u0434\u0432\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b, \u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u0431\u0440\u0430 &#8212; \u043e\u0431\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442. <\/p>\n<h2>5<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0433\u0440\u0430\u0444 \u0441 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438 \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0435 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.5 ]\" alt=\"[ N.5 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/48b\/ac5\/e69\/48bac5e69f2ef8943de7e986c55405e9.svg\" width=\"43\" height=\"22\"\/> \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0434\u0440\u0443\u0433 \u043d\u0430\u0434 \u0434\u0440\u0443\u0433\u043e\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043a\u043e\u043b-\u0432\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0432, \u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N ]\" alt=\"[ N ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fa5\/d69\/787\/fa5d697873b666635b6d6a8aa4a321e3.svg\" width=\"28\" height=\"22\"\/> \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u0434\u0440\u0443\u0433 \u043a \u0434\u0440\u0443\u0433\u0443 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044f. <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ 1 ]\" alt=\"[ 1 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b17\/f95\/013\/b17f950131ce0e464099a4b1d12e81a5.svg\" width=\"20\" height=\"22\"\/> \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 \u043b\u0435\u0432\u043e\u043c \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0412\u044b\u0432\u0435\u0434\u0435\u043c \u0433\u0440\u0430\u0444 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0433\u0430 15 (\u043b\u0435\u0432\u044b\u0435 \u0432\u0435\u0440\u0445\u043d\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0441\u043f\u0440\u0430\u0432\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430):<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d7c\/ae9\/fdb\/d7cae9fdba38ef7f703aa2e441f2ee27.png\" width=\"2921\" height=\"746\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d7c\/ae9\/fdb\/d7cae9fdba38ef7f703aa2e441f2ee27.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0447\u0442\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0441 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N ] \\equiv 2\\pmod 3\" alt=\"[ N ] \\equiv 2\\pmod 3\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/66c\/f6c\/dc5\/66cf6cdc52d409236f3229005de8dafa.svg\" width=\"153\" height=\"22\"\/> \u043d\u0435 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0442 \u043d\u043e\u0432\u044b\u0445 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0439, \u0430 \u043b\u0438\u0448\u044c \u0440\u0430\u0441\u0442\u0443\u0442 \u0432\u0432\u0435\u0440\u0445.<\/p>\n<p>\u041f\u0440\u043e\u043c\u0435\u0442\u0438\u043c \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0433\u0440\u0430\u0444\u0443 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 13 \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435: <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c6b\/8de\/e76\/c6b8dee761a766c8546b512a71200249.png\" width=\"2921\" height=\"746\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c6b\/8de\/e76\/c6b8dee761a766c8546b512a71200249.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0442 \u0447\u0438\u0441\u043b\u0430 38 \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435: <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e2e\/5bf\/4ec\/e2e5bf4ecbc93a56c055183c8834d953.png\" width=\"2921\" height=\"746\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e2e\/5bf\/4ec\/e2e5bf4ecbc93a56c055183c8834d953.png\"\/><figcaption><\/figcaption><\/figure>\n<h2>6<\/h2>\n<p>\u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u0438\u0434\u0435\u0442\u044c, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u0430: \u0433\u0440\u0430\u0444 \u043f\u043e \u043c\u0435\u0440\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0432\u0431\u0438\u0440\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0438\u0441\u0435\u043b, \u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u043e\u0438\u0441\u043a\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u0441 \u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ 1 ]\" alt=\"[ 1 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d9b\/2b5\/f9f\/d9b2b5f9f0e0221f812b205b62555138.svg\" width=\"20\" height=\"22\"\/>.<\/p>\n<p>\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0435 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u043f\u0440\u0438 &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430\u0445&#187; \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0437\u0430\u0445\u043e\u0434 \u0432 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.5 ]\" alt=\"[ N.5 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bf8\/f4d\/e4c\/bf8f4de4c298fc8032ec97c50fdbd8ed.svg\" width=\"43\" height=\"22\"\/>.<br \/> \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043d\u0430 \u0447\u0438\u0441\u043b\u043e 13.<\/p>\n<ol>\n<li>\n<p>\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0445\u043e\u0434:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; [7] &amp;    13 \\\\&amp; [10.5] &amp; 20.0 \\\\&amp; [5.5] &amp;  10.0 \\\\&amp; [3.0] &amp;  5.0 \\\\&amp; [4.5] &amp;  8.0 \\\\&amp; [2.5] &amp;  4.0 \\\\&amp; [1.5] &amp;  2.0 \\\\&amp; [1.] &amp;   1 \\\\\\end{align}\" alt=\"\\begin{align}&amp; [7] &amp;    13 \\\\&amp; [10.5] &amp; 20.0 \\\\&amp; [5.5] &amp;  10.0 \\\\&amp; [3.0] &amp;  5.0 \\\\&amp; [4.5] &amp;  8.0 \\\\&amp; [2.5] &amp;  4.0 \\\\&amp; [1.5] &amp;  2.0 \\\\&amp; [1.] &amp;   1 \\\\\\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b6c\/b32\/c5d\/b6cb32c5d04f2a6617e2157fd8ef488f.svg\" width=\"124\" height=\"206\"\/><\/p>\n<ol start=\"2\">\n<li>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430:<\/p>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}&amp; [7] &amp;    13 \\\\&amp; [20.5] &amp; 40.0 \\\\&amp; [10.5] &amp; 20.0 \\\\&amp; [5.5] &amp;  10.0 \\\\&amp; [3.0] &amp;  5.0 \\\\&amp; [8.5] &amp;  16.0 \\\\&amp; [4.5] &amp;  8.0 \\\\&amp; [2.5] &amp;  4.0 \\\\&amp; [1.5] &amp;  2.0 \\\\&amp; [1.] &amp;   1 \\\\\\end{align}\" alt=\"\\begin{align}&amp; [7] &amp;    13 \\\\&amp; [20.5] &amp; 40.0 \\\\&amp; [10.5] &amp; 20.0 \\\\&amp; [5.5] &amp;  10.0 \\\\&amp; [3.0] &amp;  5.0 \\\\&amp; [8.5] &amp;  16.0 \\\\&amp; [4.5] &amp;  8.0 \\\\&amp; [2.5] &amp;  4.0 \\\\&amp; [1.5] &amp;  2.0 \\\\&amp; [1.] &amp;   1 \\\\\\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d0c\/e48\/7d2\/d0ce487d2452d9f8c6b4043d86a775c4.svg\" width=\"124\" height=\"258\"\/><\/p>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e. \u0412\u0430\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0442\u0430\u043a\u0430\u044f \u043c\u043e\u0434\u0438\u0446\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0433\u0440\u0430\u0444\u0430 &#8212; \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0431\u043e\u0440\u0430 \u0432\u0435\u0440\u0448\u0438\u043d \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435 \u043e\u0434\u043d\u0443 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.5 ]\" alt=\"[ N.5 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a4f\/339\/85a\/a4f33985a556b236471fcf9d8558cbc1.svg\" width=\"43\" height=\"22\"\/>, \u0430 \u0434\u0432\u0435 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0447\u0438\u0441\u043b\u043e\u043c 13: <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5aa\/5ca\/6eb\/5aa5ca6ebed86778b1f2ff95ce547ab1.png\" width=\"2921\" height=\"746\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5aa\/5ca\/6eb\/5aa5ca6ebed86778b1f2ff95ce547ab1.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u043e\u0436\u043d\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044c \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u044b \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430.<\/p>\n<h2>7<\/h2>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u0432\u044b\u0448\u0435\u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b \u043e \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0435 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430:<\/p>\n<ol>\n<li>\n<p>\u0418\u0437 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u043b\u043e 1.<\/p>\n<\/li>\n<li>\n<p>\u0422.\u043a \u0432 \u0441\u0430\u043c\u043e\u043c \u0433\u0440\u0430\u0444\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0446\u0438\u043a\u043b\u044b \u043a\u0440\u043e\u043c\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[1.5] \\rightarrow [1]\" alt=\"[1.5] \\rightarrow [1]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dad\/f60\/a14\/dadf60a145327b83e41d2a29c9af408f.svg\" width=\"86\" height=\"22\"\/>, \u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0445\u043e\u0434\u0430 \u043e\u0442 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0430 \u043a\u0430\u043a \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0442\u0430\u043a \u0438 \u0432 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445, \u0442\u043e \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u0447\u0438\u0441\u0435\u043b.<\/p>\n<\/li>\n<li>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u0434\u043e\u0441\u0442\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0433\u0440\u0430\u0444\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432\u0441\u0435 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0430\u044f \u0432 \u0441\u0432\u043e\u0451\u043c \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0435\u0435 \u0433\u0440\u0430\u0444\u0443.<\/p>\n<\/li>\n<\/ol>\n<p>\u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u0430.<img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\" _{\\blacksquare}\" alt=\" _{\\blacksquare}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9a1\/4b4\/242\/9a14b4242a2d3755fc2647312bcb90e8.svg\" width=\"13\" height=\"12\"\/><\/p>\n<hr\/>\n<h2>\u041f\u043e\u0447\u0435\u043c\u0443 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0442\u0430\u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u043e \u0438 \u0442\u044f\u0436\u0435\u043b\u043e?<\/h2>\n<p>\u041d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0446\u0438\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0445\u043e\u0434\u0430 \u043f\u043e \u0433\u0440\u0430\u0444\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0442\u043e\u0433\u043e \u0436\u0435 \u0433\u0440\u0430\u0444\u0430 \u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430. \u041b\u0438\u0441\u0442\u044c\u044f \u0441 &#171;null&#187; \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u043f\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u0411\u0438\u043d\u0430\u0440\u043d\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e c \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u0447\u0438\u0441\u043b\u0430 18:<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f8b\/d78\/969\/f8bd7896979473bd5622622069a9eb64.png\" width=\"365\" height=\"1826\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f8b\/d78\/969\/f8bd7896979473bd5622622069a9eb64.png\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e:<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3ad\/790\/a3c\/3ad790a3c0044f3d325b622dd93fe1d4.png\" width=\"1561\" height=\"588\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3ad\/790\/a3c\/3ad790a3c0044f3d325b622dd93fe1d4.png\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0415\u0441\u043b\u0438 \u0441\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0447\u0442\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0443\u0442\u0438, \u0442\u043e \u0430\u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e\u0441\u0442\u044c \u0443\u0436\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 &#8212; \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u0436\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0433\u0434\u0435 \u0443 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0442\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u043f\u0443\u0442\u0438 \u0438 1-2 \u0432\u0445\u043e\u0434\u043d\u044b\u0445.<br \/>\u0415\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0441\u043d\u044f\u0442\u044c \u0437\u0430\u043f\u0440\u0435\u0442 \u043d\u0430 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432 \u0433\u0440\u0430\u0444\u0435 \u0447\u0438\u0441\u0435\u043b \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0442 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445.<\/p>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043c \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u043b\u044f \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b:<\/p>\n<ol>\n<li>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435 \u0433\u0440\u0430\u0444:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a27\/774\/841\/a277748418e2d32e20337e7e74393335.png\" width=\"360\" height=\"321\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a27\/774\/841\/a277748418e2d32e20337e7e74393335.png\"\/><figcaption><\/figcaption><\/figure>\n<p>E\u0441\u043b\u0438 \u0432\u0435\u0440\u0448\u0438\u043d\u0430 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0442\u043e \u043e\u043d\u0430 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f. \u0420\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u0432\u0435\u0440\u0448\u0438\u043d\u0430 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c.<\/p>\n<ol start=\"2\">\n<li>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u0430\u043a \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u043e\u0447\u0435\u043a, \u0442\u0430\u043a \u0438 \u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f12\/83b\/d55\/f1283bd5535931e6c3f543f09152660e.png\" width=\"282\" height=\"283\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f12\/83b\/d55\/f1283bd5535931e6c3f543f09152660e.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0443\u0436\u0435 \u043a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0435 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e. \u0421\u0430\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u0438 \u0438\u0445 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438. \u041f\u043e\u043c\u0438\u043c\u043e \u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438 \u0437\u0434\u0435\u0441\u044c \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0447\u0438\u0441\u043b\u0430 \u0431\u0435\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f.<br \/> \u0415\u0441\u043b\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"i\" alt=\"i\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/501\/b77\/dd2\/501b77dd2d9273ee065408542f784326.svg\" width=\"7\" height=\"16\"\/> \u0434\u043b\u044f \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u0437 1) \u0438\u043b\u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0438\u0437 2), \u0442\u043e \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0433\u0434\u0435 \u0433\u0440\u0430\u0444 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"i\" alt=\"i\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ce1\/e40\/b80\/ce1e40b80f7cdb41f87d54fea7f4a097.svg\" width=\"7\" height=\"16\"\/> \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0440\u043e\u0431\u044f\u043c\u0438.<\/p>\n<p>\u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0432\u0430\u0440\u0438\u0430\u0446\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430, \u0433\u0434\u0435 \u0432\u043c\u0435\u0441\u0442\u043e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.5 ]\" alt=\"[ N.5 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d08\/51a\/bd6\/d0851abd6d34380ab48b609b93002b55.svg\" width=\"43\" height=\"22\"\/> \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u043c\u0435\u0440\u0430 \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.\\frac 1 3 ]\" alt=\"[ N.\\frac 1 3 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2c2\/251\/763\/2c225176317a91104f1368e5bc1714e9.svg\" width=\"53\" height=\"42\"\/> \u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.\\frac 2 3 ]\" alt=\"[ N.\\frac 2 3 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/943\/a6f\/315\/943a6f3158245aa12ae5f536b986f3a1.svg\" width=\"53\" height=\"42\"\/>.<\/p>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432<\/h2>\n<p>\u041a\u043e\u0434 \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0439 \u0438 \u0441\u0434\u0435\u043b\u0430\u043d \u0432 \u0441\u0443\u0433\u0443\u0431\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445. <\/p>\n<p>\u0414\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/pypi.org\/project\/binarytree\/\" rel=\"noopener noreferrer nofollow\">binarytree<\/a>, \u0434\u043b\u044f \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 \u0435\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u041f\u0438\u0442\u043e\u043d\u0430 \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/pypi.org\/project\/graphviz\/\" rel=\"noopener noreferrer nofollow\">graphviz<\/a>.<\/p>\n<pre><code class=\"python\">from binarytree import Node from decimal import Decimal   def try_right_move(n):     return Decimal(n) \/ 3 * 2  def make_left_move(n):     return Decimal(n)  * 2 - Decimal('0.5')   def translate_from_cltz_ordinal(n):     return Decimal(n) * 2 - 1    def gen_n_levels_deep(base_ord, n):     tree = Node(base_ord)     k = n - 1     while k > 0:         nodes_to_try = tree.levels[-1]         for i in nodes_to_try:             i.left  = Node(str(make_left_move(Decimal(i.value))))              # \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u043e\u043b\u044c\u043a\u043e N-\u0432\u0435\u0440\u0448\u0438\u043d             #if Decimal(i.value) % 3 != 2:             #    i.left  = Node(str(make_left_move(Decimal(i.value))))                              if str(i.value) != '1.5':                 right_val_cand = try_right_move(Decimal(i.value))                 if str(right_val_cand)[-2:] in ['.5', '.0'] or ( '.' not in str(right_val_cand)):                     i.right = Node(str(right_val_cand))         k -= 1          return tree    # \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0434\u0435\u0440\u0435\u0432\u043e \u043e\u0442 \u043a\u043e\u0440\u043d\u044f '1.0' \u043d\u0430 8 \u0448\u0430\u0433\u043e\u0432 \u0432\u0433\u043b\u0443\u0431\u0438\u043d\u0443 r = gen_n_levels_deep(str(Decimal('1.0')), 8 )  # \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c \u0446\u0435\u043b\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0431\u0435\u0437 \u043d\u0443\u043b\u044f-\u0441-\u0442\u043e\u0447\u043a\u043e\u0439 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 for i in r:     if i.value[-2:] in ['.0']:         i.value = i.value[:-2]          # \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u043e\u043b\u044c\u043a\u043e N-\u0432\u0435\u0440\u0448\u0438\u043d #for i in r: #    if str(i.value)[-2:] in ['.5']: #        i.value = ''    # \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u0435\u043d \u0432\u044b\u0432\u043e\u0434 \u043d\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432, \u0430 \u0441\u0430\u043c\u0438\u0445 \u0447\u0438\u0441\u0435\u043b #for i in r: i.value = int(translate_from_cltz_ordinal(i.value))  r.graphviz().render(filename=\"binary_tree.gv\", format='png') <\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e \u043d\u0430 8 \u0448\u0430\u0433\u043e\u0432<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e1e\/886\/922\/e1e886922252efb9ed4f918304634861.png\" width=\"2362\" height=\"1131\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e1e\/886\/922\/e1e886922252efb9ed4f918304634861.png\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u041e\u043d\u043e \u0436\u0435, \u043d\u043e \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/766\/e4f\/697\/766e4f697695a128708d02f56d5ba126.png\" width=\"2206\" height=\"1131\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/766\/e4f\/697\/766e4f697695a128708d02f56d5ba126.png\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u043a\u0430\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N.5]\" alt=\"[N.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a2a\/0f7\/87e\/a2a0f787e47b48609c359688b474ba50.svg\" width=\"43\" height=\"22\"\/> \u0432\u0435\u0440\u0448\u0438\u043d \u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u0434\u043b\u044f <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/67f\/568\/10c\/67f56810c8565ae56060bacd56071b53.svg\" width=\"28\" height=\"22\"\/>\u0432\u0435\u0440\u0448\u0438\u043d \u0441 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 \u0434\u0430\u044e\u0449\u0438\u043c\u0438 \u043e\u0441\u0442\u0430\u0442\u043e\u043a <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"2\" alt=\"2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/457\/2e2\/1a2\/4572e21a2f3a505398aaa06c5e65b718.svg\" width=\"10\" height=\"16\"\/> \u043f\u0440\u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u0442\u0440\u043e\u0439\u043a\u0443, \u0442.\u043a \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u044d\u0442\u0438\u0445 \u0432\u0435\u0440\u0448\u0438\u043d \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0441 \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438.<\/p>\n<details class=\"spoiler\">\n<summary>\u0412\u044b\u0432\u043e\u0434 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u0435\u0440\u0448\u0438\u043d \u043d\u0430 \u0448\u0430\u0433\u0435 14<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/40e\/efe\/818\/40eefe8187b1b4806f35e2d68c45affd.png\" width=\"2506\" height=\"1325\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/40e\/efe\/818\/40eefe8187b1b4806f35e2d68c45affd.png\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/307\/0b3\/aac\/3070b3aac86a546f223747d0ad0f09ad.svg\" width=\"28\" height=\"22\"\/> \u0432\u0435\u0440\u0448\u0438\u043d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0438 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u043d\u0430 \u0441\u0443\u0433\u0443\u0431\u043e \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u0430\u0445, \u0447\u0442\u043e \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0431\u0443\u0434\u0435\u0442 \u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0433\u0440\u0430\u0444\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0438\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043f\u043e \u043c\u0435\u0440\u0435 \u0438\u0445 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430.<\/p>\n<h2>\u0417\u0430\u0445\u043e\u0434 \u043d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0432\u0435\u0434\u0451\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e \u0434\u043b\u044f \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N]\" alt=\"[N]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1e4\/08f\/e09\/1e408fe0930c90b455a3975b04edb705.svg\" width=\"28\" height=\"22\"\/>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align} [N] \\equiv 0 \\pmod 3 &amp; \\rightarrow &amp; [ N.\\frac 0 3 ] \\\\ [N] \\equiv 1 \\pmod 3 &amp; \\rightarrow &amp; [ N.\\frac 1 3 ] \\\\ [N] \\equiv 2 \\pmod 3 &amp; \\rightarrow &amp; [ N.\\frac 2 3 ] \\\\ \\end{align}\" alt=\"\\begin{align} [N] \\equiv 0 \\pmod 3 &amp; \\rightarrow &amp; [ N.\\frac 0 3 ] \\\\ [N] \\equiv 1 \\pmod 3 &amp; \\rightarrow &amp; [ N.\\frac 1 3 ] \\\\ [N] \\equiv 2 \\pmod 3 &amp; \\rightarrow &amp; [ N.\\frac 2 3 ] \\\\ \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c5c\/663\/5b5\/c5c6635b5692fe22f9370b08f31fa2ef.svg\" width=\"276\" height=\"133\"\/><\/p>\n<p>\u041d\u0430\u0431\u043b\u044e\u0434\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0433\u0440\u0430\u0444\u0430 \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 <strong>5<\/strong> \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0435 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u0445 \u0447\u044c\u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u044b \u043e\u0442<img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.\\frac 2 3 ]\" alt=\"[ N.\\frac 2 3 ]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4fe\/993\/dd8\/4fe993dd8b8371c823e15ff561d45985.svg\" width=\"53\" height=\"42\"\/>.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u0442\u0440\u0438 \u0441\u043b\u0443\u0447\u0430\u044f \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0433\u0440\u0430\u0444\u0435 \u043d\u043e\u0432\u044b\u0445 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:<\/p>\n<p>1) \u0427\u0438\u0441\u043b\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0437 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 \u0440\u043e\u0441\u0442\u0430 \u0447\u0451\u0440\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u0435\u0440\u0432\u043e\u0439 \u0442\u0430\u043a\u043e\u0439 &#171;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b&#187; \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u0439\u0441\u044f \u043d\u0430 1-2 \u0448\u0430\u0433\u0430 \u0432\u044b\u0448\u0435 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430. \u0415\u0441\u043b\u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0440\u0432\u044b\u0435 &#171;\u0431\u043e\u043a\u043e\u0432\u044b\u0435&#187; \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0441 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438, \u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\" 4 m_{i} - 1= m_{i+1}\" alt=\" 4 m_{i} - 1= m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bf4\/f42\/f54\/bf4f42f5448b79e1a3a17da651551421.svg\" width=\"133\" height=\"21\"\/><\/p>\n<p>2) \u0422\u0430 \u0441\u0430\u043c\u0430\u044f \u043f\u0435\u0440\u0432\u0430\u044f &#171;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0432\u0435\u0440\u0448\u0438\u043d\u0430&#187;. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0434\u0432\u0430 \u0441\u043b\u0443\u0447\u0430\u044f &#8212; \u044d\u0442\u043e \u0432\u0435\u0440\u0448\u0438\u043d\u0430 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0430\u044f \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0434 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u043e\u043b\u0431\u0446\u0430, \u043b\u0438\u0431\u043e \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u043d\u0443 \u043d\u0430\u0434 \u043d\u0438\u043c. \u041f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u043e\u0438\u0445 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0442\u0438\u043f\u043e\u043c \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align}  [ N.\\frac 0 3 ]  &amp; \\rightarrow &amp;  \\frac {8m_i} 3 - 1 = m_{i+1} \\\\  [ N.\\frac 1 3 ]  &amp; \\rightarrow &amp; \\frac {4m_i - 1} 3 = m_{i+1}\\\\   \\end{align}\" alt=\"\\begin{align}  [ N.\\frac 0 3 ]  &amp; \\rightarrow &amp;  \\frac {8m_i} 3 - 1 = m_{i+1} \\\\  [ N.\\frac 1 3 ]  &amp; \\rightarrow &amp; \\frac {4m_i - 1} 3 = m_{i+1}\\\\   \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/576\/108\/0b8\/5761080b807e457165217ff58569574b.svg\" width=\"263\" height=\"88\"\/><\/p>\n<p>3) \u0427\u0438\u0441\u043b\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442 \u0441\u0430\u043c\u043e\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430, \u0435\u0441\u043b\u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[ N.\\frac 0 3 ] \" alt=\"[ N.\\frac 0 3 ] \" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/72f\/3ab\/a08\/72f3aba083cbc82630c0bfc34a4206f5.svg\" width=\"53\" height=\"42\"\/>. \u041e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043f\u043e \u0443\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u0435:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\frac {2m_i} 3 = m_{i+1}\" alt=\"\\frac {2m_i} 3 = m_{i+1}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/440\/9ba\/cab\/4409bacab617e98d2c70a5f77c9900ec.svg\" width=\"107\" height=\"42\"\/><\/p>\n<p>\u0422\u0430\u043a\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0432\u0435\u0440\u0448\u0438\u043d \u0432\u0430\u0440\u044c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7c4\/70e\/f06\/7c470ef06c5669c38793c394d5e627f9.svg\" width=\"10\" height=\"16\"\/> \u0434\u043e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"3\" alt=\"3\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/992\/db5\/e3f\/992db5e3fce03bd5ba9e025b76033a94.svg\" width=\"10\" height=\"16\"\/>.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u044f \u044d\u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u0440\u0430\u0444 \u0443\u0436\u0435 \u0441\u0443\u0433\u0443\u0431\u043e \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430 9\u043c \u0448\u0430\u0433\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430: <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f4\/fbf\/2fc\/8f4fbf2fc8578a3ab26e2066491359ab.png\" width=\"1964\" height=\"1920\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8f4\/fbf\/2fc\/8f4fbf2fc8578a3ab26e2066491359ab.png\"\/><figcaption><\/figcaption><\/figure>\n<details class=\"spoiler\">\n<summary>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0442\u0443\u0442 \u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\">import collections from decimal import Decimal from typing import Any  from attr import dataclass from graphviz import Source    def translate_from_cltz_ordinal(n):     return Decimal(n) * 2 - 1     INTNODE_TYPE   = 'N' ONETHIRD_TYPE  = 'N.1\/3' TWOTHIRDS_TYPE = 'N.2\/3'  def determine_type_of_cltz_node(n):      if n.cltz_ordinal % 3 == 0:         return INTNODE_TYPE     elif n.cltz_ordinal % 3 == 1:         return ONETHIRD_TYPE     elif n.cltz_ordinal % 3 == 2:         return TWOTHIRDS_TYPE    @dataclass class Cltz_node():      cltz_ordinal:   int = 1     actual_value:   int = 1       lvl: int = 0       cltz_type  :  str = INTNODE_TYPE     parent_node:           int = None # Cltz_node.cltz_ordinal     parent_node_cltz_ordinal: int = None # Cltz_node.cltz_ordinal     parent_node_actual_value: int = None # Cltz_node.cltz_ordinal     created_by_action:     str = 'first' # first\\left\\right\\center       left_child:    Any = None # Cltz_node.cltz_ordinal     center_child:  Any = None # Cltz_node.cltz_ordinal     right_child:   Any = None # Cltz_node.cltz_ordinal        def try_add_child_nodes(self):         self.try_add_left_child()         self.try_add_center_child()         self.try_add_right_child()      def try_add_left_child(self):          if self.created_by_action == 'left' or self.cltz_type != TWOTHIRDS_TYPE and self.created_by_action != 'right':              new_node = Cltz_node(                 cltz_ordinal = self.cltz_ordinal * 4 - 1,                 parent_node_cltz_ordinal = self.cltz_ordinal,                 parent_node_actual_value = self.actual_value,                 created_by_action        = 'left',                 lvl         = self.lvl + 1             )             new_node.cltz_type    = determine_type_of_cltz_node(new_node)             new_node.actual_value = translate_from_cltz_ordinal(new_node.cltz_ordinal)             self.left_child = new_node       def try_add_center_child(self):         if self.cltz_ordinal != 1 and self.cltz_type == INTNODE_TYPE:              new_node = Cltz_node(                 cltz_ordinal             = int(self.cltz_ordinal * 8 \/ 3 - 1),                 parent_node_cltz_ordinal = self.cltz_ordinal,                 parent_node_actual_value = self.actual_value,                 created_by_action        = 'center',                 lvl         = self.lvl + 1             )             new_node.cltz_type    = determine_type_of_cltz_node(new_node)             new_node.actual_value = translate_from_cltz_ordinal(new_node.cltz_ordinal)             self.center_child = new_node          elif self.cltz_ordinal != 1 and self.cltz_type == ONETHIRD_TYPE:              new_node = Cltz_node(                 cltz_ordinal             = int( (self.cltz_ordinal * 4 - 1 ) \/ 3 ),                 parent_node_cltz_ordinal = self.cltz_ordinal,                 parent_node_actual_value = self.actual_value,                 created_by_action        = 'center',                 lvl         = self.lvl + 1             )             new_node.cltz_type    = determine_type_of_cltz_node(new_node)             new_node.actual_value = translate_from_cltz_ordinal(new_node.cltz_ordinal)             self.center_child = new_node      def try_add_right_child(self):         if self.cltz_ordinal != 1 and self.cltz_type == INTNODE_TYPE:              new_node = Cltz_node(                 cltz_ordinal             = int(self.cltz_ordinal \/ 3 * 2),                 parent_node_cltz_ordinal = self.cltz_ordinal,                 parent_node_actual_value = self.actual_value,                 created_by_action        = 'right',                 lvl         = self.lvl + 1             )             new_node.cltz_type    = determine_type_of_cltz_node(new_node)             new_node.actual_value = translate_from_cltz_ordinal(new_node.cltz_ordinal)             self.right_child = new_node      def get_child_nodes(self):         ret = []          if self.left_child:             ret.append(self.left_child)         if self.center_child:             ret.append(self.center_child)         if self.right_child:             ret.append(self.right_child)           return ret      def gen_n_levels_deep(n):     root = Cltz_node(cltz_ordinal=1)      k = n - 1     root.try_add_child_nodes()     nodes_next = root.get_child_nodes()       while k > 0:         nodes_to_try = nodes_next         nodes_next   = []         for i in nodes_to_try:             i.try_add_child_nodes()             for nn in i.get_child_nodes():                 nodes_next.append(nn)         k -= 1     return root   def cltz_odd_tree_to_graph(root):     ans = []      if root is None: return ans      queue = collections.deque()     queue.append(root)      while queue:         currSize = len(queue)         currList = []          while currSize > 0:             currNode = queue.popleft()              if currNode.cltz_ordinal != 1:                 currList.append(f'{currNode.actual_value} [label=\"{currNode.actual_value}\"]\\n')                  if currNode.created_by_action == 'left':                     currList.append(f'{currNode.parent_node_actual_value} -> {currNode.actual_value} \\n')                 elif currNode.created_by_action == 'center':                     currList.append(f'{currNode.parent_node_actual_value} -> {currNode.actual_value} [color=\"red\", arrowhead=normal, dir=both, arrowtail=dot]\\n')                 elif currNode.created_by_action == 'right':                     currList.append(f'{currNode.parent_node_actual_value} -> {currNode.actual_value} [color=\"blue\", arrowhead=normal]\\n')             else:                 currList.append(f'{currNode.actual_value} [label=\"{currNode.actual_value}\", color=\"darkblue\"]\\n')              currSize -= 1              if currNode.left_child is not None:                 queue.append(currNode.left_child)             if currNode.center_child is not None:                 queue.append(currNode.center_child)             if currNode.right_child is not None:                 queue.append(currNode.right_child)         ans.append(currList)      flat_list = [item for sublist in ans for item in sublist]     return flat_list   cltz_root = gen_n_levels_deep(9)   # \u043b\u0435\u0432\u044b\u0439 - \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438 # \u0441\u0440\u0435\u0434\u043d\u0438\u0439 - \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043a\u0438\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u043d\u043e\u0434 \u043e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0434\u0432\u043e\u0439\u043a\u0438 # \u043f\u0440\u0430\u0432\u044b\u0439 - \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0445 \u043d\u0430 \u0442\u0440\u0438   stuff = cltz_odd_tree_to_graph(cltz_root) nodes_n_edges = ''.join(stuff) cltz_graph_gv = \"\"\" digraph G{     splines=curved edge [dir=\"both\", arrowtail=\"dot\", arrowhead=\"normal\", arrowsize=0.75,fontsize=9] node [shape=\"doublecircle\", color=\"lightblue2\", style=\"filled\",fontsize=12,fontnames=\"bold\"]  %s } \"\"\" % nodes_n_edges cltz_graph = Source(cltz_graph_gv,     engine=\"neato\",     filename=\"cltz_odds_graph.gv\", format=\"png\") cltz_graph.unflatten(stagger=3).view() <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u0437\u043d\u0430\u044f \u0432\u0441\u0451 \u044d\u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u0445\u043e\u0434\u0430 \u043e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435 \u0441\u0443\u0433\u0443\u0431\u043e \u043f\u043e \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u0430\u043c.<\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0430. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\begin{align} f_l(n) &amp; \\rightarrow &amp; \\frac {n + 1} 4 \\\\ f_{\u0441_0}(n) &amp; \\rightarrow &amp; \\frac {3(n + 1)} 8 \\\\ f_{\u0441_1}(n) &amp; \\rightarrow &amp; \\frac {3n + 1} 4 \\\\ f_r(n) &amp; \\rightarrow &amp; \\frac {3n} 2 \\\\ &amp; ... \\end{align}\" alt=\"\\begin{align} f_l(n) &amp; \\rightarrow &amp; \\frac {n + 1} 4 \\\\ f_{\u0441_0}(n) &amp; \\rightarrow &amp; \\frac {3(n + 1)} 8 \\\\ f_{\u0441_1}(n) &amp; \\rightarrow &amp; \\frac {3n + 1} 4 \\\\ f_r(n) &amp; \\rightarrow &amp; \\frac {3n} 2 \\\\ &amp; ... \\end{align}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b09\/6d7\/91a\/b096d791a71dbc38c1e16f9453dd314c.svg\" width=\"195\" height=\"205\"\/><\/p>\n<p>\u0422\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0434\u0430\u0436\u0435 \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0435\u0440\u0448\u0438\u043d, \u0442.\u043a \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0437\u0430 \u0440\u0430\u0437 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0438\u0437 \u043d\u0438\u0445 (\u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f 2 &#8212; \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0440\u0432\u0443\u044e &#171;\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443&#187; &#8212; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u0432\u0435 \u0440\u0430\u0437\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438). <\/p>\n<p>\u0414\u0432\u043e\u0439\u043d\u043e\u0439 \u043e\u0442\u0432\u0435\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"f_l(n)\" alt=\"f_l(n)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/24f\/401\/d25\/24f401d257266877dcb8392baf712248.svg\" width=\"42\" height=\"22\"\/> \u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"f_{c_{0,1}}(n)\" alt=\"f_{c_{0,1}}(n)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/096\/a02\/218\/096a02218db8bd8c1aeb05ba02e811ba.svg\" width=\"58\" height=\"24\"\/> , \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0438\u043c\u0435\u044e\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"f_{c_{0,1}}(n)\" alt=\"f_{c_{0,1}}(n)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c3c\/09e\/e41\/c3c09ee41c6067ce01ec625a99b36e22.svg\" width=\"58\" height=\"24\"\/>.<\/p>\n<pre><code class=\"python\">from decimal import Decimal   def translate_from_cltz_ordinal(n):     return Decimal(n) * 2 - 1  def translate_to_cltz_ordinal(n):     return int( (Decimal(n) + 1) \/ 2 )  def f_l(n):     return (n+1)\/4 def f_c0(n):     return (n+1)*3\/8 def f_c1(n):     return (n*3+1)\/4 def f_r(n):     return n * 3 \/ 2   def calc(n):     return [f_l(n), f_c0(n), f_c1(n), f_r(n)]    def choose_num(lst):     ans = -1      # [27.0, 40.5, 80.5, 123.0,160.5]      ans_lst = [ str(i)[-2:] in ['.0'] for i in lst ]     # [0, 3]     ans_ind = [i for i, val in enumerate(ans_lst) if val]       return lst[ans_ind[-1]]     def backward_run_odds(n):      m = n     ret = [m]     while m != 1:         now_ans = calc(m)         m = choose_num(now_ans)         ret.append(m)      return ret      num = translate_to_cltz_ordinal(     12345 )  l = backward_run_odds(num) print(l) print([ int(translate_from_cltz_ordinal(i)) for i in l ])<\/code><\/pre>\n<p>\u041f\u0440\u0438 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u043d\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"12345 \" alt=\"12345 \" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/930\/2c4\/52b\/9302c452b4559427f1691e135dbe4974.svg\" width=\"48\" height=\"17\"\/> \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<pre><code class=\"python\">[6173, 4630.0, 6945.0, 5209.0, 3907.0,   977.0, 733.0, 550.0, 825.0, 619.0, 155.0,   39.0, 15.0, 6.0, 9.0, 7.0, 3.0, 1.0]  [12345, 9259, 13889, 10417, 7813, 1953, 1465, 1099,   1649, 1237, 309, 77, 29, 11, 17, 13, 5, 1]<\/code><\/pre>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044f \u0441 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u043d\u044b\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043c\u044b \u044f\u0432\u043d\u043e \u0432\u0438\u0434\u0438\u043c \u0437\u0434\u0435\u0441\u044c \u043b\u0438\u0448\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430. \u042d\u0442\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0438\u0437-\u0437\u0430 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0433\u0440\u0430\u0444\u0430 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u043e\u0438\u0441\u043a\u0430. <\/p>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430, \u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0433\u0440\u0430\u0444\u0430 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u0433\u0440\u0430\u0444\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430. \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043f\u043e &#171;\u0447\u0451\u0440\u043d\u044b\u043c&#187; \u0440\u0451\u0431\u0440\u0430\u043c \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u0433\u0440\u0430\u0444\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u0432 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"[N.5]\" alt=\"[N.5]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/72c\/6d3\/8bf\/72c6d38bf1941b2db1a439fba778a6f9.svg\" width=\"43\" height=\"22\"\/>, \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0436\u0435 \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0438\u0445 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 &#171;\u0431\u043e\u043a\u043e\u0432\u044b\u0435&#187; \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. <\/p>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u0441\u0451 \u0447\u0442\u043e \u043d\u0430\u043c \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e &#8212; \u044d\u0442\u043e \u0432\u0435\u0441\u0442\u0438 \u0443\u0447\u0451\u0442 &#171;\u0446\u0432\u0435\u0442\u043e\u0432&#187; \u0440\u0451\u0431\u0435\u0440 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 &#171;\u0447\u0451\u0440\u043d\u044b\u0435&#187; \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b.<\/p>\n<pre><code class=\"python\">...  def choose_num_with_edge_types(lst):     ans = -1      # [27.0, 40.5, 80.5, 123.0,160.5]      ans_lst = [ str(i)[-2:] in ['.0'] for i in lst ]     # [0, 3]     ans_ind = [i for i, val in enumerate(ans_lst) if val]       ans = ans_ind[-1]     if ans == 0:         ret = ('left-black', lst[ans])     elif ans == 1 or ans == 2:         ret = ('center-red', lst[ans])     elif ans == 3:         ret = ('right-blue', lst[ans])      return ret    def backward_run_odds_with_edge_types(n):      m = ('first', n)     ret = [m]     while m[1] != 1:         now_ans = calc(m[1])          m = choose_num_with_edge_types(now_ans)         ret.append(m)      return ret   def make_repaired_odds_list(l):     l2 = [(i[0], i[1], translate_from_cltz_ordinal(i[1])) for i in l]      l3 = [i for i in l2 if (i[0] != 'left-black') ]     l3.append(l2[-1])     return l3    ...  l = backward_run_odds_with_edge_types(num)  l2 = make_repaired_odds_list(l) print([int(i[2]) for i in l2])<\/code><\/pre>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0432\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u043d\u043e\u043c\u0443:<\/p>\n<pre><code class=\"python\">[12345, 9259, 13889, 10417, 7813, 1465, 1099,   1649, 1237, 29, 11, 17, 13, 5, 1]<\/code><\/pre>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0432\u044b\u0448\u0435\u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e, \u043c\u043e\u0436\u043d\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044c, \u0447\u0442\u043e \u0441\u0435\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0445\u043e\u0434\u043e\u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430 \u0432 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0451\u0442\u043d\u044b\u0445.<\/p>\n<p>\u041f\u043e\u0436\u0430\u043b\u0443\u0439, \u0437\u0434\u0435\u0441\u044c \u0443\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0438 \u0434\u0430\u043b\u0435\u0435 \u0440\u0438\u0445\u0442\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0448\u044c \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b.<\/p>\n<hr\/>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/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\/post\/683788\/\"> https:\/\/habr.com\/ru\/post\/683788\/<\/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<h3>0<\/h3>\n<p>\u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0432\u0441\u0435\u043c \u0438 \u0442\u0430\u043a \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u044d\u0442\u043e (\u043a\u0442\u043e \u0432\u0441\u0451 \u0436\u0435 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 &#8212; <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%93%D0%B8%D0%BF%D0%BE%D1%82%D0%B5%D0%B7%D0%B0_%D0%9A%D0%BE%D0%BB%D0%BB%D0%B0%D1%82%D1%86%D0%B0\" rel=\"noopener noreferrer nofollow\">\u0432\u043f\u0435\u0440\u0451\u0434 \u0432 \u0432\u0438\u043a\u0438<\/a>), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0430\u043c. <\/p>\n<p>\u041a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u0441 \u043f\u0443\u043d\u043a\u0442\u0430 <strong>5<\/strong>. \u0411\u043b\u0438\u0436\u0435 \u043a \u043a\u043e\u043d\u0446\u0443 \u0441\u0442\u0430\u0442\u044c\u0438 \u0435\u0441\u0442\u044c \u043f\u0438\u0442\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434  \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u0435\u043b. \u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043c\u043d\u0435 \u0441\u0430\u043c\u043e\u043c\u0443 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f. \u041e\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u0443 &#171;\u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435-\u0442\u043e \u0437\u0430\u0442\u0435\u0438 \u0438 \u0437\u0430\u043f\u0438\u0441\u0438, \u043d\u0430\u0434\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0437\u0430\u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b&#187;, \u0430 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0432\u044b\u0442\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043b\u0435\u043a\u0430\u043b\u0430\u043c. \u041a\u043e\u0434 \u043d\u0435\u0441\u0451\u0442 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043a \u0441\u0442\u0430\u0442\u044c\u0435, \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043c\u044b\u0441\u043b\u044c \u0434\u0430\u0451\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c\u0438.<\/p>\n<h2>1<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 &#8212; \u043e\u043d\u0438 \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044f\u0442 \u0432 \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u0432\u0435\u0442\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0437\u0430\u043c\u0435\u043d\u0438\u0432   \u043d\u0430 .<\/p>\n<p>\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e:<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 &#8212; \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e <\/p>\n<h2>2<\/h2>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043f\u043e\u0432\u0435\u0434\u0443\u0442 \u0441\u0435\u0431\u044f \u043d\u0435\u0447\u0451\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u043f\u0440\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<p>\u0427\u0443\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a, \u0443\u043a\u0430\u0437\u0430\u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0438 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u0442\u0430\u043a\u0436\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430, \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f  \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0447\u0451\u0442\u043d\u044b\u0435:<\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u044f\u0432\u043d\u043e \u0432\u0438\u0434\u0435\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u0442\u0442\u0435\u0440\u043d:<\/p>\n<blockquote>\n<p>\u041d\u043e\u043c\u0435\u0440\u0430  \u0447\u0438\u0441\u0435\u043b  \u0432 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u043c \u0440\u044f\u0434\u0443 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435:<\/p>\n<\/p>\n<p>\u042d\u0442\u043e \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u0442\u0430\u043a\u0436\u0435 \u0438 \u0434\u043b\u044f \u0447\u0451\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u0438\u0434 , \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#8212;  .<\/p>\n<\/blockquote>\n<p> \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043d\u0430 \u0447\u0438\u0441\u043b\u0435  \u043f\u0440\u043e\u0432\u043e\u0434\u044f \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435  \u0434\u043e\u0432\u043e\u0434\u044f \u0434\u043e \u0435\u0434\u0438\u043d\u0438\u0446\u044b. \u0422\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0440\u0430\u0441\u043a\u0430\u0434\u0440\u043e\u0432\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 25<\/summary>\n<div class=\"spoiler__content\">\n<\/div>\n<\/details>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0441\u0430\u043c\u0438\u0445 \u0447\u0438\u0441\u0435\u043b, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0434\u043d\u0438\u0445 \u043b\u0438\u0448\u044c \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0438 \u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<details class=\"spoiler\">\n<summary>\u0422\u0435 \u0436\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u043e \u0443\u0436\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u043c\u0438 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438<\/summary>\n<div class=\"spoiler__content\">\n<\/div>\n<\/details>\n<h2>3<\/h2>\n<p>\u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ol>\n<li>\n<p>:<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>:<\/p>\n<\/li>\n<\/ol>\n<p>\u0417\u0434\u0435\u0441\u044c  \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0438\u0434 \u043a\u0430\u043a  \u0442\u0430\u043a \u0438 \u043f\u0440\u043e\u0441\u0442\u043e .<\/p>\n<p>\u041e\u0431\u0430 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u044b \u043a\u0430\u043a \u0434\u043b\u044f &#171;\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432\u043d\u0438\u0437&#187; \u043f\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a \u0438 \u043f\u0440\u0438 &#171;\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0438 \u043d\u0430\u0432\u0435\u0440\u0445&#187; \u0442.\u0435 \u043e\u0442  \u043a . \u0412\u044b\u043f\u0438\u0448\u0435\u043c &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u044b\u0435&#187; \u0438 &#171;\u043c\u0438\u043d\u0443\u0441\u043e\u0432\u044b\u0435&#187; \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<\/p>\n<ol>\n<li>\n<p>, \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043e\u0442  \u043a :<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>, \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043e\u0442  \u043a :<\/p>\n<\/li>\n<\/ol>\n<ol start=\"3\">\n<li>\n<p>, \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435, \u043e\u0442  \u043a :<\/p>\n<\/li>\n<\/ol>\n<ol start=\"4\">\n<li>\n<p>, \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435, \u043e\u0442  \u043a :<\/p>\n<\/li>\n<\/ol>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u043e\u0442 1) \u043a 4),<\/summary>\n<div class=\"spoiler__content\">\n<\/div>\n<\/details>\n<h2>4<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0438 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0440\u0433\u0440\u0430\u0444.<\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ol>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445  \u0438  \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 .<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>\u0412 \u043a\u0430\u0436\u0434\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0433\u0440\u0430\u0444\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u0430 \u0442\u043e\u0447\u043a\u0430 \u0432\u0445\u043e\u0434\u0430.<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p>\u042d\u0442\u043e \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u0437\u0430 \u0441\u0447\u0451\u0442 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u043e\u0439\u0442\u0438 \u0432 \u043e\u0434\u043d\u0443 \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438 \u0447\u0435\u0440\u0435\u0437 &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u043e\u0435&#187; \u0438 \u0447\u0435\u0440\u0435\u0437 &#171;\u043c\u0438\u043d\u0443\u0441\u043e\u0432\u043e\u0435&#187; \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435:<\/p>\n<\/p>\n<\/blockquote>\n<blockquote>\n<p>\u0418  \u0438  \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043d\u0438 \u043a  \u043d\u0438 \u043a  \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u043c\u0443 \u0433\u0440\u0430\u0444\u0443.<\/p>\n<\/blockquote>\n<ol start=\"3\">\n<li>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0430 , \u0442.\u043a \u043e\u043d\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0439 \u0432 \u0433\u0440\u0430\u0444\u0435.<\/p>\n<\/li>\n<\/ol>\n<ol start=\"4\">\n<li>\n<p>\u0413\u0440\u0430\u0444 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c\u0438 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438: . \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u043e\u0439&#187; \u043f\u0435\u0440\u0435\u0445\u043e\u0434 , \u0442.\u043a \u0446\u0438\u043a\u043b \u043d\u0435 \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0433\u0440\u0430\u0444\u0430. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c,  \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u043e\u0439 \u0431\u0435\u0437 \u0442\u043e\u0447\u043a\u0438 \u0432\u0445\u043e\u0434\u0430.<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p> \u043d\u0430\u0437\u0430\u0434,  \u0432\u043f\u0435\u0440\u0451\u0434:  <\/p>\n<\/blockquote>\n<blockquote>\n<p> \u0432\u043f\u0435\u0440\u0451\u0434,  \u043d\u0430\u0437\u0430\u0434:  <\/p>\n<\/blockquote>\n<ol start=\"5\">\n<li>\n<p>\u041f\u0440\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0438 \u043d\u0430\u0437\u0430\u0434 \u043f\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430\u043c  \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0432 . \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0448\u0430\u0433\u043e\u0432 \u0442\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u044b\u043c \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f 24 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f 3 \u0448\u0430\u0433\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430  \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0451\u0442\u043d\u044b\u043c, \u0442\u043e \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0445 \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043d\u043e\u043c\u0435\u0440\u0430\u043c \u0432\u0438\u0434\u0430  \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u0442 \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0448\u0430\u0433\u043e\u0432 \u0434\u043e \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043d\u0435\u0447\u0451\u0442\u043d\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e 5) \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0432\u043d\u043e \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0432 .<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0447\u0451\u0442\u043d\u043e\u0435  \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 , \u043a\u0440\u043e\u043c\u0435 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f , \u0441\u043c. 4).<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 5)-7) \u0431\u0443\u0434\u0443\u0442 \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b \u043f\u0440\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0438.<\/p>\n<\/blockquote>\n<p>\u0417\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0441\u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u043c \u0434\u0435\u0440\u0435\u0432\u043e\u043c.<\/p>\n<p>\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0438\u0434\u044f \u043f\u043e \u0443\u0440\u043e\u0432\u043d\u044f\u043c \u0432\u043d\u0438\u0437, \u0438 \u0441\u0447\u0438\u0442\u0430\u044f \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e. \u041b\u0435\u0432\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442  \u043f\u0435\u0440\u0435\u0445\u043e\u0434, \u043f\u0440\u0430\u0432\u0430\u044f &#8212; .<\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u043b\u043d\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 .<\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0448\u0438\u043d \u0433\u0440\u0430\u0444\u0430, \u0442\u0430\u043a \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0440\u0451\u0431\u0435\u0440. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0434\u043d\u0443 \u0438\u043b\u0438 \u0434\u0432\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b, \u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u0431\u0440\u0430 &#8212; \u043e\u0431\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442. <\/p>\n<h2>5<\/h2>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0433\u0440\u0430\u0444 \u0441 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438 \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0435 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e  \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0434\u0440\u0443\u0433 \u043d\u0430\u0434 \u0434\u0440\u0443\u0433\u043e\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043a\u043e\u043b-\u0432\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0432, \u0430  \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u0434\u0440\u0443\u0433 \u043a \u0434\u0440\u0443\u0433\u0443 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044f.  \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 \u043b\u0435\u0432\u043e\u043c \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0412\u044b\u0432\u0435\u0434\u0435\u043c \u0433\u0440\u0430\u0444 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0433\u0430 15 (\u043b\u0435\u0432\u044b\u0435 \u0432\u0435\u0440\u0445\u043d\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0441\u043f\u0440\u0430\u0432\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430):<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0447\u0442\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0441 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438  \u043d\u0435 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0442 \u043d\u043e\u0432\u044b\u0445 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0439, \u0430 \u043b\u0438\u0448\u044c \u0440\u0430\u0441\u0442\u0443\u0442 \u0432\u0432\u0435\u0440\u0445.<\/p>\n<p>\u041f\u0440\u043e\u043c\u0435\u0442\u0438\u043c \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0433\u0440\u0430\u0444\u0443 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 13 \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435: <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0442 \u0447\u0438\u0441\u043b\u0430 38 \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435: <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>6<\/h2>\n<p>\u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u0438\u0434\u0435\u0442\u044c, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u0430: \u0433\u0440\u0430\u0444 \u043f\u043e \u043c\u0435\u0440\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0432\u0431\u0438\u0440\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0438\u0441\u0435\u043b, \u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u043e\u0438\u0441\u043a\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u0441 \u043a .<\/p>\n<p>\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0435 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u043f\u0440\u0438 &#171;\u043f\u043b\u044e\u0441\u043e\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430\u0445&#187; \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0437\u0430\u0445\u043e\u0434 \u0432 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0432\u0438\u0434\u0430 .<br \/> \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043d\u0430 \u0447\u0438\u0441\u043b\u043e 13.<\/p>\n<ol>\n<li>\n<p>\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0445\u043e\u0434:<\/p>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430:<\/p>\n<\/li>\n<\/ol>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e. \u0412\u0430\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0442\u0430\u043a\u0430\u044f \u043c\u043e\u0434\u0438\u0446\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0433\u0440\u0430\u0444\u0430 &#8212; \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0431\u043e\u0440\u0430 \u0432\u0435\u0440\u0448\u0438\u043d \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435 \u043e\u0434\u043d\u0443 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 , \u0430 \u0434\u0432\u0435 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0447\u0438\u0441\u043b\u043e\u043c 13: <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u043e\u0436\u043d\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044c \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u044b \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430.<\/p>\n<h2>7<\/h2>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u0432\u044b\u0448\u0435\u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b \u043e \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0435 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430:<\/p>\n<ol>\n<li>\n<p>\u0418\u0437 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u043b\u043e 1.<\/p>\n<\/li>\n<li>\n<p>\u0422.\u043a \u0432 \u0441\u0430\u043c\u043e\u043c \u0433\u0440\u0430\u0444\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0446\u0438\u043a\u043b\u044b \u043a\u0440\u043e\u043c\u0435 , \u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0445\u043e\u0434\u0430 \u043e\u0442 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0430 \u043a\u0430\u043a \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0442\u0430\u043a \u0438 \u0432 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445, \u0442\u043e \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u041a\u043e\u043b\u043b\u0430\u0442\u0446\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u0447\u0438\u0441\u0435\u043b.<\/p>\n<\/li>\n<li>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u0434\u043e\u0441\u0442\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0433\u0440\u0430\u0444\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432\u0441\u0435 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0430\u044f \u0432 \u0441\u0432\u043e\u0451\u043c \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0435\u0435 \u0433\u0440\u0430\u0444\u0443.<\/p>\n<\/li>\n<\/ol>\n<p>\u0413\u0438\u043f\u043e\u0442\u0435\u0437\u0430 \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u0430.<\/p>\n<hr\/>\n<h2>\u041f\u043e\u0447\u0435\u043c\u0443 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0442\u0430\u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u043e \u0438 \u0442\u044f\u0436\u0435\u043b\u043e?<\/h2>\n<p>\u041d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0446\u0438\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0445\u043e\u0434\u0430 \u043f\u043e \u0433\u0440\u0430\u0444\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0442\u043e\u0433\u043e \u0436\u0435 \u0433\u0440\u0430\u0444\u0430 \u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430. \u041b\u0438\u0441\u0442\u044c\u044f \u0441 &#171;null&#187; \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u043f\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u0411\u0438\u043d\u0430\u0440\u043d\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e c \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u0447\u0438\u0441\u043b\u0430 18:<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e:<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0415\u0441\u043b\u0438 \u0441\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0447\u0442\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0443\u0442\u0438, \u0442\u043e \u0430\u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e\u0441\u0442\u044c \u0443\u0436\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 &#8212; \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u0436\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0433\u0434\u0435 \u0443 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0442\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u043f\u0443\u0442\u0438 \u0438 1-2 \u0432\u0445\u043e\u0434\u043d\u044b\u0445.<br \/>\u0415\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0441\u043d\u044f\u0442\u044c \u0437\u0430\u043f\u0440\u0435\u0442 \u043d\u0430 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432 \u0433\u0440\u0430\u0444\u0435 \u0447\u0438\u0441\u0435\u043b \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0442 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445.<\/p>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043c \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u043b\u044f \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b:<\/p>\n<ol>\n<li>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435 \u0433\u0440\u0430\u0444:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>E\u0441\u043b\u0438 \u0432\u0435\u0440\u0448\u0438\u043d\u0430 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0442\u043e \u043e\u043d\u0430 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f. \u0420\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u0432\u0435\u0440\u0448\u0438\u043d\u0430 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c.<\/p>\n<ol start=\"2\">\n<li>\n<p>\u041c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u0430\u043a \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u043e\u0447\u0435\u043a, \u0442\u0430\u043a \u0438 \u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0443\u0436\u0435 \u043a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0435 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e. \u0421\u0430\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u0438 \u0438\u0445 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438. \u041f\u043e\u043c\u0438\u043c\u043e \u0446\u0438\u043a\u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438 \u0437\u0434\u0435\u0441\u044c \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0447\u0438\u0441\u043b\u0430 \u0431\u0435\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f.<br \/> \u0415\u0441\u043b\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c  \u0434\u043b\u044f \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u0437 1) \u0438\u043b\u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0438\u0437 2), \u0442\u043e \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0433\u0434\u0435 \u0433\u0440\u0430\u0444 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f  \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0440\u043e\u0431\u044f\u043c\u0438.<\/p>\n<p>\u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0432\u0430\u0440\u0438\u0430\u0446\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430, \u0433\u0434\u0435 \u0432\u043c\u0435\u0441\u0442\u043e  \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u043c\u0435\u0440\u0430 \u0432\u0438\u0434\u0430  \u0438 .<\/p>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432<\/h2>\n<p>\u041a\u043e\u0434 \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0439 \u0438 \u0441\u0434\u0435\u043b\u0430\u043d \u0432 \u0441\u0443\u0433\u0443\u0431\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445. <\/p>\n<p>\u0414\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/pypi.org\/project\/binarytree\/\" rel=\"noopener noreferrer nofollow\">binarytree<\/a>, \u0434\u043b\u044f \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 \u0435\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u041f\u0438\u0442\u043e\u043d\u0430 \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/pypi.org\/project\/graphviz\/\" rel=\"noopener noreferrer nofollow\">graphviz<\/a>.<\/p>\n<pre><code class=\"python\">from binarytree import Node from decimal import Decimal   def try_right_move(n):     return Decimal(n) \/ 3 * 2  def make_left_move(n):     return Decimal(n)  * 2 - Decimal('0.5')   def translate_from_cltz_ordinal(n):     return Decimal(n) * 2 - 1    def gen_n_levels_deep(base_ord, n):     tree = Node(base_ord)     k = n - 1     while k > 0:         nodes_to_try = tree.levels[-1]         for i in nodes_to_try:             i.left  = Node(str(make_left_move(Decimal(i.value))))              # \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u043e\u043b\u044c\u043a\u043e N-\u0432\u0435\u0440\u0448\u0438\u043d             #if Decimal(i.value) % 3 != 2:             #    i.left  = Node(str(make_left_move(Decimal(i.value))))                              if str(i.value) != '1.5':                 right_val_cand = try_right_move(Decimal(i.value))                 if str(right_val_cand)[-2:] in ['.5', '.0'] or ( '.' not in str(right_val_cand)):                     i.right = Node(str(right_val_cand))         k -= 1          return tree    # \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0434\u0435\u0440\u0435\u0432\u043e \u043e\u0442 \u043a\u043e\u0440\u043d\u044f '1.0' \u043d\u0430 8 \u0448\u0430\u0433\u043e\u0432 \u0432\u0433\u043b\u0443\u0431\u0438\u043d\u0443 r = gen_n_levels_deep(str(Decimal('1.0')), 8 )  # \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c \u0446\u0435\u043b\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0431\u0435\u0437 \u043d\u0443\u043b\u044f-\u0441-\u0442\u043e\u0447\u043a\u043e\u0439 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 for i in r:     if i.value[-2:] in ['.0']:         i.value = i.value[:-2]          # \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u043e\u043b\u044c\u043a\u043e N-\u0432\u0435\u0440\u0448\u0438\u043d #for i in r: #    if str(i.value)[-2:] in ['.5']: #        i.value = ''    # \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u0435\u043d \u0432\u044b\u0432\u043e\u0434 \u043d\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432, \u0430 \u0441\u0430\u043c\u0438\u0445 \u0447\u0438\u0441\u0435\u043b #for i in r: i.value = int(translate_from_cltz_ordinal(i.value))  r.graphviz().render(filename=\"binary_tree.gv\", format='png') <\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e \u043d\u0430 8 \u0448\u0430\u0433\u043e\u0432<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u041e\u043d\u043e \u0436\u0435, \u043d\u043e \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u043a\u0430\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439  \u0432\u0435\u0440\u0448\u0438\u043d \u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u0434\u043b\u044f \u0432\u0435\u0440\u0448\u0438\u043d \u0441 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 \u0434\u0430\u044e\u0449\u0438\u043c\u0438 \u043e\u0441\u0442\u0430\u0442\u043e\u043a  <\/p>\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-337346","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337346","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=337346"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337346\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}