{"id":2811,"date":"2026-10-14T14:13:31","date_gmt":"2026-10-14T11:13:31","guid":{"rendered":"http:\/\/test.school89.net\/?p=2811"},"modified":"2026-10-14T14:13:32","modified_gmt":"2026-10-14T11:13:32","slug":"21261","status":"publish","type":"post","link":"http:\/\/test.school89.net\/?p=2811","title":{"rendered":"21261"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">(\u041e. \u041b\u044b\u0441\u0435\u043d\u043a\u043e\u0432) \u041d\u0430 \u0432\u0445\u043e\u0434 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043f\u043e\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e N. \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441\u0442\u0440\u043e\u0438\u0442 \u043f\u043e \u043d\u0435\u043c\u0443 \u043d\u043e\u0432\u043e\u0435 \u0447\u0438\u0441\u043b\u043e R \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<br><br>1. \u0421\u0442\u0440\u043e\u0438\u0442\u0441\u044f \u0447\u0435\u0442\u0432\u0435\u0440\u0438\u0447\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0447\u0438\u0441\u043b\u0430 N.<br><br>2. \u0414\u0430\u043b\u0435\u0435 \u044d\u0442\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u043f\u0440\u0430\u0432\u0438\u043b\u0443:<br><br>\u0430) \u0435\u0441\u043b\u0438 \u0441\u0443\u043c\u043c\u0430 \u0446\u0438\u0444\u0440 \u0447\u0435\u0442\u0432\u0435\u0440\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043a\u0440\u0430\u0442\u043d\u0430 3, \u0442\u043e  \u0432\u0441\u0435 \u043d\u0443\u043b\u0438 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 2, \u0430 \u0432\u0441\u0435 2 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u043d\u0443\u043b\u0438, \u043f\u043e\u0441\u043b\u0435 \u043a \u0447\u0438\u0441\u043b\u0443 \u043f\u0440\u0438\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f 32 \u0441\u043b\u0435\u0432\u0430;<br><br>\u0431) \u0435\u0441\u043b\u0438 \u0441\u0443\u043c\u043c\u0430 \u0446\u0438\u0444\u0440 \u0447\u0435\u0442\u0432\u0435\u0440\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0435 \u043a\u0440\u0430\u0442\u043d\u0430 3, \u0442\u043e \u043a \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u043f\u0440\u0430\u0432\u0430 \u043f\u0440\u0438\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f 33, \u043f\u043e\u0441\u043b\u0435 \u0432\u0442\u043e\u0440\u043e\u0439 \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u0440\u0430\u0437\u0440\u044f\u0434, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430  1 \u0438 0 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0440\u0430\u0437\u0440\u044f\u0434\u044b \u043d\u0443\u043c\u0435\u0440\u0443\u044e\u0442\u0441\u044f \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 1.<br><br>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0430\u044f \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0442\u0432\u0435\u0440\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0438\u0441\u043a\u043e\u043c\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 R. <br><br>\u0423\u043a\u0430\u0436\u0438\u0442\u0435  \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e N, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u0447\u0438\u0441\u043b\u043e R, \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u044e\u0449\u0435\u0435 320.<br><br>\u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u044d\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0437\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0441\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f.<br><br>for n in range(1,10000):<br>    N=n<br>    <em># \u043f\u0443\u043d\u043a\u0442 1<br><\/em> <em>  <\/em> ishod_n = n<br>    rezultat = ''<br>    while n > 0:<br>      ostatok = n % 4<br>      rezultat = str(ostatok) + rezultat<br>      n = n \/\/ 4<br>    <em># print('\u0427\u0438\u0441\u043b\u043e', ishod_n, '\u0432 \u0447\u0435\u0442\u0432\u0435\u0440\u0438\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0440\u0430\u0432\u043d\u043e:', rezultat)<br><br><\/em> <em>  <\/em> sum_cifr=0<br>    for i in range(0,len(rezultat)):<br>      sum_cifr+= int(rezultat[i])<br>    <em># print(sum_cifr)<br><\/em> <em>   # \u0448\u0430\u0433 \u0410<br><\/em> <em>  <\/em> if sum_cifr % 3 == 3:<br>        a=rezultat.replace(\"0\",\"x\")<br>        b=a.replace(\"2\",\"0\")<br>        rezultat=b.replace(\"x\",\"2\")<br>        rezultat=\"32\"+rezultat<br>        <em># print(rezultat)<br><\/em> <em>  <\/em> else:<br>        <em># \u0448\u0430\u0433 \u0411<br><\/em> <em>      <\/em> rezultat= rezultat[0] + \"10\" + rezultat[3::] + \"33\"<br>        <em># print(rezultat)<br><\/em> <em>  <\/em> r=int(rezultat,4)<br>    if r==335:<br>        print(N,r)<br><br><br><br><br><br><br><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>(\u041e. \u041b\u044b\u0441\u0435\u043d\u043a\u043e\u0432) \u041d\u0430 \u0432\u0445\u043e\u0434 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043f\u043e\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e N. \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441\u0442\u0440\u043e\u0438\u0442 \u043f\u043e \u043d\u0435\u043c\u0443 \u043d\u043e\u0432\u043e\u0435 \u0447\u0438\u0441\u043b\u043e R \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.1. \u0421\u0442\u0440\u043e\u0438\u0442\u0441\u044f \u0447\u0435\u0442\u0432\u0435\u0440\u0438\u0447\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0447\u0438\u0441\u043b\u0430 N.2. \u0414\u0430\u043b\u0435\u0435 \u044d\u0442\u0430 &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-2811","post","type-post","status-publish","format-standard","hentry","category-10a"],"_links":{"self":[{"href":"http:\/\/test.school89.net\/index.php?rest_route=\/wp\/v2\/posts\/2811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/test.school89.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/test.school89.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/test.school89.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/test.school89.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2811"}],"version-history":[{"count":1,"href":"http:\/\/test.school89.net\/index.php?rest_route=\/wp\/v2\/posts\/2811\/revisions"}],"predecessor-version":[{"id":2812,"href":"http:\/\/test.school89.net\/index.php?rest_route=\/wp\/v2\/posts\/2811\/revisions\/2812"}],"wp:attachment":[{"href":"http:\/\/test.school89.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/test.school89.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2811"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/test.school89.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}