{"id":315312,"date":"2020-12-22T09:02:09","date_gmt":"2020-12-22T09:02:09","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=315312"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=315312","title":{"rendered":"\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0443\u044e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0445 \u0431\u0443\u043a\u0432, \u0442\u0430\u043a \u0432\u0435\u0434\u044c?<\/p>\n<pre><code class=\"java\">import java.util.Random;  class WTF {     public static void main(String[] args) {         Random r = new Random(76880392499L&lt;&lt;11);         String alphabet = &quot; abcdefghijklmnopqrstuvwxyz&quot;;         int n;         while ((n = r.nextInt(alphabet.length())) &gt; 0)         \tSystem.out.print(alphabet.charAt(n));     } } <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u0435\u0442\u0435 <a href=\"https:\/\/ideone.com\/zlY6EI\" rel=\"nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a>; \u0432\u044b\u0432\u043e\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c. \u041a\u0430\u043a \u0436\u0435 \u0442\u0430\u043a \u0432\u044b\u0448\u043b\u043e?<\/p>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e: \u043a\u0430\u043a\u043e\u0439 \u0448\u0430\u043d\u0441, \u0447\u0442\u043e \u0438\u0437 \u0432\u0441\u0435\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0445 \u0431\u0443\u043a\u0432 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0430? \u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e 10 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u043a\u0430\u0436\u0434\u043e\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u043b\u043e\u0441\u044c \u0438\u0437 27 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u0441\u0435\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0431\u044b\u043b\u043e <math>$inline$27^{10} \\approx 2.06\\cdot10^{14}$inline$<\/math>. \u0415\u0441\u043b\u0438 \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b, \u0442\u043e \u043d\u0430\u043c \u0432\u044b\u043f\u0430\u043b \u043e\u0434\u0438\u043d \u0448\u0430\u043d\u0441 \u0438\u0437 \u0434\u0432\u0443\u0445\u0441\u0442\u0430 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432! \u0423\u0445!<a name=\"habracut\"><\/a><\/p>\n<p>  \u0412\u0442\u043e\u0440\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c <code>java.util.Random<\/code>? \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f <a href=\"https:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/util\/Random.html#Random(long)\" rel=\"nofollow\">\u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442<\/a>, \u0447\u0442\u043e \u0445\u043e\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 64-\u0431\u0438\u0442\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>seed<\/code>, \u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u043b\u0430\u0434\u0448\u0438\u0435 48 \u0431\u0438\u0442; \u0437\u043d\u0430\u0447\u0438\u0442, \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0439 \u0443 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <math>$inline$2^{48} \\approx 2.81\\cdot10^{14}$inline$<\/math>. \u041e\u0446\u0435\u043d\u0438\u043c, \u043f\u0440\u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 <code>seed<\/code> \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0443\u0436\u043d\u0430\u044f \u043d\u0430\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c: <math>$inline$\\frac{2^{48}}{27^{10}} \\approx 1.37$inline$<\/math><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443\u0436\u0435 \u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u0430\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043e\u0434\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>seed<\/code>. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u043d\u0430\u0439\u0442\u0438 \u0442\u0430\u043a\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u0438 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0451\u0445\u0441\u043e\u0442 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445?<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u043e\u043c. SO-\u044e\u0437\u0435\u0440 TwoThe \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b <a href=\"https:\/\/ideone.com\/ROhmTA\" rel=\"nofollow\">\u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0449\u0438\u043a<\/a>, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0439 \u0432\u0441\u0435 \u044f\u0434\u0440\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430; \u044f \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b \u0432 \u043d\u0451\u043c \u043e\u0448\u0438\u0431\u043a\u0443 (\u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u043e\u0442 <code>Long.MIN_VALUE<\/code> \u0434\u043e <code>Long.MAX_VALUE<\/code> \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 0 \u0434\u043e <math>$inline$2^{48}-1$inline$<\/math>), \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430, \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b. \u041d\u0430 \u043c\u043e\u0451\u043c \u0432\u043e\u0441\u044c\u043c\u0438\u044f\u0434\u0435\u0440\u043d\u043e\u043c i7 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b 60 \u043c\u043b\u043d \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0442.\u0435. \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0432\u0441\u0435\u0445 <math>$inline$2^{48}$inline$<\/math> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0443\u0448\u043b\u043e \u0431\u044b 49 \u0441\u0443\u0442\u043e\u043a \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b. \u042d\u0442\u043e \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e, \u043d\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0431\u044b\u0441\u0442\u0440\u0435\u0435. \u0412 \u0440\u0430\u0437\u044b.<\/p>\n<p>  \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f <code>java.util.Random<\/code> \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0443\u043b\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 <code>setSeed<\/code>, <code>next<\/code> \u0438 <code>nextInt<\/code>:<\/p>\n<pre><code class=\"java\">void setSeed(long seed) {     this.seed = (seed ^ 0x5DEECE66DL) & ((1L &lt;&lt; 48) - 1); } int next(int bits) {     seed = (seed * 0x5DEECE66DL + 0xBL) & ((1L &lt;&lt; 48) - 1);     return (int)(seed &gt;&gt;&gt; (48 - bits)); } int nextInt(int n) {     int bits, val;     do {         bits = next(31);         val = bits % n;     } while (bits - val + (n-1) &lt; 0);     return val; } <\/code><\/pre>\n<p>  \u0424\u043e\u0440\u043c\u0443\u043b\u044b \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0441\u0430\u043c\u044b\u0435 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435; \u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u0438 \u043a\u0430\u043a\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0435\u0442 \u043d\u0443\u0436\u043d\u0430\u044f \u043d\u0430\u043c \u00abh\u00bb.  <\/p>\n<p><math>$$display$$\\begin{eqnarray} nextInt(27)&#038;=&#038;8\\\\ next(31)&#038;\\equiv_{27}&#038;8\\\\ seed_2\\mathbin{\\texttt{&gt;&gt;&gt;}}(48 &#8212; 31)&#038;\\equiv_{27}&#038;8\\\\ seed_2\\mathbin{\\texttt{&gt;&gt;&gt;}}17&#038;=&#038;27\\cdot n+8,\\ n\\in\\{0,\\ldots,\\left\\lfloor\\frac{2^{31}-1}{27}\\right\\rfloor\\}\\\\ seed_2&#038;=&#038;(27\\cdot n+8)\\cdot2^{17}+h,\\ h\\in\\{0,\\ldots,2^{17}-1\\}\\\\ seed_1\\cdot25214903917+11&#038;\\equiv_{2^{48}}&#038;(27\\cdot n+8)\\cdot2^{17}+h\\\\ seed_1\\cdot25214903917&#038;\\equiv_{2^{48}}&#038;(27\\cdot n+8)\\cdot2^{17}-11+h \\end{eqnarray}$$display$$<\/math><\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c <math>$inline$seed_2$inline$<\/math> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>seed<\/code> \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <code>next<\/code>, \u0430 <math>$inline$seed_1$inline$<\/math> \u2014 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>seed<\/code> \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <code>setSeed<\/code>. \u0412\u0438\u0434\u043d\u043e, \u0447\u0442\u043e 48-\u0431\u0438\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>seed<\/code> \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 31-\u0431\u0438\u0442\u043d\u0443\u044e \u00ab\u0432\u0438\u0434\u0438\u043c\u0443\u044e\u00bb \u0447\u0430\u0441\u0442\u044c, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0443\u044e \u043c\u0435\u0442\u043e\u0434\u043e\u043c <code>nextInt<\/code>, \u0438 17-\u0431\u0438\u0442\u043d\u0443\u044e \u00ab\u0441\u043a\u0440\u044b\u0442\u0443\u044e\u00bb \u0447\u0430\u0441\u0442\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0448\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u043a\u0430\u043a <math>$inline$h$inline$<\/math>.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0434\u043e\u043c\u043d\u043e\u0436\u0438\u043c \u043e\u0431\u0435 \u0447\u0430\u0441\u0442\u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043d\u0430 246154705703781 \u2014 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modular_multiplicative_inverse\" rel=\"nofollow\">\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435<\/a> \u0447\u0438\u0441\u043b\u0430 25214903917:  <\/p>\n<p><math>$$display$$seed_1\\equiv_{2^{48}}((27\\cdot n+8)\\cdot2^{17}-11+h)\\cdot246154705703781 $$display$$<\/math><\/p>\n<p>  \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u043c \u043a \u0432\u044b\u0432\u043e\u0434\u0443: \u0435\u0441\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u0443 <code>setSeed<\/code> \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>(((((27*n + 8) &lt;&lt; 17)|h) - 11) * 246154705703781L) ^ 0x5DEECE66DL<\/code>, \u0442\u043e <code>nextInt(27)<\/code> \u0432\u0435\u0440\u043d\u0451\u0442 8. <a href=\"https:\/\/ideone.com\/HwBMdc\" rel=\"nofollow\">\u041b\u0435\u0433\u043a\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a>, \u0447\u0442\u043e \u0442\u0430\u043a \u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442.<\/p>\n<p>  \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043d\u0430\u0448 \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 27 \u0440\u0430\u0437, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0442\u044c \u043d\u0435 \u0432\u0441\u0435 \u043f\u043e\u0434\u0440\u044f\u0434 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code>seed<\/code>, \u0430 \u2014 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u2014 \u0432\u0441\u0435 <img decoding=\"async\" src=\"https:\/\/latex.codecogs.com\/png.latex?%5Csmall%5Cdpi%7B121%7D%5Ctextstyle%5Cleft%5Clfloor%5Cfrac%7B2%5E%7B31%7D-1%7D%7B27%7D%5Cright%5Crfloor&amp;plus;1\"\/> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <math>$inline$n$inline$<\/math>, \u0438 \u0432\u0441\u0435 <math>$inline$2^{17}$inline$<\/math> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <math>$inline$h$inline$<\/math>. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0432 \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0449\u0438\u043a\u0435 \u043e\u0442 TwoThe \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u043f\u0440\u0435\u0434\u0435\u043b \u0434\u043b\u044f <code>seed<\/code> \u043d\u0430 <code>79536431L&lt;&lt;17<\/code>, \u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043c\u0435\u0442\u043e\u0434\u0430 <code>setSeed<\/code> \u2014 \u043d\u0430 <code>(((((27*(seed&gt;&gt;17) + 8) &lt;&lt; 17)|(seed&0x1FFFFL)) - 11) * 246154705703781L) ^ 0x5DEECE66DL<\/code>. \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 60 \u043c\u043b\u043d \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432\u0441\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043c\u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u0431\u044b 43 \u0447\u0430\u0441\u043e\u0432 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0441\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0446\u0438\u043a\u043b \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 <code>nextInt<\/code>. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d \u043d\u0443\u0436\u0435\u043d \u2014 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c <a href=\"https:\/\/images-na.ssl-images-amazon.com\/images\/I\/51N7suVi1CL._AC_SY450_.jpg\" rel=\"nofollow\">\u043a\u043e\u0441\u0442\u044c d12<\/a>, \u0438 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043d\u0435\u0451 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u0442 0 \u0434\u043e 4 \u043f\u0443\u0442\u0451\u043c \u0432\u0437\u044f\u0442\u0438\u044f \u043e\u0441\u0442\u0430\u0442\u043a\u0430 \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0430 5. \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043f\u044f\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b, \u0432\u0435\u0434\u044c 1 \u0438 2 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u0438 \u0442\u0440\u0451\u0445 \u0438\u0441\u0445\u043e\u0434\u0430\u0445 \u0431\u0440\u043e\u0441\u043a\u0430 (1, 6, 11 \u0438 2, 7, 12), \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a 0, 3 \u0438 4 \u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0434\u0432\u0443\u0445 \u043a\u0430\u0436\u0434\u044b\u0439 (5 \u0438 10, 3 \u0438 8, 4 \u0438 9). \u0421\u043f\u043e\u0441\u043e\u0431 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0442\u0440\u0443\u0434\u043d\u0435\u043d\u0438\u044f, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 Java \u2014 \u0435\u0441\u043b\u0438 \u0432\u044b\u043f\u0430\u0434\u0435\u0442 11 \u0438\u043b\u0438 12, \u0442\u043e \u043a\u043e\u0441\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u043d\u043e\u0432\u0430. \u0415\u0441\u043b\u0438 \u0438 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0431\u0440\u043e\u0441\u043a\u0435 \u0432\u044b\u043f\u0430\u0434\u0435\u0442 11 \u0438\u043b\u0438 12, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u0431\u0440\u043e\u0441\u043a\u0438 \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0432\u044b\u043f\u0430\u0434\u0435\u0442 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0442\u0430\u043a\u043e\u0433\u043e (\u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e) \u0446\u0438\u043a\u043b\u0430 \u0431\u0440\u043e\u0441\u043a\u043e\u0432 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0441 \u0440\u0430\u0432\u043d\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u043b\u044e\u0431\u043e\u0435 \u0438\u0437 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043e\u0442 1 \u0434\u043e 10.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u043b\u0443\u0447\u0430\u044e \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 <code>next<\/code> \u0432\u0435\u0440\u043d\u0451\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0442 <img decoding=\"async\" src=\"https:\/\/latex.codecogs.com\/png.latex?%5Csmall%5Cdpi%7B121%7D%5Ctextstyle%5Cleft%5Clfloor%5Cfrac%7B2%5E%7B31%7D-1%7D%7B27%7D%5Cright%5Crfloor%5Ccdot27\"\/> \u0434\u043e <math>$inline$2^{31}-1$inline$<\/math>, \u0442\u043e <code>nextInt<\/code> \u0432\u0435\u0440\u043d\u0451\u0442 \u043d\u0435 \u043e\u0441\u0442\u0430\u0442\u043e\u043a \u043e\u0442 \u0435\u0433\u043e \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0430 27, \u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0431\u0440\u043e\u0441\u043a\u0430 \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0443\u0436\u043d\u0443\u044e \u043d\u0430\u043c \u0432\u043e\u0441\u044c\u043c\u0451\u0440\u043a\u0443! \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043a\u0440\u043e\u043c\u0435 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430 <img decoding=\"async\" src=\"https:\/\/latex.codecogs.com\/png.latex?%5Csmall%5Cdpi%7B121%7D%5Ctextstyle%20n%5Cin%5C%7B0%2C%5Cldots%2C%5Cleft%5Clfloor%5Cfrac%7B2%5E%7B31%7D-1%7D%7B27%7D%5Cright%5Crfloor-1%5C%7D%2C%5C%20h%5Cin%5C%7B0%2C%5Cldots%2C2%5E%7B17%7D-1%5C%7D\"\/> \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0435\u0449\u0451 \u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 <img decoding=\"async\" src=\"https:\/\/latex.codecogs.com\/png.latex?%5Csmall%5Cdpi%7B121%7D%5Ctextstyle%20seed_1%5Ccdot25214903917%20&amp;plus;%2011%5Cequiv_%7B2%5E%7B48%7D%7Dx%5Ccdot2%5E%7B17%7D&amp;plus;h%2C%5C%20x%5Cin%5C%7B%5Cleft%5Clfloor%5Cfrac%7B2%5E%7B31%7D-1%7D%7B27%7D%5Cright%5Crfloor%5Ccdot27%2C%5Cldots%2C2%5E%7B31%7D-1%5C%7D\"\/>. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0442\u0430\u043a\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u043e\u043b\u0443\u0442\u043e\u0440\u0430 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432, \u0438 \u0432\u0441\u0435 \u043e\u043d\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u0437\u0430 \u0434\u043e\u043b\u044e \u0441\u0435\u043a\u0443\u043d\u0434\u044b.<\/p>\n<p>  \u041d\u043e 43 \u0447\u0430\u0441\u0430 \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u2014 \u044d\u0442\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0434\u043e\u043b\u0433\u043e. \u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u0435\u0433\u043e \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0435\u0449\u0451 \u0441\u0438\u043b\u044c\u043d\u0435\u0435? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043f\u0440\u0438 \u043a\u0430\u043a\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0435\u0442 \u043d\u0443\u0436\u043d\u0430\u044f \u043d\u0430\u043c \u00aba\u00bb:  <\/p>\n<p><math>$$display$$\\begin{eqnarray} nextInt(27)&#038;=&#038;1\\\\ next(31)&#038;\\equiv_{27}&#038;1\\\\ seed_3\\mathbin{\\texttt{&gt;&gt;&gt;}}17 &#038;\\equiv_{27}&#038;1\\\\ ((seed_2\\cdot25214903917+11)\\mathbin{\\%}{2^{48}})\\mathbin{\\texttt{&gt;&gt;&gt;}}17&#038;\\equiv_{2^{27}}&#038;1\\\\ ((((27\\cdot n+8)\\cdot2^{17}+h)\\cdot25214903917+11)\\mathbin{\\%}{2^{48}})\\mathbin{\\texttt{&gt;&gt;&gt;}}17&#038;\\equiv_{2^{27}}&#038;1\\\\ ((27\\cdot2^{17}\\cdot25214903917\\cdot n+25214903917\\cdot h+\\qquad\\qquad\\quad&#038;\\\\+\\;8\\cdot2^{17}\\cdot25214903917+11)\\mathbin{\\texttt{&gt;&gt;&gt;}}17)\\mathbin{\\%}{2^{31}}&#038;\\equiv_{2^{27}}&#038;1 \\end{eqnarray}$$display$$<\/math><\/p>\n<p>  \u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u043b\u0435\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c, \u043f\u043e\u0434\u0435\u043b\u0438\u0432 \u0441\u0443\u043c\u043c\u0443 \u043f\u043e\u0447\u043b\u0435\u043d\u043d\u043e \u043d\u0430 <math>$inline$2^{17}$inline$<\/math>, \u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u043e\u0448\u0438\u0431\u043a\u0435, \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <math>$inline$n$inline$<\/math> \u0438 <math>$inline$h$inline$<\/math> \u0432 \u0441\u0443\u043c\u043c\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0438\u0437 16-\u0442\u043e\u0433\u043e \u0431\u0438\u0442\u0430 \u0432 17-\u0442\u044b\u0439. \u0422\u0430\u043a \u0447\u0442\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0438 <a href=\"https:\/\/ideone.com\/zKRYmz\" rel=\"nofollow\">\u0443\u0431\u0435\u0434\u0438\u0432\u0448\u0438\u0441\u044c<\/a> \u0432 \u0435\u0433\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0442\u044b\u0441\u044f\u0447\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0449\u0438\u043a\u0435 \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 <code>setSeed<\/code> \u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0435:<\/p>\n<pre><code class=\"java\">long seed2 = ((8 + 27*(seed&gt;&gt;17)) &lt;&lt; 17) | (seed&0x1FFFFL); int seed3 = (int)((seed2 * 0x5DEECE66DL) &gt;&gt;&gt; 17) & 0x7FFFFFFF; if (seed3 % 27 == 1 || seed3 &gt;= 0x7FFFFFF5) {     random.setSeed(((seed2 - 11) * 246154705703781L) ^ 0x5DEECE66DL);     ... } <\/code><\/pre>\n<p>  (\u0421\u043b\u0443\u0447\u0430\u0439 <code>seed3 &gt;= 0x7FFFFFF5<\/code> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u0431\u0440\u043e\u0441\u0443 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0432\u044b\u0437\u043e\u0432\u0435 <code>nextInt<\/code>.) \u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u0434\u043e 150 \u043c\u043b\u043d \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0438 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c \u0437\u0430 \u0434\u0435\u043d\u044c. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <code>seed<\/code>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0431\u0443\u043a\u0432, \u043d\u0430\u0448\u043b\u043e\u0441\u044c \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445.<\/p>\n<p>  P.S.: \u041a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0432 \u043c\u043e\u0451\u043c Chrome \u0432 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u0445, \u043e\u0442\u0440\u0435\u043d\u0434\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u0445\u0430\u0431\u0440\u043e\u043c \u0432 SVG, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 \u043c\u043e\u0433\u0443\u0442 \u00ab\u043f\u0440\u043e\u0433\u043b\u0430\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f\u00bb \u043c\u0438\u043d\u0443\u0441\u044b. \u0421\u0440\u0430\u0432\u043d\u0438\u0442\u0435: \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0441\u043b\u0435\u0432\u0430 \u043e\u0442\u0440\u0435\u043d\u0434\u0435\u0440\u0435\u043d\u0430 \u0445\u0430\u0431\u0440\u043e\u043c, \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 <a href=\"https:\/\/www.codecogs.com\/latex\/eqneditor.php\" rel=\"nofollow\">www.codecogs.com\/latex\/eqneditor.php<\/a>:<br \/>  <math>$inline$n\\in\\{0,\\ldots,\\left\\lfloor\\frac{2^{31}-1}{27}\\right\\rfloor-1\\},\\ $inline$<\/math> <img decoding=\"async\" src=\"https:\/\/latex.codecogs.com\/png.latex?%5Csmall%5Cdpi%7B121%7D%5Ctextstyle%20n%5Cin%5C%7B0%2C%5Cldots%2C%5Cleft%5Clfloor%5Cfrac%7B2%5E%7B31%7D-1%7D%7B27%7D%5Cright%5Crfloor-1%5C%7D\"\/><\/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\/533762\/\"> https:\/\/habr.com\/ru\/post\/533762\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0443\u044e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0445 \u0431\u0443\u043a\u0432, \u0442\u0430\u043a \u0432\u0435\u0434\u044c?<\/p>\n<pre><code class=\"java\">import java.util.Random;  class WTF {     public static void main(String[] args) {         Random r = new Random(76880392499L&lt;&lt;11);         String alphabet = &quot; abcdefghijklmnopqrstuvwxyz&quot;;         int n;         while ((n = r.nextInt(alphabet.length())) &gt; 0)         \tSystem.out.print(alphabet.charAt(n));     } } <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u0435\u0442\u0435 <a href=\"https:\/\/ideone.com\/zlY6EI\" rel=\"nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a>; \u0432\u044b\u0432\u043e\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c. \u041a\u0430\u043a \u0436\u0435 \u0442\u0430\u043a \u0432\u044b\u0448\u043b\u043e?<\/p>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e: \u043a\u0430\u043a\u043e\u0439 \u0448\u0430\u043d\u0441, \u0447\u0442\u043e \u0438\u0437 \u0432\u0441\u0435\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0445 \u0431\u0443\u043a\u0432 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0430? \u0421\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e 10 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u043a\u0430\u0436\u0434\u043e\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u043b\u043e\u0441\u044c \u0438\u0437 27 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u0441\u0435\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0431\u044b\u043b\u043e <math>$inline$27^{10} \\approx 2.06\\cdot10^{14}$inline$<\/math>. \u0415\u0441\u043b\u0438 \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b, \u0442\u043e \u043d\u0430\u043c \u0432\u044b\u043f\u0430\u043b \u043e\u0434\u0438\u043d \u0448\u0430\u043d\u0441 \u0438\u0437 \u0434\u0432\u0443\u0445\u0441\u0442\u0430 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432! \u0423\u0445!<\/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-315312","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315312","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=315312"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315312\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=315312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=315312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}