{"id":314062,"date":"2020-11-30T15:03:15","date_gmt":"2020-11-30T15:03:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=314062"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=314062","title":{"rendered":"\u0427\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u2014 \u0434\u0432\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/en\/ez\/hm\/enezhmrbu-dolgogtwochbkmzqw.png\"><\/p>\n<p>  \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043f\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430\u0431\u043e\u0440 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0439, \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u00ab\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0433\u0440\u0443\u043f\u043f \u0438\u0437 4 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435\u0433\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 20 \u0447\u0435\u043b\u043e\u0432\u0435\u043a?\u00bb. \u0425\u043e\u0442\u044f \u0443\u0434\u043e\u0431\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0434\u0430\u0432\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u043d\u0430 \u0435\u0449\u0451 \u0434\u0432\u0430 \u0441\u0442\u043e\u0438\u0442 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043f\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u0442\u0430\u043a: <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bbc\/289\/5e5\/bbc2895e5f173cca6296118530c50b4b.svg\" alt=\"$C_n^k$\" data-tex=\"inline\"><\/math>. \u0412 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0435 \u043e\u043d\u0438 \u0447\u0430\u0449\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u0441\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/235\/a40\/5ec\/235a405ec1be087349a0d0367f95ec6e.svg\" alt=\"$ \\binom nk$\" data-tex=\"inline\"><\/math> (\u043d\u043e \u043c\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c \u0441 \u043c\u0430\u0442\u0440\u0438\u0446\u0430\u043c\u0438).<\/p>\n<p>  \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/dd7\/f0f\/ab7\/dd7f0fab70cd512370d821d2904e1d60.svg\" alt=\"$C_n^k = \\frac{n!}{k!(n-k)!}$\" data-tex=\"display\"><\/math><\/p>\n<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c16\/f3e\/bef\/c16f3ebef53c4bfb704b433f53386bb4.svg\" alt=\"$C_n^k=\\frac{n(n-1)(n-2)\u2026(n-k+1)}{k!}=\\frac{\\prod\\limits_{i = n-k+1}^n i}{k!}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0413\u0434\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/514\/81f\/3b8\/51481f3b804e488c308961363a39722f.svg\" alt=\"$n!$\" data-tex=\"inline\"><\/math> \u2014 \u044d\u043d \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b, \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043e\u0442 1 \u0434\u043e n (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8a4\/80c\/9cf\/8a480c9cf87c38a5cb52f5c6c436b15c.svg\" alt=\"$4!=1\\cdot2\\cdot3\\cdot4=24$\" data-tex=\"inline\"><\/math>), \u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/aec\/7a5\/712\/aec7a5712b734996659d0d6f18ecf56f.svg\" alt=\"$0!$\" data-tex=\"inline\"><\/math> \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0432\u043d\u044b\u043c \u0435\u0434\u0438\u043d\u0438\u0446\u0435. \u0414\u043b\u044f \u0432\u044b\u0448\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/232\/b1c\/e63\/232b1ce63c5cffa7b025c2dd0526cfdd.svg\" alt=\"$C_{20}^4 = \\frac{20!}{4!(20-4)!} = \\frac{17\\cdot18\\cdot19\\cdot20}{1\\cdot2\\cdot3\\cdot4} = 4845$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0418\u043b\u0438 \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b07\/139\/7c2\/b071397c22e7989afed8d45ceac9a1ff.svg\" alt=\"$C_{20}^4=\\frac{20\\cdot19\\cdot18\\cdot17}{4!}=\\frac{116280}{24}=4845$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0412\u0442\u043e\u0440\u0430\u044f \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u0415\u0441\u0442\u044c \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0439 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043f\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math>, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u00ab\u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0441 \u043f\u044f\u0442\u044b\u043c\u00bb \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u00ab\u043f\u0435\u0440\u0432\u044b\u0439 \u0441 \u043f\u044f\u0442\u044b\u043c \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c\u00bb), \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442\u0441\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/88c\/208\/d5a\/88c208d5a343a0a7ab5bc4fe1b85f987.svg\" alt=\"$A_n^k$\" data-tex=\"inline\"><\/math>.<\/p>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u0441\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438\u0437 3 \u043f\u043e 2 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <code>12 21<br \/>  13 31<br \/>  23 32<\/code><\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0dd\/b4e\/fb1\/0ddb4efb174d43d8d09309243f89f714.svg\" alt=\"$(n-1)$\" data-tex=\"inline\"><\/math> \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u2014 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2c1\/a2a\/d5e\/2c1a2ad5e072602dc0673a37b2383fed.svg\" alt=\"$(n-(k-1))$\" data-tex=\"inline\"><\/math> \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0438\u0441\u043b\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0439 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043f\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u0440\u0430\u0432\u043d\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/41e\/7d9\/01c\/41e7d901c62a90dc769f177df17c2e1c.svg\" alt=\"$n(n-1)(n-2)\u2026(n-k+1)$\" data-tex=\"inline\"><\/math>, \u0432\u0441\u0435\u0433\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0435\u0441\u044f \u0447\u0438\u0441\u043b\u043e \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a89\/b36\/32d\/a89b3632d7d54985cd8bdb44411c922c.svg\" alt=\"$k!$\" data-tex=\"inline\"><\/math>, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0435\u0441\u0442\u044c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a89\/b36\/32d\/a89b3632d7d54985cd8bdb44411c922c.svg\" alt=\"$k!$\" data-tex=\"inline\"><\/math> \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2014 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/1b7\/f09\/7af\/1b7f097af62c1216fe9eddef2e723253.svg\" alt=\"$2!=2$\" data-tex=\"inline\"><\/math> \u0441\u043f\u043e\u0441\u043e\u0431\u0430 (\u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0438 \u0432\u0442\u043e\u0440\u043e\u0439 \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435).<\/p>\n<p>  \u0412\u0441\u043f\u043e\u043c\u043d\u0438\u043c, \u043a\u0430\u043a \u0438\u0434\u0435\u0442 \u0441\u0447\u0451\u0442 \u0432 \u0448\u0430\u0448\u043a\u0430\u0445 \u043f\u043e \u043a\u0440\u0443\u0433\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 (\u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0438\u0433\u0440\u0430\u044e\u0442 \u0441\u043e \u0432\u0441\u0435\u043c\u0438). \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0438\u0448\u0443\u0442 \u043e\u0431\u044b\u0447\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/149\/d3c\/e91\/149d3ce912a5e9b747d2459dc6550402.png\"><br \/>  \u041f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 \u0438 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438 \u0438\u0434\u0443\u0442 \u043d\u043e\u043c\u0435\u0440\u0430 \u0438\u0433\u0440\u043e\u043a\u043e\u0432. \u0414\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043a\u0440\u0430\u0441\u0438\u0442\u044c \u2014 \u0438\u0433\u0440\u043e\u043a \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0438\u0433\u0440\u0430\u0442\u044c \u0441\u0430\u043c \u0441 \u0441\u043e\u0431\u043e\u0439. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0440\u0442\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0434\u0432\u0430 \u0440\u0430\u0437\u0430. \u041a\u0430\u043a \u0441\u044b\u0433\u0440\u0430\u043b \u0432\u0442\u043e\u0440\u043e\u0439 \u0441 \u043f\u044f\u0442\u044b\u043c \u0438 \u043a\u0430\u043a \u0441\u044b\u0433\u0440\u0430\u043b \u043f\u044f\u0442\u044b\u0439 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0430\u0440\u0442\u0438\u0439 \u0432 \u0442\u0443\u0440\u043d\u0438\u0440\u0435 \u2014 \u0438 \u0435\u0441\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 2.<\/p>\n<p>  \u0427\u0438\u0441\u043b\u043e \u0432\u044b\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a \u0440\u0430\u0432\u043d\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math>, \u0430 \u0447\u0438\u0441\u043b\u043e \u0432\u0441\u0435\u0445 \u043a\u043b\u0435\u0442\u043e\u043a \u2014 \u044d\u0442\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f1c\/e37\/e87\/f1ce37e8733fc14b0a6be043fdb111c2.svg\" alt=\"$n^2$\" data-tex=\"inline\"><\/math>. \u0421\u0442\u0430\u043b\u043e \u0431\u044b\u0442\u044c, \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 2 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/028\/389\/2e9\/0283892e9632407c4478c32ea2635617.svg\" alt=\"$C_n^2=\\frac{n^2-n}{2}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u044f \u044d\u0442\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u043b, \u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u0443\u0432\u0438\u0434\u0435\u043b \u0447\u0442\u043e \u044d\u0442\u043e \u0440\u0430\u0432\u043d\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e22\/586\/095\/e22586095b2b61066aafd88a7c8c2bcb.svg\" alt=\"$\\frac{n(n-1)}{2!}$\" data-tex=\"inline\"><\/math>. \u0420\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c70\/8e5\/434\/c708e5434f493356304a46d3301ef8b0.svg\" alt=\"$k=3$\" data-tex=\"inline\"><\/math>, \u0441 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b59\/ab5\/fa9\/b59ab5fa9e69bdb32510201af09e7b10.png\"><br \/>  \u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0435\u0451 \u0441\u043b\u043e\u0435, \u043a\u0440\u043e\u043c\u0435 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0435\u0449\u0435 \u043a\u043b\u0435\u0442\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043b\u0435\u0442\u043a\u0430 161 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u043b\u0430\u0441\u044c \u0434\u0432\u0430 \u0440\u0430\u0437\u0430.<\/p>\n<p>  \u0412\u0441\u0435\u0433\u043e \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/11f\/e93\/9df\/11fe939df39666ef2c9f1d645bde33fe.svg\" alt=\"$n+2(n-1)$\" data-tex=\"inline\"><\/math> \u043a\u043b\u0435\u0442\u043e\u043a.<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f81\/ce8\/85d\/f81ce885d8ffbf6436a0d4f7c9a3b06f.svg\" alt=\"$n+2(n-1)=3n-2$\" data-tex=\"display\"><\/math><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/2a8\/9a2\/742\/2a89a27421e3023acaa211800a84ac96.png\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/da9\/bab\/dd8\/da9babdd8b5a5999ab32178f9a9cd19b.png\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/475\/846\/05e\/47584605e41fc47913cc0a772c8b5837.png\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/170\/e27\/056\/170e270564d584c6de6b4e42359e2097.png\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/e84\/b02\/f9f\/e84b02f9fcf77677f1ff7f6c60d9c5cf.png\"><br \/>  \u0418\u0442\u0430\u043a, \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f04\/74e\/0dd\/f0474e0dd76c55dc273db08befeb36c0.svg\" alt=\"$3n-2$\" data-tex=\"inline\"><\/math> \u043a\u043b\u0435\u0442\u043a\u0438. \u0412\u0441\u0435\u0433\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u0441\u043b\u043e\u0451\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0431\u0449\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0445\u0441\u044f \u044f\u0447\u0435\u0435\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/83b\/12e\/9f4\/83b12e9f4ed50936c7bc9164e0afecd6.svg\" alt=\"$n(3n-2)=3n^2-2n$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0410 \u0432\u0441\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u2014 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c02\/19c\/448\/c0219c4481723053a7da0c175d5350b9.svg\" alt=\"$n^3$\" data-tex=\"inline\"><\/math>. \u0417\u043d\u0430\u0447\u0438\u0442, \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 3 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e3f\/cca\/987\/e3fcca9874784dca3b7308ccc8a9b02c.svg\" alt=\"$C_n^3=\\frac{n^3-(3n^2-2n)}{3!}=\\frac{n^3-3n^2+2n}{3!}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041a\u0430\u043a \u0443\u0436\u0435 \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u044b\u0448\u0435, \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043e\u0431\u0449\u0430\u044f \u0444\u043e\u0440\u043c\u0443\u043b\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u043a\u0440\u044b\u043b\u0438 \u0441\u043a\u043e\u0431\u043a\u0438:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e92\/71f\/ac2\/e9271fac2d3275489344f04a0eb61900.svg\" alt=\"$C_n^3=\\frac{n^3-3n^2+2n}{3!}=\\frac{n(n-1)(n-2)}{3!}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0418 \u0442\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f, \u0442\u0430\u043a \u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432 \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b\u044b \u0432\u043e\u043e\u0431\u0449\u0435? \u041a \u0441\u043b\u043e\u0432\u0443, \u0432 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0443\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u0430\u044f \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0434\u043b\u044f \u0447\u0438\u0441\u043b\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439: <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bb6\/d6e\/e05\/bb6d6ee0511048adc6c481cba04f252b.svg\" alt=\"$C_n^k=C_{n-1}^{k-1}+C_{n-1}^k$\" data-tex=\"inline\"><\/math> (\u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 0 \u0440\u0430\u0432\u043d\u043e 1, \u0438\u0437 \u043b\u044e\u0431\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0443 \u0433\u0440\u0443\u043f\u043f\u0443 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 0 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432). \u0418\u0442\u0430\u043a, \u044f \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0435\u0449\u0435 \u043a\u043b\u0435\u0442\u043a\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0434\u0435\u043b\u0438\u043c \u0447\u0438\u0441\u043b\u043e \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u043a\u043b\u0435\u0442\u043e\u043a \u043d\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a89\/b36\/32d\/a89b3632d7d54985cd8bdb44411c922c.svg\" alt=\"$k!$\" data-tex=\"inline\"><\/math>.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/oi\/s5\/iq\/ois5iqnul9dzfwxuv9mqs977hwe.png\"><br \/>  \u041a\u043b\u0435\u0442\u043a\u0438 \u043d\u0438\u0436\u0435 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0442 \u043a\u043b\u0435\u0442\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0448\u0435 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 \u2014 \u0432\u044b\u0447\u0435\u0440\u043a\u043d\u0435\u043c \u0438\u0445 (\u044f\u0447\u0435\u0439\u043a\u0430 431 \u2014 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u0438 341). \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0435 \u0436\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0435\u0442\u043e\u043a, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0435\u043b\u0438\u043c \u0447\u0438\u0441\u043b\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0439 \u043d\u0430 2. \u0426\u0438\u0444\u0440\u0430\u043c\u0438 \u0432 \u0441\u0430\u043c\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u044f \u043e\u0442\u043c\u0435\u0442\u0438\u043b, \u0432 \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u043e\u0441\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 251 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u043e\u0441\u044c \u0437\u0434\u0435\u0441\u044c \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e \u0446\u0438\u0444\u0440\u043e\u0439 2. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sm\/zh\/ya\/smzhyaczflldm0cdn3xewsvqbrk.png\"><br \/>  \u0417\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0435 \u043a\u043b\u0435\u0442\u043a\u0438 \u0441 \u0446\u0438\u0444\u0440\u043e\u0439 \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u0443\u0436\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u043e\u0441\u044c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f 152 \u0443\u0436\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u0430\u0441\u044c \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 (\u0432 \u0432\u0438\u0434\u0435 251), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u0430 \u0446\u0438\u0444\u0440\u043e\u0439 2 \u0432 \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/441\/f17\/8a4\/441f178a433d1b7739220f523e5dd24a.svg\" alt=\"$(n-2)$\" data-tex=\"inline\"><\/math> \u043a\u043b\u0435\u0442\u043a\u0438 (\u043a\u0440\u043e\u043c\u0435 \u0442\u0435\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b \u0438\u0437-\u0437\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u0447\u0438\u0441\u0435\u043b \u0432 \u043d\u0438\u0445, \u0438 \u0442\u0435\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b \u043d\u0438\u0436\u0435 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438, \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0442 \u0432\u0435\u0440\u0445\u043d\u0438\u0435). \u041f\u0435\u0440\u0435\u0431\u0440\u0430\u0432 \u0442\u0430\u043a \u0432\u0441\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435. \u041d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d81\/a54\/e73\/d81a54e73a1a3dd135330ead05759e7e.svg\" alt=\"$(n-2)+(n-3)$\" data-tex=\"inline\"><\/math> \u043a\u043b\u0435\u0442\u043e\u043a:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nt\/qq\/em\/ntqqemzmrbyh3s8ybvfhloog2uy.png\"><br \/>  \u041d\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u043c \u0441\u043b\u043e\u0435 \u0432\u044b\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f3f\/856\/4db\/f3f8564db81951ee98eeb77150100942.svg\" alt=\"$(n-2)+(n-3)+(n-4)$\" data-tex=\"inline\"><\/math> \u043a\u043b\u0435\u0442\u043e\u043a:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zu\/po\/_o\/zupo_ouk27b23x3mbzehhlwyllm.png\"><br \/>  \u041d\u0430 \u043f\u044f\u0442\u043e\u043c \u2014 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2c6\/0a3\/e0a\/2c60a3e0a727f3a12d5f88ee37d15fc3.svg\" alt=\"$(n-2)+(n-3)+(n-4)+(n-5)$\" data-tex=\"inline\"><\/math>:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ma\/my\/9p\/mamy9phgboeyklckv4fxq8kjhc4.png\"><br \/>  \u041d\u0430 \u0448\u0435\u0441\u0442\u043e\u043c, \u043f\u043e \u0432\u0438\u0434\u0438\u043c\u043e\u043c\u0443, <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/766\/c6c\/bd8\/766c6cbd8cfecd5f5b0b36c17b22b6af.svg\" alt=\"$(n-2)+(n-3)+(n-4)+(n-5)+(n-n)$\" data-tex=\"inline\"><\/math>:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yd\/ww\/wp\/ydwwwpwmvf7dxkxbkgezxcmtu4o.png\"><br \/>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 3, \u0438\u0437 \u0447\u0438\u0441\u043b\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/14d\/9e7\/5b7\/14d9e75b7e691e7254f8ce664c144e57.svg\" alt=\"$\\frac{n(n-1)(n-2)}{2}$\" data-tex=\"inline\"><\/math> \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0447\u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0441\u0443\u043c\u043c\u0443:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bba\/03e\/787\/bba03e787cb6fc35dac6307d29d2f339.svg\" alt=\"$(n-2)+((n-2)+(n-3))+((n-2)+(n-3)+(n-4))+\\\\((n-2)+(n-3)+(n-4)+(n-5))+((n-2)+(n-3)+(n-4)+(n-5)+(n-n))$\" data-tex=\"display\"><\/math><\/p>\n<p>\u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4b9\/824\/161\/4b98241618b3faa8540981acb6945de6.svg\" alt=\"$\\sum_{i=2}^n{\\sum_{j=2}^i(n-j)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0415\u0449\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0443\u043c\u043c\u0443 \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/411\/d50\/cd8\/411d50cd841a82e5db978bf220a08800.svg\" alt=\"$5(n-2)+4(n-3)+3(n-4)+2(n-5)+(n-n)=\\\\(n-1)(n-2)+(n-2)(n-3)+(n-3)(n-4)+(n-4)(n-5)+(n-5)(n-n)$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/cac\/aab\/6d2\/cacaab6d227518f9877a8694e6f8f09c.svg\" alt=\"$\\sum_{i=2}^{n-1}{(n-i)(n-i+1)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442, \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 3 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e03\/2d0\/684\/e032d06840d8d73700c49a16dd47a178.svg\" alt=\"$C_n^3=\\frac{n(n-1)(n-2)}{2}-\\sum_{i=2}^n\\sum_{j=2}^i(n-j)=\\frac{n(n-1)(n-2)}{2}-\\sum_{i=2}^{n-1}{(n-i)(n-i+1)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u0438\u0437 8 \u043f\u043e 3:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2a7\/b10\/304\/2a7b10304897d77f91b28cd95cbe1475.svg\" alt=\"$C_8^3=\\frac{8\\cdot7\\cdot6}{2}-\\sum_{i=2}^7{(n-i)(n-i+1)}=\\\\ 168-(6\\cdot7+5\\cdot6+4\\cdot5+3\\cdot4+2\\cdot3+1\\cdot2)=\\\\ 168-112=56$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0432\u0440\u044f\u0434 \u043b\u0438 \u0432\u0438\u0434\u043d\u0430 \u043a\u0430\u043a\u0430\u044f-\u043b\u0438\u0431\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439. \u0418\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 (\u0443 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043b\u043e\u0438 \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u044b\u0435, \u0443 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u2014 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0435). \u0422\u043e \u0435\u0441\u0442\u044c, \u043f\u0435\u0440\u0432\u044b\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a (\u043f\u0435\u0440\u0432\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b 1111):<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/k8\/zm\/ep\/k8zmep5ng-m2ijrdc3euacysuri.png\"><br \/>  \u0412\u0435\u0441\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f (\u043d\u0430 \u043d\u0435\u043c \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u0432\u0435\u0437\u0434\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f). \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u0441\u043b\u043e\u0435 \u0432\u044b\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u0441\u0443\u043c\u043c\u0430:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d05\/12f\/46d\/d0512f46d42b98cffe7c1b4fd4fd7341.svg\" alt=\"$\\begin{pmatrix}-\\\\0+\\\\(n-3)+\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+(n-n)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0421\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0435 \u0432 \u0441\u0442\u043e\u043b\u0431\u0438\u043a \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043b\u0438\u0448\u044c \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438. \u041f\u0440\u043e\u0447\u0435\u0440\u043a\u043e\u043c \u044f \u043e\u0442\u043c\u0435\u0442\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u0441\u043b\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0442\u0430\u043a \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u043b\u0441\u044f \u0432\u0435\u0441\u044c. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u00ab\u0441\u043b\u043e\u0439\u00bb \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xw\/hz\/ni\/xwhznitgv0twgkmsrvurq1plfxa.png\"><br \/>  \u0417\u043d\u0430\u0447\u0438\u0442, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u0441\u0443\u043c\u043c\u0430:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7d1\/acc\/386\/7d1acc386a8c3021d0ec3687d20d761c.svg\" alt=\"$\\begin{pmatrix}(n-3)+(n-4)+(n-5)+\\\\-\\\\(n-3)+\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}=\\begin{pmatrix}-\\\\(n-3)+\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u0440\u0435\u0442\u0438\u0439:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rz\/1l\/cj\/rz1lcjsfpscz1nn3kuyc0zbi23c.png\"><br \/>  \u041d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u0443\u043c\u043c\u0430:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5c7\/dce\/a0f\/5c7dcea0f10d65a3372bb7e8108d3b1d.svg\" alt=\"$\\begin{pmatrix}(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\-\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}=\\begin{pmatrix}-\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0423\u0436\u0435 \u0437\u0434\u0435\u0441\u044c \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/266\/681\/859\/26668185979b69acd461f6411d1d5350.svg\" alt=\"$\\begin{pmatrix}-\\\\0+\\\\(n-3)+\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\(n-3)+\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}+\\\\\\begin{pmatrix}-\\\\(n-3)+(n-4)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}+\\\\\\begin{pmatrix}-\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)+\\\\(n-3)+(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435:<\/p>\n<p>  <code>4(n-3)+3(n-4)+2(n-5)+1(n-n)+<br \/>  5(n-3)+4(n-4)+3(n-5)+2(n-n)+<br \/>  5(n-3)+5(n-4)+4(n-5)+3(n-n)+<br \/>  5(n-3)+5(n-4)+5(n-5)+4(n-n)+<br \/>  5(n-3)+5(n-4)+5(n-5)+5(n-n)+<br \/>  5(n-3)+5(n-4)+5(n-5)+5(n-n)<\/code><\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7f1\/191\/6db\/7f11916db65fb65197beaa8e0d4b7f8f.svg\" alt=\"$29(n-3)+27(n-4)+24(n-5)+20(n-n)$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0412\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0434 \u0441\u043a\u043e\u0431\u043a\u0430\u043c\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0447\u0438\u0441\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/726\/e0c\/3ae\/726e0c3ae76e4a73a49b0b7f55f261d6.svg\" alt=\"$C_n^4=\\frac{n(n-1)(n-2)(n-3)}{2}-\\sum_{i=3}^{n-1}{(n-i)\\left(30-\\sum_{j=1}^{i-2}j\\right)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0430\u044f\u0441\u044f \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0fa\/516\/e02\/0fa516e02a79dbc7e3393a8a18bccd3e.svg\" alt=\"$n=6$\" data-tex=\"inline\"><\/math>, \u0432\u0435\u0434\u044c \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0434\u0440\u0443\u0433\u0438\u0435. \u0418, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044f \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u0438 \u0437\u0434\u0435\u0441\u044c, \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/ae0\/31e\/7c0\/ae031e7c0fc2ae504419c098408f88d0.svg\" alt=\"$k=5$\" data-tex=\"inline\"><\/math>, \u0447\u0435\u0440\u0435\u0437 \u043f\u044f\u0442\u0438\u043c\u0435\u0440\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0432\u0435\u0441\u044c \u0435\u0451 \u043f\u0435\u0440\u0432\u044b\u0439 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u00ab\u0441\u043b\u043e\u0439\u00bb \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u0437\u0434\u0435\u0441\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u0432\u043e \u0432\u0441\u0435\u0445 \u044f\u0447\u0435\u0439\u043a\u0430\u0445:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xf\/9a\/gy\/xf9agy7dsnrfkjktavsbaqk5tgi.png\"><br \/>  \u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0438\u0448\u0435\u043c \u044d\u0442\u043e \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/fbf\/877\/287\/fbf87728751127ff1bff0f2e6fb70482.svg\" alt=\"$\\begin{pmatrix}-\\\\-\\\\-\\\\-\\\\-\\\\-\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0430\u043b\u044c\u0448\u0435:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ck\/u2\/qe\/cku2qek0161vo9tiwzvwmpz1w5y.png\"><br \/>  \u0422\u0443\u0442, \u043a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u0432\u044b\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u0441\u0443\u043c\u043c\u0430:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/206\/963\/dd7\/206963dd71fbb4c55cf4d8c261a9e8ef.svg\" alt=\"$\\begin{pmatrix}-\\\\-\\\\0\\\\(n-4)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0422\u0440\u0435\u0442\u0438\u0439:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ki\/ei\/qe\/kieiqetjbnk8kxa-0_txhwjpli0.png\"><br \/>  \u0422\u0443\u0442 \u0432\u044b\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3fc\/0bb\/65d\/3fc0bb65db43b0d9857298456545269b.svg\" alt=\"$\\begin{pmatrix}-\\\\(n-4)+(n-5)+\\\\-\\\\(n-4)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}=\\begin{pmatrix}-\\\\-\\\\(n-4)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/oe\/uj\/uq\/oeujuqhh-bcpqugkcpuijlg4ptm.png\">  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7bc\/478\/630\/7bc478630d0da79ac957b1d6b77074af.svg\" alt=\"$\\begin{pmatrix}-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}=\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wn\/ei\/bd\/wneibd_kkuemf-_iv7q0oczz0zo.png\">  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/299\/0ba\/27e\/2990ba27ed16e82cf519fcf872298a14.svg\" alt=\"$\\begin{pmatrix}-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\-\\\\(n-4)+(n-5)\\end{pmatrix}=\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c, \u0448\u0435\u0441\u0442\u043e\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/jj\/1d\/zo\/jj1dzoww4rco4c7q_nityiexyge.png\">  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/742\/4fb\/3d8\/7424fb3d8e25a760555454cc604b965d.svg\" alt=\"$\\begin{pmatrix}-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\\\-\\end{pmatrix}=\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u041d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u00ab\u0441\u043b\u043e\u0439\u00bb 21 \u0431\u0443\u0434\u0435\u0442 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0439 12, \u0430 \u0441\u043b\u043e\u0439 22 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u0432\u0435\u0441\u044c, \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a 11.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u00ab\u0441\u043b\u043e\u044e\u00bb 23:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/os\/zv\/p0\/oszvp0gxum4j5vq4v_ninstxkik.png\"><br \/>  \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u0438\u0437 6 \u043f\u043e 5 \u2014 56423 (\u043a\u043b\u0435\u0442\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u0438\u0441\u044c \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u044b \u0431\u0435\u043b\u044b\u043c, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u0437\u0430\u0431\u044b\u043b)). \u041d\u0430\u043f\u0438\u0448\u0435\u043c, \u043a\u0430\u043a\u0443\u044e \u0432 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430\u0434\u043e \u0432\u044b\u0447\u0435\u0441\u0442\u044c \u0441\u0443\u043c\u043c\u0443 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8e2\/6b0\/c0e\/8e26b0c0e4f088456d722c4b0d36140b.svg\" alt=\"$\\frac{n(n-1)(n-2)(n-3)(n-4)}{2}$\" data-tex=\"inline\"><\/math>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043f\u043e 5. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u043b\u043e\u0441\u044c:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/277\/225\/f68\/277225f682cc55ebc2fd72b399437735.svg\" alt=\"$\\begin{pmatrix}-\\\\-\\\\-\\\\-\\\\-\\\\-\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\0+\\\\(n-4)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\\\\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/369\/e2d\/1b9\/369e2d1b9f14dc8126fde0b62d3d48e0.svg\" alt=\"$\\begin{pmatrix}-\\\\-\\\\-\\\\-\\\\-\\\\-\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\\\\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}+\\begin{pmatrix}-\\\\-\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)+\\\\(n-4)+(n-5)\\end{pmatrix}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0432 \u0441\u043a\u043e\u0431\u043a\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0435\u0441\u044f \u044f\u0447\u0435\u0439\u043a\u0438 \u043d\u0430 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u044f\u0445. \u0412\u0441\u0435\u0433\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u0451\u0432. \u0417\u0430\u043f\u0438\u0448\u0435\u043c \u044d\u0442\u043e \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c\u044b:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/071\/ffb\/2fa\/071ffb2fa494b228dac47e6b8ac0d217.svg\" alt=\"$\\begin{aligned} &amp;C_n^5=\\frac{n(n-1)(n-2)(n-3)(n-4)}{2}-\\sum_{i_3=1}^n\\sum_{i_2=1}^{n-k+4}\\sum_{i_1=a}^n\\sum_{i_0=k-1}^b(n-i_0)\\\\ &amp;a=\\left\\{ \\begin{aligned} &amp;k-1, \\ \u0435\u0441\u043b\u0438 \\ i_2=i_3=1 \\\\ &amp;k-2, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right.\\\\ &amp;b=\\left\\{ \\begin{aligned} &amp;i_1-2+i_2+i_3, \\ \u0435\u0441\u043b\u0438 \\ i_1-2+i_2+i_3\\leqslant n-1 \\\\ &amp;n-1, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right. \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0443\u043c\u043c\u0430 \u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0435\u0441\u044f \u044f\u0447\u0435\u0439\u043a\u0438 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u044f\u0445, \u043e\u0431\u0440\u0430\u0437\u0443\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u044b\u0445. \u041f\u0440\u0435\u0434\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0443\u043c\u043c\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0435\u0441\u044f \u044f\u0447\u0435\u0439\u043a\u0438 \u043d\u0430 \u0434\u0432\u0443\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u044f\u0445, \u043e\u0431\u0440\u0430\u0437\u0443\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0435\u0441\u044f \u044f\u0447\u0435\u0439\u043a\u0438 \u043d\u0430 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0438 \u0442.\u0434.<\/p>\n<p>  \u0418\u043d\u0434\u0435\u043a\u0441 \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u0431\u0435\u0440\u0435\u043c \u0434\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/998\/9d3\/5a3\/9989d35a3d499d0833c816d40ff7c8d6.svg\" alt=\"$(n-k+4)$\" data-tex=\"inline\"><\/math>, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u0430 \u00ab\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u00bb \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u044f\u0445, \u0441\u0443\u043c\u043c\u0438\u0440\u0443\u044f \u0432\u044b\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u043d\u0430 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445, \u043a\u0430\u043a \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0432\u0438\u0434\u0435\u0442\u044c \u0432\u044b\u0448\u0435, \u0443 \u043f\u044f\u0442\u0438\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u0441\u043b\u043e\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0439, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0fa\/516\/e02\/0fa516e02a79dbc7e3393a8a18bccd3e.svg\" alt=\"$n=6$\" data-tex=\"inline\"><\/math>, \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u044f\u0442\u044c \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u0451\u0432, <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/712\/649\/a3c\/712649a3c3283444bd6dd079c89fa6d2.svg\" alt=\"$6-5+4=5$\" data-tex=\"inline\"><\/math>.<\/p>\n<p>  \u0414\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a4a\/d2a\/27e\/a4ad2a27e88f173a0476ca178eb88b79.svg\" alt=\"$k=6$\" data-tex=\"inline\"><\/math>, \u0448\u0435\u0441\u0442\u0438\u043c\u0435\u0440\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0435\u0451 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0442\u0440\u0451\u0445 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439:<\/p>\n<p>  <code><s>111<\/s> <s>121<\/s> <s>131<\/s> <s>141<\/s> <s>151<\/s> <s>161<\/s><br \/>  <s>112<\/s> <s>122<\/s> 132 142 152 162<br \/>  <s>113<\/s> 123 <s>133<\/s> 143 153 163<br \/>  <s>114<\/s> 124 134 <s>144<\/s> 154 164<br \/>  <s>115<\/s> 125 135 145 <s>155<\/s> 165<br \/>  <s>116<\/s> 126 136 146 156 <s>166<\/s><\/p>\n<p>  <s>211<\/s> \u2026<br \/>  <s>212<\/s> \u2026<br \/>  \u2026<\/code><\/p>\n<p>  \u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u0432\u044b\u0447\u0435\u0440\u043a\u043d\u0443\u043b\u0438 \u043c\u044b \u0442\u0435 \u0441\u043b\u043e\u0438, \u0433\u0434\u0435 \u0445\u043e\u0442\u044c \u043e\u0434\u043d\u0430 \u0446\u0438\u0444\u0440\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u043b\u0430\u0441\u044c. \u0423\u0436\u0435 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u043f\u044f\u0442\u0438\u043c\u0435\u0440\u043d\u043e\u043c\u0443 \u0441\u043b\u043e\u044e \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043d\u0430 \u043f\u044f\u0442\u0438\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u044f\u0445 \u0434\u043b\u044f \u0448\u0435\u0441\u0442\u0438\u043c\u0435\u0440\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0434\u0438\u043d \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 \u043c\u0435\u043d\u044c\u0448\u0435. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u0451\u0432 \u0440\u0430\u0432\u043d\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5df\/5cf\/26d\/5df5cf26ddb0dba61eee09ce87246509.svg\" alt=\"$(n-k+5)$\" data-tex=\"inline\"><\/math>. \u0410 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u044b\u0445 \u0441\u043b\u043e\u0451\u0432 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435 \u0442\u0430\u043a\u0436\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/998\/9d3\/5a3\/9989d35a3d499d0833c816d40ff7c8d6.svg\" alt=\"$(n-k+4)$\" data-tex=\"inline\"><\/math> (\u043f\u043e 4 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435: <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/319\/eb2\/3bc\/319eb23bc0919194459fa283d4894f5c.svg\" alt=\"$6-6+4$\" data-tex=\"inline\"><\/math>). \u0417\u0430\u043f\u0438\u0441\u044c \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/dae\/e09\/725\/daee09725fdf0f8253a24790f2771e9e.svg\" alt=\"$\\begin{aligned} &amp;C_n^6=\\frac{n(n-1)(n-2)(n-3)(n-4)(n-5)}{2}-\\sum_{i_4=1}^n\\sum_{i_3=1}^{n-k+5}\\sum_{i_2=1}^{n-k+4}\\sum_{i_1=a}^n\\sum_{i_0=k-1}^b(n-i_0)\\\\ &amp;a=\\left\\{ \\begin{aligned} &amp;k-1, \\ \u0435\u0441\u043b\u0438 \\ i_2=i_3=i_4=1 \\\\ &amp;k-2, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right.\\\\ &amp;b=\\left\\{ \\begin{aligned} &amp;i_1-3+i_2+i_3+i_4, \\ \u0435\u0441\u043b\u0438 \\ i_1-3+i_2+i_3+i_4\\leqslant n-1 \\\\ &amp;n-1, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right. \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0417\u0430\u043f\u0438\u0441\u044c \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c70\/8e5\/434\/c708e5434f493356304a46d3301ef8b0.svg\" alt=\"$k=3$\" data-tex=\"inline\"><\/math> \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4f7\/0c0\/49a\/4f70c049a48901da110e43d594a86c3d.svg\" alt=\"$\\begin{aligned} &amp;C_n^3=\\frac{n(n-1)(n-2)}{2}-\\sum_{i_1=a}^n\\sum_{i_0=k-1}^b(n-i_0)\\\\ &amp;a=k-1\\\\ &amp;b=\\left\\{ \\begin{aligned} &amp;i_1, \\ \u0435\u0441\u043b\u0438 \\ i_1\\leqslant n-1 \\\\ &amp;n-1, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right. \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0414\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9ea\/b82\/d10\/9eab82d10dd1b739c27600fafb303bee.svg\" alt=\"$k=4$\" data-tex=\"inline\"><\/math> \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/829\/d08\/7b1\/829d087b1322ae7541160329552a20d6.svg\" alt=\"$\\begin{aligned} &amp;C_n^4=\\frac{n(n-1)(n-2)(n-3)}{2}-\\sum_{i_2=1}^n\\sum_{i_1=a}^n\\sum_{i_0=k-1}^b(n-i_0)\\\\ &amp;a=\\left\\{ \\begin{aligned} &amp;k-1, \\ \u0435\u0441\u043b\u0438 \\ i_2=1 \\\\ &amp;k-2, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right.\\\\ &amp;b=\\left\\{ \\begin{aligned} &amp;i_1-1+i_2, \\ \u0435\u0441\u043b\u0438 \\ i_1-1+i_2\\leqslant n-1 \\\\ &amp;n-1, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right. \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0414\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/ae0\/31e\/7c0\/ae031e7c0fc2ae504419c098408f88d0.svg\" alt=\"$k=5$\" data-tex=\"inline\"><\/math>:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/071\/ffb\/2fa\/071ffb2fa494b228dac47e6b8ac0d217.svg\" alt=\"$\\begin{aligned} &amp;C_n^5=\\frac{n(n-1)(n-2)(n-3)(n-4)}{2}-\\sum_{i_3=1}^n\\sum_{i_2=1}^{n-k+4}\\sum_{i_1=a}^n\\sum_{i_0=k-1}^b(n-i_0)\\\\ &amp;a=\\left\\{ \\begin{aligned} &amp;k-1, \\ \u0435\u0441\u043b\u0438 \\ i_2=i_3=1 \\\\ &amp;k-2, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right.\\\\ &amp;b=\\left\\{ \\begin{aligned} &amp;i_1-2+i_2+i_3, \\ \u0435\u0441\u043b\u0438 \\ i_1-2+i_2+i_3\\leqslant n-1 \\\\ &amp;n-1, \\ \u0438\u043d\u0430\u0447\u0435 \\\\ \\end{aligned}\\right. \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c34\/263\/ce8\/c34263ce89147852c9bef0a2d61103d9.svg\" alt=\"$k\\geqslant2$\" data-tex=\"inline\"><\/math> \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 (\u0441\u0443\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0432\u044b\u0447\u0438\u0442\u0430\u0435\u043c \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u043e):<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/82d\/b90\/f28\/82db90f280cbb1940594a7d753b2a93f.svg\" alt=\"$\\begin{aligned} &amp;C_n^k=\\frac{\\prod\\limits_{i=n-k+1}^ni}{2}-c_k\\\\ &amp;k_0=k\\\\ &amp;c_k=\\left\\{\\begin{aligned} &amp;0, \\ k=2 \\\\ &amp;\\sum_{i_3=a}^{n}\\sum_{i_2=k-1}^{b}(n-i_2), \\ k=3 \\\\ &amp;\\sum_{i_k=1}^{n-k_0+k}c_{k-1}, \\ k\\geqslant4 \\end{aligned}\\right. \\\\ &amp;a=\\left\\{ \\begin{aligned} &amp;k_0-1, \\ \u0435\u0441\u043b\u0438 \\ i_4=i_5=\u2026=i_k=1 \\ \u0438\u043b\u0438 \\ k_0=3 \\\\ &amp;k_0-2, \\ \u0438\u043d\u0430\u0447\u0435 \\end{aligned}\\right.\\\\ &amp;b=\\left\\{ \\begin{aligned} &amp;i_3-(k_0-3)+i_4+i_5+\u2026+i_k, \\ \u0435\u0441\u043b\u0438\\ i_3-(k-3)+i_4+i_5+\u2026+i_k\\leqslant n-1 \\ \u0438 \\ k_0&gt;3 \\\\ &amp;i_3, \\ \u0435\u0441\u043b\u0438\\ i_3\\leqslant n-1 \\ \u0438\\ k_0=3 \\\\ &amp;n-1, \\ \u0438\u043d\u0430\u0447\u0435 \\end{aligned}\\right. \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<h3>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/h3>\n<p>  \u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u043f\u0438\u0441\u0430\u043b \u0432\u044b\u0448\u0435, \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043f\u043e 3 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u043d\u0443 \u0441\u0443\u043c\u043c\u0443:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e03\/2d0\/684\/e032d06840d8d73700c49a16dd47a178.svg\" alt=\"$C_n^3=\\frac{n(n-1)(n-2)}{2}-\\sum_{i=2}^n\\sum_{j=2}^i(n-j)=\\frac{n(n-1)(n-2)}{2}-\\sum_{i=2}^{n-1}{(n-i)(n-i+1)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0410 \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u0438\u0437 6 \u043f\u043e 4 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/726\/e0c\/3ae\/726e0c3ae76e4a73a49b0b7f55f261d6.svg\" alt=\"$C_n^4=\\frac{n(n-1)(n-2)(n-3)}{2}-\\sum_{i=3}^{n-1}{(n-i)\\left(30-\\sum_{j=1}^{i-2}j\\right)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e 30 \u0432\u043e \u0432\u0442\u043e\u0440\u044b\u0445 \u0441\u043a\u043e\u0431\u043a\u0430\u0445, \u044d\u0442\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/076\/3b7\/855\/0763b78554331922f6e3bbcd0c103061.svg\" alt=\"$n(n-1)$\" data-tex=\"inline\"><\/math> (\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u043c\u0443 \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0441\u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438).<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0fa\/f3d\/9c6\/0faf3d9c6f705efa83b928f382e4db96.svg\" alt=\"$C_n^4=\\frac{n(n-1)(n-2)(n-3)}{2}-\\sum_{i=3}^{n-1}{(n-i)\\left(n(n-1)-\\sum_{j=1}^{i-2}j\\right)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0412\u0442\u043e\u0440\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438 \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043c\u043d\u043e\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bad\/810\/07c\/bad81007ce8d19acecdea4c0d76bb18c.svg\" alt=\"$(n-i)$\" data-tex=\"inline\"><\/math>. \u0414\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c70\/8e5\/434\/c708e5434f493356304a46d3301ef8b0.svg\" alt=\"$k=3$\" data-tex=\"inline\"><\/math> \u044d\u0442\u043e\u0442 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u043d\u0430 1 \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u043c \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0443\u043c\u043c\u044b. \u0414\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/578\/281\/d89\/578281d8997e0a562a02dd61422d408e.svg\" alt=\"$4$\" data-tex=\"inline\"><\/math> \u2014 \u0447\u0438\u0441\u043b\u043e, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e\u0442 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430 1. \u0417\u0430\u0442\u0435\u043c \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0445 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/541\/e5a\/e98\/541e5ae98298d265f4c4ba6545014c32.svg\" alt=\"$(n-4)$\" data-tex=\"inline\"><\/math>, <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/ca8\/b5b\/8a6\/ca8b5b8a6d7502622c2aca8bad93b815.svg\" alt=\"$(n-5)$\" data-tex=\"inline\"><\/math> \u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d3c\/1e7\/065\/d3c1e7065a03ae1d72168f8081ddf3f7.svg\" alt=\"$(n-n)$\" data-tex=\"inline\"><\/math> \u0432 \u0441\u0443\u043c\u043c\u0435 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/480\/820\/0cb\/4808200cb3668866f25a2e4437a6b74e.svg\" alt=\"$5$\" data-tex=\"inline\"><\/math>:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4fc\/d5e\/c59\/4fcd5ec59e4b7d0c2eeb002b954e52b7.svg\" alt=\"$119(n-4)+116(n-5)+110(n-n)$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0427\u0438\u0441\u043b\u043e, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u043b\u043e, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430 1. \u042d\u0442\u043e\u0442 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0435 \u0441\u0443\u043c\u043c\u044b:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/1fb\/854\/ebe\/1fb854ebe10982ffe304ede5d2e2d901.svg\" alt=\"$C_n^5=\\frac{n(n-1)(n-2)(n-3)(n-4)}{2}-\\sum_{i=4}^{n-1}{(n-i)\\left(n(n-1)(n-2)-\\sum_{j_1=1}^{i-3}\\sum_{j_0=1}^{j_1}j_0\\right)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0417\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u044f\u0441\u043d\u0430 \u2014 \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a4a\/d2a\/27e\/a4ad2a27e88f173a0476ca178eb88b79.svg\" alt=\"$k=6$\" data-tex=\"inline\"><\/math> \u044d\u0442\u0430 \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/285\/fa7\/345\/285fa734508861a2a74ee3dc0149b2a2.svg\" alt=\"$C_n^6=\\frac{n(n-1)(n-2)(n-3)(n-4)(n-5)}{2}\\\\-\\sum_{i=5}^{n-1}{(n-i)\\left(n(n-1)(n-2)(n-3)-\\sum_{j_2=1}^{i-4}\\sum_{j_1=1}^{j_2}\\sum_{j_0=1}^{j_1}j_0\\right)}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u0410 \u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 (\u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c34\/263\/ce8\/c34263ce89147852c9bef0a2d61103d9.svg\" alt=\"$k\\geqslant2$\" data-tex=\"inline\"><\/math>) \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a:<\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/cdd\/d60\/2ab\/cddd602abbce13444e1f6df74b08a955.svg\" alt=\"$\\begin{aligned} &amp;C_n^k=\\frac{\\prod\\limits_{i=n-k+1}^ni}{2}-c_k\\\\ &amp;k_0=k\\\\ &amp;c_k=\\left\\{ \\begin{aligned} &amp;0, \\ k=2 \\\\ &amp;\\sum_{i=k-1}^{n-1}{(n-i)\\left(\\prod_{j_k=n-k+3}^nj_k-d_k\\right)}, \\ \u0435\u0441\u043b\u0438 \\ k\\geqslant3 \\\\ \\end{aligned}\\right.\\\\ &amp;d_k=\\left\\{ \\begin{aligned} &amp;i-1, \\ k=3 \\\\ &amp;\\sum_{j_4=1}^lj_4, \\ k=4 \\\\ &amp;\\sum_{j_k=1}^ld_{k-1}, \\ \u0435\u0441\u043b\u0438 \\ k&gt;4 \\\\ &amp;l=j_{k+1}, \\ \u0435\u0441\u043b\u0438 \\ k\\neq k_0 \\\\ &amp;l=i-k_0+2, \\ \u0435\u0441\u043b\u0438 \\ k = k_0 \\\\ \\end{aligned}\\right.\\\\ \\end{aligned}$\" data-tex=\"display\"><\/math><\/p>\n<p>\u041f\u043e\u0434 \u043a\u043e\u043d\u0435\u0446 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043c\u0435\u0442\u043e\u0434 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043d\u0435\u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439, \u0445\u043e\u0442\u044f \u043c\u043d\u0435 \u0438 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e. \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435\u043c, \u043d\u043e \u0434\u0443\u043c\u0430\u044e \u043b\u0438\u0448\u043d\u0438\u043c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p><\/div>\n<p> \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\/530098\/\"> https:\/\/habr.com\/ru\/post\/530098\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/en\/ez\/hm\/enezhmrbu-dolgogtwochbkmzqw.png\"><\/p>\n<p>  \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u043f\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430\u0431\u043e\u0440 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0439, \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u00ab\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0433\u0440\u0443\u043f\u043f \u0438\u0437 4 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435\u0433\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 20 \u0447\u0435\u043b\u043e\u0432\u0435\u043a?\u00bb. \u0425\u043e\u0442\u044f \u0443\u0434\u043e\u0431\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0434\u0430\u0432\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u043d\u0430 \u0435\u0449\u0451 \u0434\u0432\u0430 \u0441\u0442\u043e\u0438\u0442 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c.  <\/p>\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-314062","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/314062","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=314062"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/314062\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}