<?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/"
	>

<channel>
	<title>Nathaniel Johnston &#187; Math in the Media</title>
	<atom:link href="http://www.njohnston.ca/tag/math-in-the-media/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.njohnston.ca</link>
	<description>A blog of recreational math and quantum information theory</description>
	<lastBuildDate>Wed, 16 May 2012 14:46:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>No, Primes with Millions of Digits Are Not Useful for Cryptography</title>
		<link>http://www.njohnston.ca/2009/09/no-primes-with-millions-of-digits-are-not-useful-for-cryptography/</link>
		<comments>http://www.njohnston.ca/2009/09/no-primes-with-millions-of-digits-are-not-useful-for-cryptography/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 12:00:16 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Math in the Media]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=665</guid>
		<description><![CDATA[About once a year, the internet news fills up for a week or so with talk of how a new largest-known prime has just been found. This largest-known prime has invariably been found by GIMPS, a distributed computing project designed to find large Mersenne primes.  Of course, mainstream media doesn&#8217;t like reporting things unless they [...]]]></description>
			<content:encoded><![CDATA[<p>About once a year, the internet news fills up for a week or so with talk of how a new largest-known prime has just been found. This largest-known prime has invariably been found by <a href="http://www.mersenne.org/">GIMPS</a>, a distributed computing project designed to find large <a href="http://en.wikipedia.org/wiki/Mersenne_prime">Mersenne primes</a>.  Of course, mainstream media doesn&#8217;t like reporting things unless they can give people the illusion of some sort of immediate practical purpose. So what to do when you can&#8217;t think of a practical use for some recently-discovered 10-million-digit prime numbers? Make one up, of course! Just say that they have applications in cryptography:</p>
<blockquote><p>Scientists in the US and Germany have found the two largest prime numbers ever calculated in a discovery which could dramatically increase the effectiveness of cryptographic systems.</p>
<p>- <a href="http://www.v3.co.uk/vnunet/news/2226357/world-largest-prime-numbers">v3.co.uk</a></p></blockquote>
<h3>The Source of the Myth: RSA Encryption</h3>
<p>Like all good myths, the Mersenne prime cryptography myth is so widespread because it is so <em>close</em> to being true. The most widely-used form of encryption used on the internet is <a href="http://en.wikipedia.org/wiki/RSA">RSA encryption</a>, which works by multiplying two huge prime numbers together to form an even larger number with exactly two prime factors. Since factoring numbers is believed to be computationally difficult, reversing this process is currently a very difficult problem, which leads to RSA providing reasonably strong encryption. The thing is, RSA typically uses primes that have a few <em>hundred</em> digits, not a few <em>million</em> digits. Some of the reasons for this are as follows:</p>
<ol>
<li><strong>You don&#8217;t </strong><em><strong>need</strong></em><strong> to use million-digit primes. </strong>Considering that even <a href="http://cado.gforge.inria.fr/workshop/slides/montgomery.pdf">cracking RSA that uses 250-digit primes</a> is an extremely difficult problem that hasn&#8217;t been completed yet, and the problem gets exponentially more difficult as you add more digits, even the most paranoid of people should be comfortable using primes with a couple thousand digits. You might argue that some big government agencies would want RSA to be as secure as possible for their transactions, so they might want to use million-digit primes, but any agency that is that worried about security shouldn&#8217;t be using public key cryptography in the first place.</li>
<li><strong>Using primes with millions of digits actually </strong><em><strong>decreases</strong></em><strong> security.</strong> As of this writing, there are <a href="http://primes.utm.edu/primes/search.php?Number=100">26 known primes</a> with more than one million digits, so to break RSA encryption that makes use of primes with millions of digits you can just test each one of the known million-digit primes to see if they are one of the factors. RSA only works because there are <em>lots</em> of primes with hundreds of digits to choose from (as in billions of billions of billions of them, and then some).</li>
<li><strong>Manipulating numbers with millions of digits is </strong><em><strong>slow</strong></em><strong>.</strong> Internet-based public key cryptography systems need to be fast if they&#8217;re to be of any practical use, so it doesn&#8217;t make much sense to try to use a cryptography system that relies on multiplying and finding residues with numbers that take several megabytes just to store. Just imagine trying to do some online banking when you have to transmit <a href="http://prime.isthe.com/chongo/tech/math/prime/m43112609/prime-c.html">this</a> number along with every other piece of data that you send back to the server.</li>
</ol>
<p>Not all media outlets are so bad as to directly say that the primes found by GIMPS are useful for cryptography, but the vast majority of them imply it at some point throughout the story. Consider the following examples, which are taken from stories about newly-discovered GIMPS primes:</p>
<blockquote><p>Mersenne primes are important for the theory of numbers and they may help in developing unbreakable codes and message encryptions.</p>
<p>- <a href="http://news.bbc.co.uk/2/hi/science/nature/1693364.stm">BBC News</a></p></blockquote>
<blockquote><p>Current cryptographic systems rely on the challenge of factoring large primes.</p>
<p>- <a href="http://www.sciencenews.org/view/generic/id/36979/description/Largest_known_prime_number_found">ScienceNews.org</a></p></blockquote>
<p>While those tidbits of information are quite true (well, almost &#8212; see the comments), when taken in context they are entirely misleading and cause the reader to think that GIMPS primes have applications in today&#8217;s cryptography systems. It&#8217;s like running a story about a recent plane crash that includes a sentence about how it&#8217;s a good idea to wear a helmet when riding a bicycle.</p>
<h3>So Why <em>Do</em> We Search for Huge Primes?</h3>
<p>The main reason that we search for huge primes is simply for sport. It gives our idle CPU cycles something to do. Non-mathematicians seem to balk at that idea and call it a huge waste of CPU cycles/time, and they&#8217;re probably right, but so what? Have you ever played a video game? This is our version of going for a high score. If that doesn&#8217;t seem like a particularly good reason to you, perhaps one of the <a href="http://primes.utm.edu/notes/faq/why.html">reasons given by GIMPS itself</a> will satisfy you. One thing that you&#8217;ll notice though is that cryptography is not mentioned anywhere on that page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njohnston.ca/2009/09/no-primes-with-millions-of-digits-are-not-useful-for-cryptography/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Corrected Math News: Iraq-born teen cracks maths puzzle</title>
		<link>http://www.njohnston.ca/2009/06/corrected-math-news-iraq-born-teen-cracks-maths-puzzle/</link>
		<comments>http://www.njohnston.ca/2009/06/corrected-math-news-iraq-born-teen-cracks-maths-puzzle/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 20:49:16 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Math in the Media]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=341</guid>
		<description><![CDATA[Over the last few days, the internet news has been filled with stories of an Iraq-born 16-year-old boy who &#8220;cracked the mystery of the Bernoulli numbers&#8221;. This has of course been promptly been picked up by dozens of blogs and regurgitated all over the place. However, if you&#8217;re mathematically-inclined like me, this might lead you [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few days, the <a href="http://uk.news.yahoo.com/18/20090528/twl-iraq-born-teen-cracks-maths-puzzle-3cd7efd.html">internet</a> <a href="http://personalmoneystore.com/moneyblog/2009/05/29/bernoulli-numbers-altoumaimi/">news</a> <a href="http://www.thelocal.se/19710/20090528/">has</a> <a href="http://www.naharnet.com/domino/tn/NewsDesk.nsf/AwayPolitics/5DAFD8132D1DFCC5C22575C4002BAD8F?OpenDocument">been</a> <a href="http://newsbizarre.com/2009/05/mohamed-altoumaimi-iraqi-boy-in-sweden.html">filled</a> with stories of an Iraq-born 16-year-old boy who &#8220;cracked the mystery of the Bernoulli numbers&#8221;. This has of course been promptly been picked up by <a href="http://blogs.howstuffworks.com/2009/06/01/300-year-old-math-problem-solved-by-teenager/">dozens</a> <a href="http://www.softsailor.com/news/3884-16-year-old-manages-to-crack-and-simplify-bernoulli-numbers.html">of</a> <a href="http://troglopundit.wordpress.com/2009/05/29/iraqi-born-swede-wows-math-world-and-at-least-one-blogger/">blogs</a> <a href="http://sugiyarto777.wordpress.com/2009/05/30/iraq-born-teen-cracks-maths-puzzle/">and</a> <a href="http://hitogram.wordpress.com/2009/05/30/iraq-born-teen-cracks-maths-puzzle/">regurgitated</a> all over the place. However, if you&#8217;re mathematically-inclined like me, this might lead you to wonder &#8220;there was a mystery of the Bernoulli numbers?&#8221; Well, wonder no more, because no there was not. The formula for B<sub>n</sub>, the n<sup>th</sup> Bernoulli number, that was &#8220;discovered&#8221; by the boy is as follows:</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-342" title="Bernoulli equation" src="http://njohns01home.webfactional.com/wp-content/uploads/2009/06/eqn.gif" alt="Bernoulli equation" width="302" height="54" /></p>
<p>This formula was originally derived by a mathematician named Julius Worpitzky in 1883. Some sources have tried half-heartedly to correct the article by appending a sentence to the bottom of the story:</p>
<blockquote><p>Later, a clarification was given‚ by the mathematical community that the probable solution to this century old problem was available in mathematical circuits though not openly available to all.</p>
<p><em>- </em><a href="http://www.thaindian.com/newsportal/world/bernoulli-numbers-solved-by-a-16-year-old_100198888.html"><em>thaindian.com</em></a></p></blockquote>
<p>The problem is that this isn&#8217;t even true; the &#8220;probable solution&#8221; (what does that mean, exactly?) was not under some mysterious mathematical lock-and-key. It was well-known and even included on the <a href="http://en.wikipedia.org/wiki/Bernoulli_numbers">Wikipedia page describing the Bernoulli numbers</a> (at the time of this writing, it is about halfway down the page under the section titled <em>&#8220;Connection with the Worpitzky number&#8221;</em>). Uppsala University has even issued an <a href="http://www.uu.se/news/news_item.php?typ=artikel&amp;id=693">official statement</a> saying that the news articles are false.</p>
<p>So while the boy&#8217;s derivation of the formula is indeed impressive considering his age (if he did indeed derive it himself rather than following the steps outlined on the wiki page), the story about this &#8220;puzzle&#8221; being solved is almost entirely false.</p>
<p><strong><span style="color: #800000;">Update [June 6, 2009]:</span></strong> The Mathematical Association of America has now posted <a href="http://www.maa.org/devlin/devlin_06_09.html">an article</a> about this same topic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njohnston.ca/2009/06/corrected-math-news-iraq-born-teen-cracks-maths-puzzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

