<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90056</guid>
        <pubDate>Tue, 16 Sep 2003 17:56:22 +0000</pubDate>
        <title>Задача в одно действие??</title>
        <link>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90056</link>
        <description><![CDATA[zx1024: Пишу ответ.<br>( 4^([log(3n-2)]) + 2 ) / 3<br>^ - возведение в степень,<br>log берётся по основанию 4,<br>[] - целая часть, ну и ответ должен быть, естественно, целым.]]></description>
        <author>zx1024</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90055</guid>
        <pubDate>Sun, 14 Sep 2003 09:50:03 +0000</pubDate>
        <title>Задача в одно действие??</title>
        <link>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90055</link>
        <description><![CDATA[MBo: (1 shl (2n-2) &nbsp;+ 2 ) div 3]]></description>
        <author>MBo</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90054</guid>
        <pubDate>Sun, 14 Sep 2003 04:10:14 +0000</pubDate>
        <title>Задача в одно действие??</title>
        <link>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90054</link>
        <description><![CDATA[zx1024: Для числа n находится ближайшее снизу число из ряда<br>1, 2, 6, 22, 86, 342, 1366, 5462, и т.д.<br>Формула для чисел ряда.<br>X(i+1) = X(i) + 2^(2i-2), &nbsp;x(1) = 1.<br>или<br>1 + сумма<sub class='tag-sub'>i&gt;1</sub> (2<sup class='tag-sup'>2i-4</sup>)]]></description>
        <author>zx1024</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90053</guid>
        <pubDate>Sat, 13 Sep 2003 15:45:00 +0000</pubDate>
        <title>Задача в одно действие??</title>
        <link>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90053</link>
        <description><![CDATA[Serega_f1: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>GrAnd, 13.09.03, 09:03:34</span><div class='quote '>Всегда останется число  6, при n&gt;=6</div></div><br> ??? ??? ???<br> как так &nbsp;???<br> кол-во чисел за каждый шаг уменьшается вдвое<br> поэтому, если чисел много, то: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1 2 3 4 5 6 ...<br> на 1-м шаге убираются 1,3 и 5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 4 6 ...<br> на 2-м шаге 4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 6 ...<br> на 3-м шаге 2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6 ...<br> на 4-м шаге что-то за 6-кой &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6 ...<br> на 5-м ... э-э ... куда ей деваться ???<br>]]></description>
        <author>Serega_f1</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90052</guid>
        <pubDate>Sat, 13 Sep 2003 05:03:34 +0000</pubDate>
        <title>Задача в одно действие??</title>
        <link>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90052</link>
        <description><![CDATA[GrAnd: Всегда останется число &nbsp;6, при n&gt;=6<br>И число 2, при n&lt;6<br>Доказательство есть в любой книге по занимательной математике...]]></description>
        <author>GrAnd</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90051</guid>
        <pubDate>Fri, 12 Sep 2003 13:34:10 +0000</pubDate>
        <title>Задача в одно действие??</title>
        <link>https://forum.sources.ru/index.php?showtopic=9167&amp;view=findpost&amp;p=90051</link>
        <description><![CDATA[NorD: Помогите решить такую задачу.<br>Дан ряд натуральных чисел от 1 до n [1:n]. сначала &quot;зачеркиваются&quot; элементы стоящие на нечетных местах, затем из оставшегося ряда зачеркиаются элементы стоящие на четных местах, и так повторяется пока не останется одно число. Как узнать это число не выполняя этих действий? (сказали что это в одно или в два действия (формула) ).<br> ???<br>Если кто знает как решать или где достать решение отclickнитесь.]]></description>
        <author>NorD</author>
        <category>Алгоритмы</category>
      </item>
	
      </channel>
      </rss>
	