<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The polymath blog &#187; finding primes</title>
	<atom:link href="http://polymathprojects.org/category/finding-primes/feed/" rel="self" type="application/rss+xml" />
	<link>http://polymathprojects.org</link>
	<description>Massively collaborative mathematical projects</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:36:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='polymathprojects.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a4c2287293dfa76bb5608d416529a0d6?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>The polymath blog &#187; finding primes</title>
		<link>http://polymathprojects.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://polymathprojects.org/osd.xml" title="The polymath blog" />
	<atom:link rel='hub' href='http://polymathprojects.org/?pushpress=hub'/>
		<item>
		<title>Polymath4: Referee report obtained</title>
		<link>http://polymathprojects.org/2011/02/14/polymath4-referee-report-obtained/</link>
		<comments>http://polymathprojects.org/2011/02/14/polymath4-referee-report-obtained/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 11:34:26 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[finding primes]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=223</guid>
		<description><![CDATA[An update on the status of the Polymath4 paper on finding primes.  I&#8217;ve received a referee report from Mathematics of Computation on the submission, which can be found here.   The referee liked the result but wanted a fair number of expository changes before he or she was willing to recommend acceptance, so the editor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=223&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An update on the status of the Polymath4 paper on finding primes.  I&#8217;ve received a referee report from Mathematics of Computation on the submission, which can be found <a href="http://terrytao.files.wordpress.com/2011/02/report1c.pdf">here</a>.   The referee liked the result but wanted a fair number of expository changes before he or she was willing to recommend acceptance, so the editor has asked for a revision.  I will be happy to make the relevant changes, but if there are any other changes that other participants would like to make, now would be a good time to suggest them.  (The most recent version of the paper can be found at the <a href="https://svnbackup.xp-dev.com/svn/Finding_primes/">Subversion repository</a> or at <a href="http://terrytao.files.wordpress.com/2011/02/polymath.pdf">this link</a>; see also the <a href="http://arxiv.org/abs/1009.3956">arXiv version</a>.)</p>
<p>One change requested is to add a list of participants to the project.  In analogy with what we did for Polymath1, I therefore started a &#8220;signup sheet&#8221; on the wiki at</p>
<p><a href="http://michaelnielsen.org/polymath1/index.php?title=Polymath4_grant_acknowledgments">http://michaelnielsen.org/polymath1/index.php?title=Polymath4_grant_acknowledgments</a></p>
<p>for people to self-report their participation, contact information, and grant information for the project.    There is the usual problem of trying to decide who is a &#8220;main participant&#8221; of the project, and who is a &#8220;contributor&#8221; (though I think I can safely add Ernie, Harald, and myself as participants); as with Polymath1, I will leave it to each of you to self-report what level of participation you feel is appropriate.</p>
<br />Filed under: <a href='http://polymathprojects.org/category/finding-primes/'>finding primes</a>, <a href='http://polymathprojects.org/category/news/'>news</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=223&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2011/02/14/polymath4-referee-report-obtained/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>Draft version of polymath4 paper</title>
		<link>http://polymathprojects.org/2010/06/29/draft-version-of-polymath4-paper/</link>
		<comments>http://polymathprojects.org/2010/06/29/draft-version-of-polymath4-paper/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 20:36:09 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[discussion]]></category>
		<category><![CDATA[finding primes]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=167</guid>
		<description><![CDATA[I&#8217;ve written up a draft version of a short paper giving the results we already have in the finding primes project.  The source files for the paper can be found here. The paper is focused on what I think is our best partial result, namely that the prime counting polynomial has a circuit complexity of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=167&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written up a <a href="http://polymathprojects.files.wordpress.com/2010/07/polymath.pdf">draft version of a short paper</a> giving the results we already have in the <a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">finding primes project</a>.  The source files for the paper can <a href="http://www2.xp-dev.com/sc/browse/86755/">be found here</a>.</p>
<p>The paper is focused on what I think is our best partial result, namely that the prime counting polynomial <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Ba+%3C+p+%3C+b%7D+t%5Ep+%5Chbox%7B+mod+%7D+2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sum_{a &lt; p &lt; b} t^p &#92;hbox{ mod } 2' title='&#92;sum_{a &lt; p &lt; b} t^p &#92;hbox{ mod } 2' class='latex' /> has a circuit complexity of <img src='http://s0.wp.com/latex.php?latex=O%28x%5E%7B1%2F2-c%2Bo%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(x^{1/2-c+o(1)})' title='O(x^{1/2-c+o(1)})' class='latex' /> for some absolute constant <img src='http://s0.wp.com/latex.php?latex=c%3E0&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='c&gt;0' title='c&gt;0' class='latex' /> whenever <img src='http://s0.wp.com/latex.php?latex=1+%3C+a+%3C+b+%3C+x&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='1 &lt; a &lt; b &lt; x' title='1 &lt; a &lt; b &lt; x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=b-a+%3C+x%5E%7B1%2F2%2Bc%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='b-a &lt; x^{1/2+c}' title='b-a &lt; x^{1/2+c}' class='latex' />.  As a corollary, we can compute the parity of the number of primes in the interval <img src='http://s0.wp.com/latex.php?latex=%5Ba%2Cb%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[a,b]' title='[a,b]' class='latex' /> in time <img src='http://s0.wp.com/latex.php?latex=O%28x%5E%7B1%2F2-c%2Bo%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(x^{1/2-c+o(1)})' title='O(x^{1/2-c+o(1)})' class='latex' />.</p>
<p>I&#8217;d be interested in hearing the other participants opinions about where to go next.  Ernie has suggested that experimenting with variants of the algorithm could make a good REU project, in which case we might try to wrap up the project with the partial result and pass the torch on.</p>
<br />Filed under: <a href='http://polymathprojects.org/category/discussion/'>discussion</a>, <a href='http://polymathprojects.org/category/finding-primes/'>finding primes</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=167&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2010/06/29/draft-version-of-polymath4-paper/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>(Research thread V) Determinstic way to find primes</title>
		<link>http://polymathprojects.org/2009/10/27/research-thread-v-determinstic-way-to-find-primes/</link>
		<comments>http://polymathprojects.org/2009/10/27/research-thread-v-determinstic-way-to-find-primes/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 22:25:36 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[finding primes]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=130</guid>
		<description><![CDATA[It&#8217;s probably time to refresh the previous thread for the &#8220;finding primes&#8221; project, and to summarise the current state of affairs. The current goal is to find a deterministic way to locate a prime in an interval in time that breaks the &#8220;square root barrier&#8221; of (or more precisely, ).  Currently, we have two ways [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=130&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s probably time to refresh the <a href="http://polymathprojects.org/2009/08/28/research-thread-iv-determinstic-way-to-find-primes/">previous thread</a> for the &#8220;<a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">finding primes</a>&#8221; project, and to summarise the current state of affairs.</p>
<p>The current goal is to find a deterministic way to locate a prime in an interval <img src='http://s0.wp.com/latex.php?latex=%5Bz%2C2z%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[z,2z]' title='[z,2z]' class='latex' /> in time that breaks the &#8220;square root barrier&#8221; of <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%28z%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sqrt(z)' title='&#92;sqrt(z)' class='latex' /> (or more precisely, <img src='http://s0.wp.com/latex.php?latex=z%5E%7B1%2F2%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{1/2+o(1)}' title='z^{1/2+o(1)}' class='latex' />).  Currently, we have two ways to reach that barrier:</p>
<ol>
<li>Assuming the Riemann hypothesis, the largest prime gap in <img src='http://s0.wp.com/latex.php?latex=%5Bz%2C2z%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[z,2z]' title='[z,2z]' class='latex' /> is of size <img src='http://s0.wp.com/latex.php?latex=z%5E%7B1%2F2%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{1/2+o(1)}' title='z^{1/2+o(1)}' class='latex' />.  So one can simply test consecutive numbers for primality until one gets a hit (using, say, the AKS algorithm, any number of size z can be tested for primality in time <img src='http://s0.wp.com/latex.php?latex=z%5E%7Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{o(1)}' title='z^{o(1)}' class='latex' />.</li>
<li>The second method is <a href="http://michaelnielsen.org/polymath1/index.php?title=Odlyzko%27s_method">due to Odlyzko</a>, and does not require the Riemann hypothesis.  There is a contour integration formula that allows one to write the prime counting function <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28z%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(z)' title='&#92;pi(z)' class='latex' /> up to error <img src='http://s0.wp.com/latex.php?latex=z%5E%7B1%2Bo%281%29%7D%2FT&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{1+o(1)}/T' title='z^{1+o(1)}/T' class='latex' /> in terms of an integral involving the Riemann zeta function over an interval of length <img src='http://s0.wp.com/latex.php?latex=O%28T%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(T)' title='O(T)' class='latex' />, for any <img src='http://s0.wp.com/latex.php?latex=1+%5Cleq+T+%5Cleq+z&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='1 &#92;leq T &#92;leq z' title='1 &#92;leq T &#92;leq z' class='latex' />.  The latter integral can be computed to the required accuracy in time about <img src='http://s0.wp.com/latex.php?latex=z%5E%7Bo%281%29%7D+T&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{o(1)} T' title='z^{o(1)} T' class='latex' />.  With this and a binary search it is not difficult to locate an interval of width <img src='http://s0.wp.com/latex.php?latex=z%5E%7B1%2Bo%281%29%7D%2FT&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{1+o(1)}/T' title='z^{1+o(1)}/T' class='latex' /> that is guaranteed to contain a prime in time <img src='http://s0.wp.com/latex.php?latex=z%5E%7Bo%281%29%7D+T&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{o(1)} T' title='z^{o(1)} T' class='latex' />.  Optimising by choosing <img src='http://s0.wp.com/latex.php?latex=T+%3D+z%5E%7B1%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='T = z^{1/2}' title='T = z^{1/2}' class='latex' /> and using a sieve (or by testing the elements for primality one by one), one can then locate that prime in time <img src='http://s0.wp.com/latex.php?latex=z%5E%7B1%2F2%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{1/2+o(1)}' title='z^{1/2+o(1)}' class='latex' />.</li>
</ol>
<p>Currently we have one promising approach to break the square root barrier, based on the polynomial method, but while individual components of this approach fall underneath the square root barrier, we have not yet been able to get the whole thing below (or even matching) the square root.  I will sketch the approach (as far as I understand it) below; right now we are needing some shortcuts (e.g. FFT, fast matrix multiplication, that sort of thing) that can cut the run time further.</p>
<p><span id="more-130"></span></p>
<p style="text-align:center;">&#8211; The polynomial method &#8211;</p>
<p>The polynomial method begins with the following observation: in order to quickly find a prime in <img src='http://s0.wp.com/latex.php?latex=%5Bz%2C2z%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[z,2z]' title='[z,2z]' class='latex' />, it suffices to be able to quickly solve the <em>prime decision problem</em>: given a subinterval <img src='http://s0.wp.com/latex.php?latex=%5Ba%2Cb%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[a,b]' title='[a,b]' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=%5Bz%2C2z%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[z,2z]' title='[z,2z]' class='latex' />, decide whether such an interval contains a prime or not.  If one can solve this problem in, say, <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.499%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.499+o(1)}' title='z^{0.499+o(1)}' class='latex' /> time, then one can find a prime in this time also by binary search.</p>
<p>Actually, using Odlyzko&#8217;s method we can already narrow down to an interval of length <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.501%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.501+o(1)}' title='z^{0.501+o(1)}' class='latex' /> with a lot of primes in it in <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.499%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.499+o(1)}' title='z^{0.499+o(1)}' class='latex' /> time, so we only need to break the square root barrier for the decision problem for intervals <img src='http://s0.wp.com/latex.php?latex=%5Ba%2Cb%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[a,b]' title='[a,b]' class='latex' /> of length <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.501%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.501+o(1)}' title='z^{0.501+o(1)}' class='latex' /> or less.</p>
<p>The decision problem is equivalent to determining whether the <em>prime polynomial</em></p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3A%3D+%5Csum_%7Ba+%5Cleq+p+%5Cleq+b%7D+x%5Ep&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='f(x) := &#92;sum_{a &#92;leq p &#92;leq b} x^p' title='f(x) := &#92;sum_{a &#92;leq p &#92;leq b} x^p' class='latex' /> (1)</p>
<p>is non-trivial or not, where <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p' title='p' class='latex' /> ranges over primes in the interval <img src='http://s0.wp.com/latex.php?latex=%5Ba%2Cb%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[a,b]' title='[a,b]' class='latex' />.</p>
<p>Now, the prime polynomial, as it stands, has a high complexity; the only obvious way to compute it is to enumerate all the primes from <img src='http://s0.wp.com/latex.php?latex=a&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='a' title='a' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=b&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='b' title='b' class='latex' />, which could take <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.501%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.501+o(1)}' title='z^{0.501+o(1)}' class='latex' /> time in the worst case.  But we can improve matters by working modulo 2; note that as the coefficients of <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='f' title='f' class='latex' /> are either 1 or 0, it suffices to decide whether <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='f' title='f' class='latex' /> is non-trivial modulo 2.</p>
<p>The reason we do this is the observation that if <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n' title='n' class='latex' /> is a natural number, then the number of solutions to the diophantine equation <img src='http://s0.wp.com/latex.php?latex=n%3Dlm&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n=lm' title='n=lm' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=1+%5Cleq+l+%3C+m&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='1 &#92;leq l &lt; m' title='1 &#92;leq l &lt; m' class='latex' /> is odd when n is prime, and usually even when n is composite.  (There are some rare exceptions to this latter fact, when n contains square factors, but it seems likely that one can deal with these latter cases by Möbius inversion, exploiting the convergence of the sum <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Bd%3D1%7D%5E%5Cinfty+%5Cfrac%7B1%7D%7Bd%5E2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sum_{d=1}^&#92;infty &#92;frac{1}{d^2}' title='&#92;sum_{d=1}^&#92;infty &#92;frac{1}{d^2}' class='latex' />.)  So, the prime polynomial f modulo 2 is morally equal to the variant polynomial</p>
<p style="text-align:center;"><img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%29+%3A%3D+%5Csum_%7B1+%5Cleq+l+%3C+m%3A+a+%5Cleq+lm+%5Cleq+b%7D+x%5E%7Blm%7D.&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x) := &#92;sum_{1 &#92;leq l &lt; m: a &#92;leq lm &#92;leq b} x^{lm}.' title='&#92;tilde f(x) := &#92;sum_{1 &#92;leq l &lt; m: a &#92;leq lm &#92;leq b} x^{lm}.' class='latex' />  (2)</p>
<p>So a toy problem would be to decide whether (2) was non-zero modulo 2 or not in time <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.499%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.499+o(1)}' title='z^{0.499+o(1)}' class='latex' /> or better.</p>
<p>The reason that (2) is more appealing than (1) is that the primes have disappeared from the problem.  Instead, one is computing a sum over a fairly simple region <img src='http://s0.wp.com/latex.php?latex=%5COmega+%3A%3D+%5C%7B+%28l%2Cm%29%3A+1+%5Cleq+l+%3C+m%2C+a+%5Cleq+lm+%5Cleq+b+%5C%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega := &#92;{ (l,m): 1 &#92;leq l &lt; m, a &#92;leq lm &#92;leq b &#92;}' title='&#92;Omega := &#92;{ (l,m): 1 &#92;leq l &lt; m, a &#92;leq lm &#92;leq b &#92;}' class='latex' /> bounded by two hyperbolae and two lines.</p>
<p>The point is now this: if <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x)' title='&#92;tilde f(x)' class='latex' /> vanishes modulo 2, then it also vanishes modulo <img src='http://s0.wp.com/latex.php?latex=%282%2Cg%28x%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(2,g(x))' title='(2,g(x))' class='latex' /> for any low-degree polynomial g (degree <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.01%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.01+o(1)}' title='z^{0.01+o(1)}' class='latex' /> or better), and more generally $\tilde f(x^n)$ vanishes modulo <img src='http://s0.wp.com/latex.php?latex=%282%2Cg%28x%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(2,g(x))' title='(2,g(x))' class='latex' />.  Conversely (if one is lucky), if <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%5En%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x^n)' title='&#92;tilde f(x^n)' class='latex' /> vanishes modulo <img src='http://s0.wp.com/latex.php?latex=%282%2Cg%28x%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(2,g(x))' title='(2,g(x))' class='latex' /> for sufficiently many <img src='http://s0.wp.com/latex.php?latex=n%2C+g&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n, g' title='n, g' class='latex' />, then it should be that <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f' title='&#92;tilde f' class='latex' /> vanishes.  So this leads to the following strategy:</p>
<ul>
<li><strong>Goal 1:</strong> Find a collection of <img src='http://s0.wp.com/latex.php?latex=n%2Cg&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n,g' title='n,g' class='latex' /> such that if <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%5En%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x^n)' title='&#92;tilde f(x^n)' class='latex' /> vanishes modulo <img src='http://s0.wp.com/latex.php?latex=%282%2Cg%28x%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(2,g(x))' title='(2,g(x))' class='latex' /> for all the pairs <img src='http://s0.wp.com/latex.php?latex=n%2Cg&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n,g' title='n,g' class='latex' />, then <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f' title='&#92;tilde f' class='latex' /> vanishes modulo 2.</li>
<li><strong>Goal 2:</strong> Find a way to decide whether <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%5En%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x^n)' title='&#92;tilde f(x^n)' class='latex' /> vanishes modulo <img src='http://s0.wp.com/latex.php?latex=%282%2Cg%28x%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(2,g(x))' title='(2,g(x))' class='latex' /> for all the required <img src='http://s0.wp.com/latex.php?latex=n%2Cg&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n,g' title='n,g' class='latex' /> in time <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.499%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.499+o(1)}' title='z^{0.499+o(1)}' class='latex' /> or better.</li>
</ul>
<p>One way to achieve Goal 1 is to forget about <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n' title='n' class='latex' />, and choose the <img src='http://s0.wp.com/latex.php?latex=g&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='g' title='g' class='latex' /> so that the least common multiple of all the <img src='http://s0.wp.com/latex.php?latex=g&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='g' title='g' class='latex' /> (modulo 2) cannot divide <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f' title='&#92;tilde f' class='latex' />.  Since <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f' title='&#92;tilde f' class='latex' /> is basically a polynomial of degree <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.501%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.501+o(1)}' title='z^{0.501+o(1)}' class='latex' /> shifted by a monomial, one obvious way to proceed would be to pick more than <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.501%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.501+o(1)}' title='z^{0.501+o(1)}' class='latex' /> polynomials g.  But then it looks unlikely that one can beat the square root barrier in Goal 2.  Similarly if one varies n as well as g.</p>
<p>On the other hand, we have a partial result in Goal 2: for any <em>fixed</em> n and g, we can compute <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%5En%29+%5Chbox%7B+mod+%7D+%282%2C+g%28x%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x^n) &#92;hbox{ mod } (2, g(x))' title='&#92;tilde f(x^n) &#92;hbox{ mod } (2, g(x))' class='latex' /> in time below the square root barrier, e.g. in time <img src='http://s0.wp.com/latex.php?latex=z%5E%7B0.49%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{0.49+o(1)}' title='z^{0.49+o(1)}' class='latex' />.  For instance, setting n=1 and <img src='http://s0.wp.com/latex.php?latex=g%28x%29%3Dx-1&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='g(x)=x-1' title='g(x)=x-1' class='latex' />, we can compute <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%281%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(1)' title='&#92;tilde f(1)' class='latex' /> in this time.  Unfortunately a single n,g is not nearly enough to solve Goal 2 yet, so we either need a further advance on Goal 1, or some very efficient way to test non-vanishing of <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%5En%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x^n)' title='&#92;tilde f(x^n)' class='latex' /> modulo (2,g) for many pairs (n,g) at a time (e.g. by an FFT type approach).</p>
<p>The partial result is based on the fact that <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x)' title='&#92;tilde f(x)' class='latex' /> has an <em>arithmetic circuit complexity</em> below the square root level, i.e. it can be expressed in terms of <img src='http://s0.wp.com/latex.php?latex=O%28z%5E%7B0.48%2Bo%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(z^{0.48+o(1)})' title='O(z^{0.48+o(1)})' class='latex' /> (say) arithmetic operations.  As such, for any low-degree g (say degree <img src='http://s0.wp.com/latex.php?latex=O%28z%5E%7Bo.01%2Bo%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(z^{o.01+o(1)})' title='O(z^{o.01+o(1)})' class='latex' />), <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f%28x%5En%29+%5Cmod+%282%2Cg%28x%29+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f(x^n) &#92;mod (2,g(x) )' title='&#92;tilde f(x^n) &#92;mod (2,g(x) )' class='latex' /> can be computed in <img src='http://s0.wp.com/latex.php?latex=O%28z%5E%7B0.49%2Bo%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(z^{0.49+o(1)})' title='O(z^{0.49+o(1)})' class='latex' /> time (using fast multiplication for mod g arithmetic if necessary).</p>
<p>Let&#8217;s sketch how the circuit complexity result works.  Recall that (2) is a sum over the geometric region <img src='http://s0.wp.com/latex.php?latex=%5COmega&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega' title='&#92;Omega' class='latex' />.  Using the geometric series formula, one can convert this sum over <img src='http://s0.wp.com/latex.php?latex=%5COmega&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega' title='&#92;Omega' class='latex' /> to a sum over what is basically the boundary of <img src='http://s0.wp.com/latex.php?latex=%5COmega&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega' title='&#92;Omega' class='latex' />.  This boundary has <img src='http://s0.wp.com/latex.php?latex=O%28+%5Csqrt%7Bz%7D+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O( &#92;sqrt{z} )' title='O( &#92;sqrt{z} )' class='latex' /> points, so this shows that <img src='http://s0.wp.com/latex.php?latex=%5Ctilde+f&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;tilde f' title='&#92;tilde f' class='latex' /> has an arithmetic circuit complexity of <img src='http://s0.wp.com/latex.php?latex=z%5E%7B1%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='z^{1/2}' title='z^{1/2}' class='latex' /> already.  But one can do better by using the Farey sequence to represent the discrete hyperbolae that bound <img src='http://s0.wp.com/latex.php?latex=%5COmega&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega' title='&#92;Omega' class='latex' /> by line segments.  The sum over each line segment is basically a quadratic sum of the form <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Bn%3Dn_0%7D%5E%7Bn_1%7D+x%5E%7Ba+n%5E2+%2B+bn+%2B+c%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sum_{n=n_0}^{n_1} x^{a n^2 + bn + c}' title='&#92;sum_{n=n_0}^{n_1} x^{a n^2 + bn + c}' class='latex' /> for various coefficients <img src='http://s0.wp.com/latex.php?latex=a%2Cb%2Cc&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='a,b,c' title='a,b,c' class='latex' />.  It seems that one can factorise this sum as a matrix product and use ideas from the Strassen fast multiplication algorithm to give this a slightly better circuit complexity than the crude bound of <img src='http://s0.wp.com/latex.php?latex=O%28+n_1+-+n_0+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O( n_1 - n_0 )' title='O( n_1 - n_0 )' class='latex' />; see <a href="http://people.math.gatech.edu/~ecroot/fast_strassen.pdf">these notes</a>; there may also  be other approaches to computing this quickly (e.g. FFT).</p>
<p>Where we&#8217;re still stuck right now is scaling up this single case of Goal 2 to the more general case we need.  Alternatively, we need to strengthen Goal 1 by cutting down substantially the number of pairs (n,g) we need to test&#8230;</p>
<br />Posted in finding primes, research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=130&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2009/10/27/research-thread-v-determinstic-way-to-find-primes/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>(Research Thread IV) Determinstic way to find primes</title>
		<link>http://polymathprojects.org/2009/08/28/research-thread-iv-determinstic-way-to-find-primes/</link>
		<comments>http://polymathprojects.org/2009/08/28/research-thread-iv-determinstic-way-to-find-primes/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 01:43:46 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[finding primes]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[polymath4]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=115</guid>
		<description><![CDATA[This post will be somewhat abridged due to my traveling schedule. The previous research thread for the &#8220;finding primes&#8221; project is now getting quite full, so I am opening up a fresh thread to continue the project. Currently we are up against the &#8220;square root barrier&#8221;: the fastest time we know of to find a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=115&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post will be somewhat abridged due to my traveling schedule.</p>
<p>The <a href="http://polymathprojects.org/2009/08/13/research-thread-iii-determinstic-way-to-find-primes/">previous research thread</a> for the &#8220;<a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">finding primes</a>&#8221; project is now getting quite full, so I am opening up a fresh thread to continue the project.</p>
<p>Currently we are up against the &#8220;square root barrier&#8221;: the fastest time we know of to find a k-digit prime is about <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7B10%5Ek%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sqrt{10^k}' title='&#92;sqrt{10^k}' class='latex' /> (up to <img src='http://s0.wp.com/latex.php?latex=%5Cexp%28o%28k%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;exp(o(k))' title='&#92;exp(o(k))' class='latex' /> factors), even in the presence of a factoring oracle (though, thanks to a <a href="http://michaelnielsen.org/polymath1/index.php?title=Odlyzko%27s_method">method of Odlyzko</a>, we no longer need the Riemann hypothesis).  We also have a &#8220;<a href="http://michaelnielsen.org/polymath1/index.php?title=Generic_prime">generic prime</a>&#8221; razor that has eliminated (or severely limited) a number of potential approaches.</p>
<p>One promising approach, though, proceeds by transforming the &#8220;finding primes&#8221; problem into a &#8220;counting primes&#8221; problem.  If we can compute prime counting function <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(x)' title='&#92;pi(x)' class='latex' /> in substantially less than <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sqrt{x}' title='&#92;sqrt{x}' class='latex' /> time, then we have beaten the square root barrier.</p>
<p>Currently we have a way to compute the parity (least significant bit) of <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(x)' title='&#92;pi(x)' class='latex' /> in time <img src='http://s0.wp.com/latex.php?latex=x%5E%7B1%2F2%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='x^{1/2+o(1)}' title='x^{1/2+o(1)}' class='latex' />, and there is hope to improve this (especially given the progress on the toy problem of counting square-frees less than x).  There are some variants that also look promising, for instance to work in polynomial extensions of finite fields (in the spirit of the AKS algorithm) and to look at residues of <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(x)' title='&#92;pi(x)' class='latex' /> in other moduli, e.g. <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28x%29+mod+3&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(x) mod 3' title='&#92;pi(x) mod 3' class='latex' />, though currently we can&#8217;t break the <img src='http://s0.wp.com/latex.php?latex=x%5E%7B2%2F3%2Bo%281%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='x^{2/3+o(1)}' title='x^{2/3+o(1)}' class='latex' /> barrier for that particular problem.</p>
<br />Posted in finding primes, research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=115&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2009/08/28/research-thread-iv-determinstic-way-to-find-primes/feed/</wfw:commentRss>
		<slash:comments>67</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>(Research Thread III) Determinstic way to find primes</title>
		<link>http://polymathprojects.org/2009/08/13/research-thread-iii-determinstic-way-to-find-primes/</link>
		<comments>http://polymathprojects.org/2009/08/13/research-thread-iii-determinstic-way-to-find-primes/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 17:10:40 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[finding primes]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[polymath4]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=111</guid>
		<description><![CDATA[This is a continuation of Research Thread II of the &#8220;Finding primes&#8221; polymath project, which is now full.  It seems that we are facing particular difficulty breaching the square root barrier, in particular the following problems remain open: Can we deterministically find a prime of size at least n in time (assuming hypotheses such as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=111&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a continuation of <a href="http://polymathprojects.org/2009/08/09/research-thread-ii-deterministic-way-to-find-primes/">Research Thread II</a> of the &#8220;<a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">Finding primes</a>&#8221; polymath project, which is now full.  It seems that we are facing particular difficulty breaching the square root barrier, in particular the following problems remain open:</p>
<ol>
<li>Can we deterministically find a prime of size at least n in <img src='http://s0.wp.com/latex.php?latex=o%28%5Csqrt%7Bn%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='o(&#92;sqrt{n})' title='o(&#92;sqrt{n})' class='latex' /> time (assuming hypotheses such as RH)?  Assume one has access to a factoring oracle.</li>
<li>Can we deterministically find a prime of size at least n in <img src='http://s0.wp.com/latex.php?latex=O%28n%5E%7B1%2F2%2Bo%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(n^{1/2+o(1)})' title='O(n^{1/2+o(1)})' class='latex' /> time unconditionally (in particular, without RH)? Assume one has access to a factoring oracle.</li>
</ol>
<p>We are still in the process of weighing several competing strategies to solve these and related problems.  Some of these have been effectively eliminated, but we have a number of still viable strategies, which I will attempt to list below.  (The list may be incomplete, and of course totally new strategies may emerge also.  Please feel free to elaborate or extend the above list in the comments.)</p>
<blockquote><p><strong>Strategy A</strong>: Find a short interval [x,x+y] such that <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28x%2By%29+-+%5Cpi%28x%29+%3E+0&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(x+y) - &#92;pi(x) &gt; 0' title='&#92;pi(x+y) - &#92;pi(x) &gt; 0' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%5Cpi%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;pi(x)' title='&#92;pi(x)' class='latex' /> is the number of primes less than x, by using information about the zeroes <img src='http://s0.wp.com/latex.php?latex=%5Crho&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;rho' title='&#92;rho' class='latex' /> of the Riemann zeta function.</p></blockquote>
<p><strong>Comment: </strong>it may help to assume a Siegel zero (or, at the other extreme, to assume RH).</p>
<blockquote><p><strong>Strategy B:</strong> Assume that an interval [n,n+a] consists entirely of u-smooth numbers (i.e. no prime factors greater than u) and somehow arrive at a contradiction.  (To break the square root barrier, we need <img src='http://s0.wp.com/latex.php?latex=a+%3D+o%28%5Csqrt%7Bu%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='a = o(&#92;sqrt{u})' title='a = o(&#92;sqrt{u})' class='latex' />, and to stop the factoring oracle from being ridiculously overpowered, n should be subexponential size in u.)</p></blockquote>
<p><strong>Comment: </strong>in this scenario, we will have n/p close to an integer for many primes between <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7Bu%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sqrt{u}' title='&#92;sqrt{u}' class='latex' /> and u, and n/p far from an integer for all primes larger than u.</p>
<blockquote><p><strong>Strategy C:</strong> Solve the following toy problem: given n and u, what is the distance to the closest integer to n which contains a factor comparable to u (e.g. in [u,2u])?  [Ideally, we want a prime factor here, but even the problem of getting an integer factor is not fully understood yet.]  Beating <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7Bu%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;sqrt{u}' title='&#92;sqrt{u}' class='latex' /> here is analogous to breaking the square root barrier in the primes problem.</p></blockquote>
<p><strong>Comments:</strong></p>
<ol>
<li>The trivial bound is u/2 &#8211; just move to the nearest multiple of u to n.  This bound can be attained for really large n, e.g. <img src='http://s0.wp.com/latex.php?latex=n+%3D%282u%29%21+%2B+u%2F2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n =(2u)! + u/2' title='n =(2u)! + u/2' class='latex' />.  But it seems we can do better for small n.</li>
<li>For <img src='http://s0.wp.com/latex.php?latex=u+%5Cleq+n+%5Cleq+2u&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='u &#92;leq n &#92;leq 2u' title='u &#92;leq n &#92;leq 2u' class='latex' />, one trivially does not have to move at all.</li>
<li>For <img src='http://s0.wp.com/latex.php?latex=2u+%5Cleq+n+%5Cleq+u%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='2u &#92;leq n &#92;leq u^2' title='2u &#92;leq n &#92;leq u^2' class='latex' />, one has an upper bound of <img src='http://s0.wp.com/latex.php?latex=O%28n%2Fu%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(n/u)' title='O(n/u)' class='latex' />, by noting that having a factor comparable to u is equivalent to having a factor comparable to n/u.</li>
<li>For <img src='http://s0.wp.com/latex.php?latex=n+%5Csim+u%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n &#92;sim u^2' title='n &#92;sim u^2' class='latex' />, one has an upper bound of <img src='http://s0.wp.com/latex.php?latex=O%28%5Csqrt%7Bu%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(&#92;sqrt{u})' title='O(&#92;sqrt{u})' class='latex' />, by taking <img src='http://s0.wp.com/latex.php?latex=x%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='x^2' title='x^2' class='latex' /> to be the first square larger than n, <img src='http://s0.wp.com/latex.php?latex=y%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='y^2' title='y^2' class='latex' /> to be the closest square to <img src='http://s0.wp.com/latex.php?latex=x%5E2-n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='x^2-n' title='x^2-n' class='latex' />, and noting that <img src='http://s0.wp.com/latex.php?latex=%28x-y%29%28x%2By%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(x-y)(x+y)' title='(x-y)(x+y)' class='latex' /> has a factor comparable to u and is within <img src='http://s0.wp.com/latex.php?latex=O%28%5Csqrt%7Bu%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(&#92;sqrt{u})' title='O(&#92;sqrt{u})' class='latex' /> of n.  (<a href="http://www.ams.org/mathscinet-getitem?mr=2218342">This paper</a> improves this bound to <img src='http://s0.wp.com/latex.php?latex=O%28u%5E%7B0.4%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(u^{0.4})' title='O(u^{0.4})' class='latex' /> conditional on a strong exponential sum estimate.)</li>
<li>For n=poly(u), it may be possible to take a dynamical systems approach, writing n base u and incrementing or decrementing u and hope for some equidistribution.   Some sort of &#8220;smart&#8221; modification of u may also be effective.</li>
<li>There is a large <a href="http://front.math.ucdavis.edu/0401.5223">paper by Ford</a> devoted to this sort of question.</li>
</ol>
<blockquote><p><strong>Strategy D. </strong> Find special sequences of integers that are known to have special types of prime factors, or are known to have unusually high densities of primes.</p></blockquote>
<p><strong>Comment. </strong>There are only a handful of explicitly computable sparse sequences that are known unconditionally to capture infinitely many primes.</p>
<blockquote><p><strong>Strategy E.</strong> Find efficient deterministic algorithms for finding various types of &#8220;pseudoprimes&#8221; &#8211; numbers which obey some of the properties of being prime, e.g. <img src='http://s0.wp.com/latex.php?latex=2%5E%7Bn-1%7D%3D1+%5Chbox%7B+mod+%7D+n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='2^{n-1}=1 &#92;hbox{ mod } n' title='2^{n-1}=1 &#92;hbox{ mod } n' class='latex' />.  (For this discussion, we will consider primes as a special case of pseudoprimes.)</p></blockquote>
<p><strong>Comment. </strong>For the specific problem of solving <img src='http://s0.wp.com/latex.php?latex=2%5E%7Bn-1%7D%3D1+%5Chbox%7B+mod+%7D+n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='2^{n-1}=1 &#92;hbox{ mod } n' title='2^{n-1}=1 &#92;hbox{ mod } n' class='latex' /> there is an elementary observation that if n obeys this property, then <img src='http://s0.wp.com/latex.php?latex=2%5En-1&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='2^n-1' title='2^n-1' class='latex' /> does also, which solves this particular problem; but this does not indicate how to, for instance, have <img src='http://s0.wp.com/latex.php?latex=2%5E%7Bn-1%7D%3D1+%5Chbox%7B+mod+%7D+n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='2^{n-1}=1 &#92;hbox{ mod } n' title='2^{n-1}=1 &#92;hbox{ mod } n' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=3%5E%7Bn-1%7D%3D1+%5Chbox%7B+mod+%7D+n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='3^{n-1}=1 &#92;hbox{ mod } n' title='3^{n-1}=1 &#92;hbox{ mod } n' class='latex' /> obeyed simultaneously.</p>
<p>As always, oversight of this research thread is conducted at the <a href="http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/">discussion thread</a>, and any references and detailed computations should be placed at the <a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">wiki</a>.</p>
<br />Posted in finding primes, research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=111&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2009/08/13/research-thread-iii-determinstic-way-to-find-primes/feed/</wfw:commentRss>
		<slash:comments>118</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>(Research thread II) Deterministic way to find primes</title>
		<link>http://polymathprojects.org/2009/08/09/research-thread-ii-deterministic-way-to-find-primes/</link>
		<comments>http://polymathprojects.org/2009/08/09/research-thread-ii-deterministic-way-to-find-primes/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 03:57:52 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[finding primes]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[polymath4]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=97</guid>
		<description><![CDATA[This thread marks the formal launch of &#8220;Finding primes&#8221; as the massively collaborative research project Polymath4, and now supersedes the proposal thread for this project as the official &#8220;research&#8221; thread for this project, which has now become rather lengthy. (Simultaneously with this research thread, we also have the discussion thread to oversee the research thread [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=97&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This thread marks the formal launch of &#8220;<a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">Finding primes</a>&#8221; as the massively collaborative research project Polymath4, and now supersedes the <a href="http://polymathprojects.org/2009/07/27/proposal-deterministic-way-to-find-primes/">proposal thread for this project</a> as the official &#8220;research&#8221; thread for this project, which has now become rather lengthy.  (Simultaneously with this research thread, we also have the <a href="http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/">discussion thread</a> to oversee the research thread and to provide a forum for casual participants, and also the <a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">wiki page</a> to store all the settled knowledge and accumulated insights gained from the project to date.)  See also this <a href="http://polymathprojects.org/general-polymath-rules/">list of general polymath rules</a>.</p>
<p>The basic problem we are studying here can be stated in a number of equivalent forms:</p>
<blockquote><p><strong>Problem 1.</strong> (Finding primes) Find a <em>deterministic</em> algorithm which, when given an integer k, is <em>guaranteed</em> to locate a prime of at least k digits in length in as quick a time as possible (ideally, in time polynomial in k, i.e. after <img src='http://s0.wp.com/latex.php?latex=O%28k%5E%7BO%281%29%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(k^{O(1)})' title='O(k^{O(1)})' class='latex' /> steps).</p></blockquote>
<blockquote><p><strong>Problem 2.</strong> (Finding primes, alternate version)  Find a <em>deterministic</em> algorithm which, after running for k steps, is <em>guaranteed</em> to locate as large a prime as possible (ideally, with a polynomial number of digits, i.e. at least <img src='http://s0.wp.com/latex.php?latex=k%5Ec&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='k^c' title='k^c' class='latex' /> digits for some <img src='http://s0.wp.com/latex.php?latex=c%3E0&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='c&gt;0' title='c&gt;0' class='latex' />.)</p></blockquote>
<p>To make the problem easier, we will assume the existence of a <em>primality oracle</em>, which can test whether any given number is prime in O(1) time, as well as a <em>factoring oracle</em>, which will provide all the factors of a given number in O(1) time.  (Note that the latter supersedes the former.)  The primality oracle can be provided essentially for free, due to polynomial-time deterministic primality algorithms such as the <a href="http://en.wikipedia.org/wiki/AKS_primality_test">AKS primality test</a>; the factoring oracle is somewhat more expensive (there are deterministic factoring algorithms, such as the <a href="http://en.wikipedia.org/wiki/Quadratic_sieve">quadratic sieve</a>, which are suspected to be subexponential in running time, but no polynomial-time algorithm is known), but seems to simplify the problem substantially.</p>
<p>The problem comes in at least three forms: a strong form, a weak form, and a very weak form.</p>
<ol>
<li>Strong form: Deterministically find a prime of at least k digits in poly(k) time.</li>
<li>Weak form: Deterministically find a prime of at least k digits in <img src='http://s0.wp.com/latex.php?latex=%5Cexp%28o%28k%29%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;exp(o(k))' title='&#92;exp(o(k))' class='latex' /> time, or equivalently find a prime larger than <img src='http://s0.wp.com/latex.php?latex=k%5EC&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='k^C' title='k^C' class='latex' /> in time O(k) for any fixed constant C.</li>
<li>Very weak form: Deterministically find a prime of at least k digits in significantly less than <img src='http://s0.wp.com/latex.php?latex=%2810%5Ek%29%5E%7B1%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(10^k)^{1/2}' title='(10^k)^{1/2}' class='latex' /> time, or equivalently find a prime significantly larger than <img src='http://s0.wp.com/latex.php?latex=k%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='k^2' title='k^2' class='latex' /> in time O(k).</li>
</ol>
<p>The pr0blem in all of these forms remain open, even assuming a factoring oracle and strong number-theoretic hypotheses such as <a href="http://en.wikipedia.org/wiki/Generalized_Riemann_hypothesis">GRH</a>.  One of the main difficulties is that we are seeking a deterministic guarantee that the algorithm works in <em>all</em> cases, which is <em>very</em> different from a heuristic  argument that the algorithm &#8220;should&#8221; work in &#8220;most&#8221; cases.   (Note that there are already several efficient probabilistic or heuristic prime generation algorithms in the literature, e.g. <a href="http://eprints.kfupm.edu.sa/40655/">this one</a>, which already suffice for all practical purposes; the question here is purely theoretical.)  In other words, rather than working in some sort of &#8220;average-case&#8221; environment where probabilistic heuristics are expected to be valid, one should instead imagine a &#8220;Murphy&#8217;s law&#8221; or &#8220;worst-case&#8221; scenario in which the primes are situated in a &#8220;maximally unfriendly&#8221; manner.  The trick is to ensure that the algorithm remains efficient and successful even in the worst-case scenario.</p>
<p>Below the fold, we will give some partial results, and some promising avenues of attack to explore.  Anyone is welcome to comment on these strategies, and to propose new ones.  (If you want to participate in a more &#8220;casual&#8221; manner, you can ask questions on the <a href="http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/">discussion thread</a> for this project.)</p>
<p>Also, if anything from <a href="http://polymathprojects.org/2009/07/27/proposal-deterministic-way-to-find-primes/">the previous thread</a> that you feel is relevant has been missed in the text below, please feel free to recall it in the comments to this thread.</p>
<p><span id="more-97"></span></p>
<p style="text-align:center;">&#8211; Partial results &#8211;</p>
<p>One way to proceed is to find a sparse explicitly enumerable set of large integers which is guaranteed to contain a prime.  One can then query each element of that set in turn using the primality oracle to then find a large prime.</p>
<p>For instance, <a href="http://michaelnielsen.org/polymath1/index.php?title=Bertrand%27s_postulate">Bertrand&#8217;s postulate</a> shows that there is at least one prime of k digits in length, which can then be located in <img src='http://s0.wp.com/latex.php?latex=O%2810%5Ek%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(10^k)' title='O(10^k)' class='latex' /> time.  A result of Baker and Harman shows that there is a prime between n and <img src='http://s0.wp.com/latex.php?latex=n%2Bn%5E%7B0.535%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n+n^{0.535}' title='n+n^{0.535}' class='latex' /> for all sufficiently large n, so by using the interval <img src='http://s0.wp.com/latex.php?latex=%5B10%5Ek%2C+10%5Ek+%2B+%2810%5Ek%29%5E%7B0.535%7D%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[10^k, 10^k + (10^k)^{0.535}]' title='[10^k, 10^k + (10^k)^{0.535}]' class='latex' /> one can find a k-digit prime in <img src='http://s0.wp.com/latex.php?latex=O%2810%5Ek%29%5E%7B0.535%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(10^k)^{0.535}' title='O(10^k)^{0.535}' class='latex' /> time.  This is currently the best result known unconditionally.  Assuming the Riemann hypothesis, there is a prime between n and <img src='http://s0.wp.com/latex.php?latex=n+%2B+O%28n%5E%7B1%2F2%7D+%5Clog+n%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='n + O(n^{1/2} &#92;log n)' title='n + O(n^{1/2} &#92;log n)' class='latex' />, giving the slight improvement to <img src='http://s0.wp.com/latex.php?latex=O%28+k+%2810%5Ek%29%5E%7B1%2F2%7D+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O( k (10^k)^{1/2} )' title='O( k (10^k)^{1/2} )' class='latex' />.   (Assuming GRH, it seems that one may be able to improve this a little bit using the <a href="http://michaelnielsen.org/polymath1/index.php?title=W-trick">W-trick</a>, but this has not been checked.)  There is a conjecture of Cramer that the largest prime gap between primes of size n is <img src='http://s0.wp.com/latex.php?latex=O%28+%5Clog%5E2+n+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O( &#92;log^2 n )' title='O( &#92;log^2 n )' class='latex' /> which would give a substantial improvement, to <img src='http://s0.wp.com/latex.php?latex=O%28k%5E2%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(k^2)' title='O(k^2)' class='latex' />, thus solving the strong form of the conjecture, but we have no idea how to establish this conjecture though it is heuristically plausible.</p>
<p>In a slightly different direction, there is a result of Friedlander and Iwaniec that there are infinitely many primes of the form <img src='http://s0.wp.com/latex.php?latex=a%5E2%2Bb%5E4&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='a^2+b^4' title='a^2+b^4' class='latex' />, and in fact their argument shows that there is a k-digit prime of this form for all large k.  This gives a run time of <img src='http://s0.wp.com/latex.php?latex=O%2810%5Ek%29%5E%7B3%2F4%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(10^k)^{3/4}' title='O(10^k)^{3/4}' class='latex' />.  A subsequent result of Heath-Brown achieves a similar result for primes of the form <img src='http://s0.wp.com/latex.php?latex=a%5E3%2B2b%5E3&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='a^3+2b^3' title='a^3+2b^3' class='latex' />, which gives a slightly better run time of <img src='http://s0.wp.com/latex.php?latex=O%2810%5Ek%29%5E%7B2%2F3%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(10^k)^{2/3}' title='O(10^k)^{2/3}' class='latex' />, but this is still inferior to the Baker-Harman bound.</p>
<blockquote><p><strong>Strategy 1:</strong> Find some even sparser sets than these for which we actually have a chance of proving that the set captures infinitely many primes.</p></blockquote>
<p>(For instance, assuming a sufficiently quantitative version of <a href="http://en.wikipedia.org/wiki/Schinzel%27s_hypothesis_H">Schinzel&#8217;s hypothesis H</a>, one would be able to answer the weak form of the problem, though this hypothesis is far from being resolved in general.  More generally, there are many sparse sets which <em>heuristically</em> have an extremely good chance of capturing a lot of primes, but the trick is to find a set for which we can <em>provably</em> establish the existence of primes.)</p>
<p>Another approach is based on variants of Euclid&#8217;s proof of the infinitude of primes and rely on the factoring oracle.  For instance, one can generate an infinite sequence of primes <img src='http://s0.wp.com/latex.php?latex=p_1%2C+p_2%2C+p_3%2C+%5Cldots&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p_1, p_2, p_3, &#92;ldots' title='p_1, p_2, p_3, &#92;ldots' class='latex' /> recursively by setting each <img src='http://s0.wp.com/latex.php?latex=p_k&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p_k' title='p_k' class='latex' /> to be the largest prime factor of <img src='http://s0.wp.com/latex.php?latex=p_1+%5Cldots+p_%7Bk-1%7D%2B1&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p_1 &#92;ldots p_{k-1}+1' title='p_1 &#92;ldots p_{k-1}+1' class='latex' /> (here we use the factoring oracle).  After k steps, this is guaranteed to generate a prime which is as large as the <img src='http://s0.wp.com/latex.php?latex=k%5E%7Bth%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='k^{th}' title='k^{th}' class='latex' /> prime, which is about <img src='http://s0.wp.com/latex.php?latex=k+%5Clog+k&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='k &#92;log k' title='k &#92;log k' class='latex' /> by the prime number theorem.  (In general, it is likely that one would find much larger primes than this, but remember that we are trying to control the worst-case scenario, not the average-case one.)</p>
<blockquote><p><strong>Strategy 2. </strong>Adapt the Euclid-style algorithms to get larger primes than this in the worst-case scenario.</p></blockquote>
<p>For comparison, note that the Riemann hypothesis argument given above would give a prime of size about <img src='http://s0.wp.com/latex.php?latex=k%5E2+%2F+%5Clog%5E2+k&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='k^2 / &#92;log^2 k' title='k^2 / &#92;log^2 k' class='latex' /> or more in k steps.</p>
<p>A third strategy is to look for numbers that are not S-smooth for some threshold S, i.e. contain at least one prime factor larger than S.  Factoring such a number will clearly generate a prime larger than S.  (Furthermore, if the non-S-smooth number is of size less than <img src='http://s0.wp.com/latex.php?latex=S%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='S^2' title='S^2' class='latex' />, it must in fact be prime.)   One strategy is to scan an interval [n, n+a] for non-smooth numbers, thus leading to</p>
<blockquote><p><strong>Problem 3. </strong>For which n, a, S can we rigorously show that [n,n+a] contains at least one non-S-smooth number?</p></blockquote>
<p>If we can make S much larger than a, then we are in business (e.g. if we can make S larger than <img src='http://s0.wp.com/latex.php?latex=a%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='a^2' title='a^2' class='latex' />, then we will beat the RH bound).  Unfortunately, if S is larger than a, we know that [0,a] does not contain any non-S-smooth number, which makes it difficult to see how to show that [n,n+a] will contain any non-S-smooth numbers, since sieve theory techniques are generally insensitive to the starting point of an interval.</p>
<p>One interesting proposal to do this, raised by Tim Gowers, is to try to use additive combinatorics.  Let J be a set of primes larger than S (e.g. the primes between S and 2S), and let K be the set of logarithms of J.  If we can show that one of the iterated sumsets <img src='http://s0.wp.com/latex.php?latex=K%2C+K%2BK%2C+K%2BK%2BK%2C+%5Cldots&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='K, K+K, K+K+K, &#92;ldots' title='K, K+K, K+K+K, &#92;ldots' class='latex' /> intersects the interval <img src='http://s0.wp.com/latex.php?latex=%5B%5Clog+n%2C+%5Clog%28n%2Ba%29%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[&#92;log n, &#92;log(n+a)]' title='[&#92;log n, &#92;log(n+a)]' class='latex' />, then we have shown that [n,n+a] contains at least one non-S-smooth number.  The hope is that additive combinatorial methods can provide some dispersal and mixing properties of these iterated sumsets which will exclude a &#8220;Murphy&#8217;s law&#8221; type scenario in which the interval <img src='http://s0.wp.com/latex.php?latex=%5B%5Clog+n%2C+%5Clog%28n%2Ba%29%5D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='[&#92;log n, &#92;log(n+a)]' title='[&#92;log n, &#92;log(n+a)]' class='latex' /> is always avoided.</p>
<blockquote><p><strong>Strategy 3.</strong> Find good values of n, a, S for which the above argument has a reasonable chance of working.</p></blockquote>
<p>A fourth strategy would be to try to generate pseudoprimes rather than primes, e.g. to generate numbers obeying congruences such as <img src='http://s0.wp.com/latex.php?latex=2%5En+%3D+2+%5Chbox%7B+mod+%7D+n&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='2^n = 2 &#92;hbox{ mod } n' title='2^n = 2 &#92;hbox{ mod } n' class='latex' />.  It is not clear though how to efficiently achieve this, especially in the worst-case scenario.</p>
<p>A fifth strategy would be to try to understand the following question:</p>
<blockquote><p><strong>Problem 4.</strong> Given a set A of numbers, what is an efficient way to deterministically find a k-digit number which is not divisible by any element of A?</p></blockquote>
<p>Note that Problem 1 is basically the special case of Problem 4 when A is equal to all the natural numbers  (or primes) less than <img src='http://s0.wp.com/latex.php?latex=%2810%5Ek%29%5E%7B1%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='(10^k)^{1/2}' title='(10^k)^{1/2}' class='latex' />.</p>
<p>A last minute addition to the above strategies, suggested by Ernie Croot:</p>
<blockquote><p><strong>Strategy 6. </strong>Assume the existence of a <a href="http://en.wikipedia.org/wiki/Siegel_zero">Siegel zero</a> at some modulus M, which implies that the Jacobi symbol <img src='http://s0.wp.com/latex.php?latex=%5Cbinom%7BM%7D%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;binom{M}{q}' title='&#92;binom{M}{q}' class='latex' /> is equal to -1 for all small primes (say <img src='http://s0.wp.com/latex.php?latex=q+%5Cleq+%5Cexp%28%5Csqrt%7B%5Clog+M%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='q &#92;leq &#92;exp(&#92;sqrt{&#92;log M})' title='q &#92;leq &#92;exp(&#92;sqrt{&#92;log M})' class='latex' />).  Can one use this sort of information to locate a large prime, perhaps by using the quadratic form <img src='http://s0.wp.com/latex.php?latex=x%5E2-My%5E2&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='x^2-My^2' title='x^2-My^2' class='latex' />?  Note that M might not be known in advance.  This could lead to a non-trivial disjunction: either we can solve the primes problem, or we can assume that there are no Siegel zeroes in a certain range.</p></blockquote>
<p>There may be additional viable strategies beyond the above ones.  Please feel free to share your thoughts, but remember that we will eventually need a rigorous worst-case analysis for any proposed strategy; heuristics are not sufficient by themselves to resolve the problem.</p>
<p style="text-align:center;">&#8211; Other variants &#8211;</p>
<p>There are some variants of the problem that have already been solved, for instance finding irreducible polynomials of a certain degree over a finite field is easy, as is finding square-free numbers of a certain size.   It may be worth looking for additional variant problems which are easier but are not yet solved.</p>
<p>We have <a href="http://michaelnielsen.org/polymath1/index.php?title=Oracle_counterexample_to_finding_pseudoprimes">an argument</a> that shows that in the presence of some oracles, and replacing primes by a similarly dense set of &#8220;pseudoprimes&#8221;, the problem cannot be solved.  It may be of interest to refine this argument to show that even if one assumes complexity-theoretic conjectures such as P=BPP, the general problem of finding pseudoprimes is not efficiently solvable.  (We know that <a href="http://michaelnielsen.org/polymath1/index.php?title=P%3DNP_implies_a_deterministic_algorithm_to_find_primes">the problem is solvable though if P=NP</a>.)</p>
<p>The following toy problem has been advanced:</p>
<blockquote><p><strong>Problem 5.</strong> (Finding consecutive square-free numbers) Find a <em>deterministic</em> algorithm which, when given an integer k, is <em>guaranteed</em> to locate a pair n,n+1 of consecutive square-free numbers of at least k digits in length in as quick a time as possible.</p></blockquote>
<p>Note that finding one large square-free number is easy: just multiply lots of distinct small primes together.  Also, as the density of square-free numbers is <img src='http://s0.wp.com/latex.php?latex=6%2F%5Cpi%5E2+%5Capprox+60%5C%25&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='6/&#92;pi^2 &#92;approx 60&#92;%' title='6/&#92;pi^2 &#92;approx 60&#92;%' class='latex' />, a counting argument shows that pairs of consecutive square-free numbers exist in abundance, and are thus easy to find probabilistically.  Testing a number for square-freeness is trivial with a factoring oracle.  (Question: is there a deterministic polynomial-time algorithm to test a k-digit number for square-freeness without assuming any oracles?)</p>
<p>For Question 6, it has been suggested that <a href="http://en.wikipedia.org/wiki/Sylvester%27s_sequence">Sylvester&#8217;s sequence</a> may be a good candidate; interestingly, this sequence has also been proposed for Strategy 2.</p>
<br />Posted in finding primes, research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=97&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2009/08/09/research-thread-ii-deterministic-way-to-find-primes/feed/</wfw:commentRss>
		<slash:comments>150</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>Deterministic way to find primes: discussion thread</title>
		<link>http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/</link>
		<comments>http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 15:09:26 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[discussion]]></category>
		<category><![CDATA[finding primes]]></category>

		<guid isPermaLink="false">http://polymathprojects.org/?p=70</guid>
		<description><![CDATA[The proposal &#8220;deterministic way to find primes&#8221; is not officially a polymath yet, but is beginning to acquire the features of one, as we have already had quite a bit of interesting ideas.  So perhaps it is time to open up the discussion thread a little earlier than anticipated.  There are a number of purposes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=70&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The proposal &#8220;<a href="http://polymathprojects.org/2009/07/27/proposal-deterministic-way-to-find-primes/">deterministic way to find primes</a>&#8221; is not officially a polymath yet, but is beginning to acquire the features of one, as we have already had quite a bit of interesting ideas.  So perhaps it is time to open up the discussion thread a little earlier than anticipated.  There are a number of purposes to such a discussion thread, including but not restricted to:</p>
<ol>
<li>To summarise the progress made so far, in a manner accessible to &#8220;casual&#8221; participants of the project.</li>
<li>To have &#8220;meta-discussions&#8221; about the direction of the project, and what can be done to make it run more smoothly. (Thus one can view this thread as a sort of &#8220;oversight panel&#8221; for the research thread.)</li>
<li>To ask questions about the tools and ideas used in the project (e.g. to clarify some point in analytic number theory or computational complexity of relevance to the project).  Don&#8217;t be shy; &#8220;dumb&#8221; questions can in fact be very valuable in regaining some perspective.</li>
<li>(Given that this is still a proposal) To evaluate the suitability of this proposal for an actual polymath, and decide what preparations might be useful before actually launching it.</li>
</ol>
<p>To start the ball rolling, let me collect some of the observations accumulated as of July 28:</p>
<ol>
<li>A number of potentially relevant conjectures in complexity theory and number theory have been identified: P=NP, P=BPP, P=promise-BPP, existence of PRG, existence of one-way functions, whether DTIME(2^n) has subexponential circuits, GRH, the Hardy-Littlewood prime tuples conjecture, the ABC conjecture, Cramer&#8217;s conjecture, discrete log in P, factoring in P.
<ol>
<li>The problem is solved if one has P=NP, existence of PRG, or Cramer&#8217;s conjecture, so we may assume that these statements all fail.  The problem is probably also solved on P=promise-BPP, which is a bit stronger than P=BPP, but weaker than existence of PRG; we currently do not have a solution just assuming P=BPP, due to a difficulty getting enough of a gap in the success probabilities.
<ol>
<li>Existence of PRG is assured if DTIME(2^n) does not have subexponential circuits (Impagliazzo-Wigderson), or if one has one-way functions (is there a precise statement to this effect?)</li>
</ol>
</li>
<li>Discrete log being in hard (or easy) may end up being a useless hypothesis, since one needs to find large primes before discrete logarithms even make sense.</li>
</ol>
</li>
<li>If the problem is false, it implies (roughly speaking) that all large constructible numbers are composite.  Assuming factoring is in P, it implies the stronger fact that all large constructible numbers are smooth.  This seems unlikely (especially if one assumes ABC).</li>
<li>Besides adding various conjectures in complexity theory or number theory, we have found some other ways to make the problem easier:
<ol>
<li>The trivial deterministic algorithm for finding k-bit primes takes exponentially long in k in the worst case.  Our goal is polynomial in k.  What about a partial result, such as exp(o(k))?
<ol>
<li>An essentially equivalent variant: in time polynomial in k, we can find a prime with at least log k digits.  Our goal is k.  Can we find a prime with slightly more  than log k digits?</li>
</ol>
</li>
<li>The trivial probabilistic algorithm takes O(k^2) random bits; looks like we can cut this down to O(k).  Our goal is O(log k) (as one can iterate through these bits in polynomial time).  Can we do o(k)?</li>
<li>Rather than find primes, what about finding almost primes?  Note that if factoring is in P, the two problems are basically equivalent.  There may also be other number theoretically interesting sets of numbers one could try here instead of primes.</li>
</ol>
</li>
<li>At the scale log n, primes are assumed to resemble a Poisson process of intensity 1/log n (this can be formalised using a suitably uniform version of the prime tuples conjecture).  Cramer&#8217;s conjecture can be viewed as one extreme case of this principle.  Is there some way to use this conjectured Poisson structure in a way without requiring the full strength of Cramer&#8217;s conjecture?  (I believe there is also some work of Granville and Soundarajan tweaking Cramer&#8217;s prediction slightly, though only by a multiplicative constant if I recall correctly.)</li>
</ol>
<p>See also the <a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">wiki page for this project</a>.</p>
<br />Posted in discussion, finding primes  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=70&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/feed/</wfw:commentRss>
		<slash:comments>59</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
		<item>
		<title>Proposal: deterministic way to find primes</title>
		<link>http://polymathprojects.org/2009/07/27/proposal-deterministic-way-to-find-primes/</link>
		<comments>http://polymathprojects.org/2009/07/27/proposal-deterministic-way-to-find-primes/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 02:24:20 +0000</pubDate>
		<dc:creator>Terence Tao</dc:creator>
				<category><![CDATA[polymath proposals]]></category>
		<category><![CDATA[finding primes]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://polymathprojects.wordpress.com/?p=26</guid>
		<description><![CDATA[Here is a proposal for a polymath project: Problem. Find a deterministic algorithm which, when given an integer k, is guaranteed to find a prime of at least k digits in length of time polynomial in k.  You may assume as many standard conjectures in number theory (e.g. the generalised Riemann hypothesis) as necessary, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=26&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a proposal for a polymath project:</p>
<blockquote><p><strong>Problem. </strong>Find a <em>deterministic</em> algorithm which, when given an integer k, is guaranteed to find a prime of at least k digits in length of time polynomial in k.  You may assume as many standard conjectures in number theory (e.g. the <a href="http://en.wikipedia.org/wiki/Generalized_Riemann_hypothesis">generalised Riemann hypothesis</a>) as necessary, but avoid powerful conjectures in complexity theory (e.g. P=<a href="http://en.wikipedia.org/wiki/BPP">BPP</a>) if possible.</p></blockquote>
<p>The point here is that we have no explicit formulae which (even at a conjectural level) can quickly generate large prime numbers.  On the other hand, given any specific large number n, we can test it for primality in a deterministic manner in a time polynomial in the number of digits (by the <a href="http://en.wikipedia.org/wiki/AKS_primality_test">AKS primality test</a>).  This leads to a <em>probabilistic</em> algorithm to quickly find k-digit primes: simply select k-digit numbers at random, and test each one in turn for primality.  From the prime number theorem, one is highly likely to eventually hit on a prime after about O(k) guesses, leading to a polynomial time algorithm.  However, there appears to be no obvious way to derandomise this algorithm.</p>
<p>Now, given a <a href="http://en.wikipedia.org/wiki/Pseudorandom_number_generators">sufficiently strong pseudo-random number generator</a> &#8211; one which was computationally indistinguishable from a genuinely random number generator &#8211; one could derandomise this algorithm (or indeed, any algorithm) by substituting the random number generator with the pseudo-random one.  So, given sufficiently strong conjectures in complexity theory (I don&#8217;t think P=BPP is quite sufficient, but there are stronger hypotheses than this which would work), one could solve the problem.</p>
<p>Cramer conjectured that the largest gap between primes in [N,2N] is of size <img src='http://s0.wp.com/latex.php?latex=O%28+%5Clog%5E2+N+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O( &#92;log^2 N )' title='O( &#92;log^2 N )' class='latex' />.  Assuming this conjecture, then the claim is easy: start at, say, <img src='http://s0.wp.com/latex.php?latex=10%5Ek&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='10^k' title='10^k' class='latex' />, and increment by 1 until one finds a prime, which will happen after <img src='http://s0.wp.com/latex.php?latex=O%28k%5E2%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(k^2)' title='O(k^2)' class='latex' /> steps.  But the only real justification for Cramer&#8217;s conjecture is that the primes behave &#8220;randomly&#8221;.  Could there be another route to solving this problem which uses a more central conjecture in number theory, such as GRH? (Note that GRH only seems to give an upper bound of <img src='http://s0.wp.com/latex.php?latex=O%28%5Csqrt%7BN%7D%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='O(&#92;sqrt{N})' title='O(&#92;sqrt{N})' class='latex' /> or so on the largest prime gap.)</p>
<p>My guess is that it will be very unlikely that a polymath will be able to solve this problem unconditionally, but it might be reasonable to hope that it could map out a plausible strategy which would need to rely on a number of not too unreasonable or artificial number-theoretic claims (and perhaps some mild complexity-theory claims as well).</p>
<p><span style="text-decoration:line-through;"><strong>Note: </strong>this is only a <em>proposal</em> for a polymath, and is not yet a fully fledged polymath project.  Thus, comments should be focused on such issues as the feasibility of the problem and its suitability for the next polymath experiment, rather than actually trying to solve the problem right now.</span> [<em>Update,</em> Jul 28: It looks like this caution has become obsolete; the project is now moving forward, though it is not yet designated an official polymath project.  However, because we have not yet fully assembled all the components and participants of the project, it is premature to start flooding this thread with a huge number of ideas and comments yet.  If you have an immediate and solidly grounded thought which would be of clear interest to other participants, you are welcome to share it here; but please refrain from working too hard on the problem or filling this thread with overly speculative or diverting posts for now, until we have gotten the rest of the project in place.]</p>
<p>See also the <a href="http://polymathprojects.org/2009/07/28/deterministic-way-to-find-primes-discussion-thread/">discussion thread for this proposal</a>, which will also contain some expository summaries of the comments below, as well as the <a href="http://michaelnielsen.org/polymath1/index.php?title=Finding_primes">wiki page for this proposal</a>, which will summarise partial results, relevant terminology and literature, and other resources of interest.</p>
<br />Posted in finding primes, polymath proposals, research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/polymathprojects.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/polymathprojects.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/polymathprojects.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/polymathprojects.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/polymathprojects.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/polymathprojects.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/polymathprojects.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/polymathprojects.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=polymathprojects.org&amp;blog=8741421&amp;post=26&amp;subd=polymathprojects&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://polymathprojects.org/2009/07/27/proposal-deterministic-way-to-find-primes/feed/</wfw:commentRss>
		<slash:comments>132</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3c795880f3b73784a9b75fbff3772701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Terry</media:title>
		</media:content>
	</item>
	</channel>
</rss>
