<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
    <channel>
        <description>ContentBox RSS Feed</description>
        <link>https://www.codersrevolution.com</link>
        <title>Blog RSS Feed by ContentBox</title>
        <copyright>Ortus Solutions, Corp (www.ortussolutions.com)</copyright>
        <docs>http://www.rssboard.org/rss-specification</docs>
        <generator>FeedGenerator</generator>
        <lastBuildDate>Mon, 27 Apr 2026 15:12:26 GMT</lastBuildDate>
        <pubDate>Mon, 27 Apr 2026 15:12:26 GMT</pubDate>
        <item>
            <title>Will A Piece Of Paper, Folded 42 Times, Reach The Moon?</title>
            <description>So I was at a friend's house Sunday night playing a game when this odd fact came up in conversation:&#13;
&#13;
If you were to fold a piece of paper in half 42 times, it would reach the moon.&#13;
&#13;
Several of those around the table scoffed at this, exclaiming that a single sheet of paper was simply too thin to have its thickness reach any substantial amount after only a few dozen folds. I pointed out it was entirely possible seeing as how doubling the thickness with each fold would lead to an exponential increase in thickness that would increase slowly at first before quickly getting larger. My friends were clearly imagining a linear increase in thickness.&#13;
&#13;
I also knew that it is pretty much impossible to fold a single sheet of paper more than about 8 times -- though Myth Busters once folded a giant sheet the size of a football field 10 times. The resulting thickness (after hitting it with a bulldozer) was almost a foot tall, though there was quite a bit of air mixed in with the 1,024 sheets. The formula for finding out how many of something you'll have after doubling it N number of times is as follows where O is the original number (or size in our case).&#13;
&#13;
o * 2^(n)&#13;
&#13;
A standard sheet of paper is about 0.1 mm so 42 folds would give us this:&#13;
&#13;
0.1 * 2^(42) =439,804,651,110 mm&#13;
&#13;
That's 440 billion millimeters, or 439,804 kilometers. The moonon averageis 384,400 kilometers from Earth according to Google. I'd say this checks out. &#13;
&#13;
To help visualize the data, I created a quick spreadsheet and graph that tracks the thickness of the paper for each fold.&#13;
&#13;
&#13;
	&#13;
		&#13;
		&#13;
	&#13;
	&#13;
		&#13;
			# Folds&#13;
			Thickness (mm)&#13;
		&#13;
		&#13;
			0&#13;
			0.10&#13;
		&#13;
		&#13;
			1&#13;
			0.20&#13;
		&#13;
		&#13;
			2&#13;
			0.40&#13;
		&#13;
		&#13;
			3&#13;
			0.80&#13;
		&#13;
		&#13;
			4&#13;
			1.60&#13;
		&#13;
		&#13;
			5&#13;
			3.20&#13;
		&#13;
		&#13;
			6&#13;
			6.40&#13;
		&#13;
		&#13;
			7&#13;
			12.80&#13;
		&#13;
		&#13;
			8&#13;
			25.60&#13;
		&#13;
		&#13;
			9&#13;
			51.20&#13;
		&#13;
		&#13;
			10&#13;
			102.40&#13;
		&#13;
		&#13;
			11&#13;
			204.80&#13;
		&#13;
		&#13;
			12&#13;
			409.60&#13;
		&#13;
		&#13;
			13&#13;
			819.20&#13;
		&#13;
		&#13;
			14&#13;
			1,638.40&#13;
		&#13;
		&#13;
			15&#13;
			3,276.80&#13;
		&#13;
		&#13;
			16&#13;
			6,553.60&#13;
		&#13;
		&#13;
			17&#13;
			13,107.20&#13;
		&#13;
		&#13;
			18&#13;
			26,214.40&#13;
		&#13;
		&#13;
			19&#13;
			52,428.80&#13;
		&#13;
		&#13;
			20&#13;
			104,857.60&#13;
		&#13;
		&#13;
			21&#13;
			209,715.20&#13;
		&#13;
		&#13;
			22&#13;
			419,430.40&#13;
		&#13;
		&#13;
			23&#13;
			838,860.80&#13;
		&#13;
		&#13;
			24&#13;
			1,677,721.6&#13;
		&#13;
		&#13;
			25&#13;
			3,355,443.2&#13;
		&#13;
		&#13;
			26&#13;
			6,710,886.4&#13;
		&#13;
		&#13;
			27&#13;
			13,421,773&#13;
		&#13;
		&#13;
			28&#13;
			26,843,546&#13;
		&#13;
		&#13;
			29&#13;
			53,687,091&#13;
		&#13;
		&#13;
			30&#13;
			107,374,182&#13;
		&#13;
		&#13;
			31&#13;
			214,748,365&#13;
		&#13;
		&#13;
			32&#13;
			429,496,730&#13;
		&#13;
		&#13;
			33&#13;
			858,993,459&#13;
		&#13;
		&#13;
			34&#13;
			1,717,986,918&#13;
		&#13;
		&#13;
			35&#13;
			3,435,973,837&#13;
		&#13;
		&#13;
			36&#13;
			6,871,947,674&#13;
		&#13;
		&#13;
			37&#13;
			13,743,895,347&#13;
		&#13;
		&#13;
			38&#13;
			27,487,790,694&#13;
		&#13;
		&#13;
			39&#13;
			54,975,581,389&#13;
		&#13;
		&#13;
			40&#13;
			109,951,162,778&#13;
		&#13;
		&#13;
			41&#13;
			219,902,325,555&#13;
		&#13;
		&#13;
			42&#13;
			439,804,651,110&#13;
		&#13;
	&#13;
&#13;
&#13;
And to graph that out in kilometers looks like this:&#13;
&#13;
&#13;
</description>
            <link>https://www.codersrevolution.com/blog/will-a-piece-of-paper-folded-42-times-reach-the-moon</link>
            <pubDate>Fri, 28 Mar 2014 00:35:00 GMT</pubDate>
            <author>brad@ortussolutions.com (Brad Wood)</author>
            <category>General</category>
            <category>Mathmatics</category>
            <guid isPermaLink="false">https://www.codersrevolution.com/blog/will-a-piece-of-paper-folded-42-times-reach-the-moon</guid>
        </item>
        <item>
            <title>Generating Primes Revisited: My Modifications To The Sieve of Eratosthenes</title>
            <description>In a recent pissing match between ColdFusion and PHP, Jared Rypka-Hauer was demonstrating the performance of a function that generated prime numbers.  The discussion really wasn't about the BEST prime generator as much as it was about how much ColdFusion can kick PHP's puny butt all over town.  Never the less, I piped up in the comments to ask Jared to compare a prime number generator that I wrote a while back based on the Sieve of Eratosthene.  After Jared asked some good questions about how my code worked I figured it was time I stopped high-jacking the comments of the PHP pooper train.  I decided to spin off a new post to highlight some significant performance gains I was able to produce.</description>
            <link>https://www.codersrevolution.com/blog/Generating-Primes-Revisited-My-Modifications-To-The-Sieve-of-Eratosthenes</link>
            <pubDate>Tue, 01 Feb 2011 11:28:00 GMT</pubDate>
            <author>brad@ortussolutions.com (Brad Wood)</author>
            <category>ColdFusion</category>
            <category>Java</category>
            <category>Mathmatics</category>
            <category>Performance</category>
            <guid isPermaLink="false">https://www.codersrevolution.com/blog/Generating-Primes-Revisited-My-Modifications-To-The-Sieve-of-Eratosthenes</guid>
        </item>
        <item>
            <title>ColdFusion UDF: Calculate A Number's Divisors</title>
            <description>Here's another UDF I was tinkering with last week.  I wanted to be able to count all of the numbers that divided evenly into a given integer.  I couldn't find a ColdFusion implementation, so after getting some advice from Stack Overflow I created my own.</description>
            <link>https://www.codersrevolution.com/blog/ColdFusion-UDF-Calculate-A-Numbers-Divisors</link>
            <pubDate>Sat, 15 Aug 2009 06:24:00 GMT</pubDate>
            <author>brad@ortussolutions.com (Brad Wood)</author>
            <category>ColdFusion</category>
            <category>Mathmatics</category>
            <category>Performance</category>
            <guid isPermaLink="false">https://www.codersrevolution.com/blog/ColdFusion-UDF-Calculate-A-Numbers-Divisors</guid>
        </item>
        <item>
            <title>Calculate Prime Numbers: Sieve of Eratosthenes</title>
            <description>Ahh... the quintessential math problem-- finding prime numbers.  Last week while tinkering with a math challenge I needed to find all of the primes up to a given number.  There was a version on cflib.org, but I thought I could do it in less code, so I dug in myself.</description>
            <link>https://www.codersrevolution.com/blog/Calculate-Prime-Numbers-Sieve-of-Eratosthenes</link>
            <pubDate>Fri, 14 Aug 2009 06:34:00 GMT</pubDate>
            <author>brad@ortussolutions.com (Brad Wood)</author>
            <category>ColdFusion</category>
            <category>Mathmatics</category>
            <category>Performance</category>
            <guid isPermaLink="false">https://www.codersrevolution.com/blog/Calculate-Prime-Numbers-Sieve-of-Eratosthenes</guid>
        </item>
    </channel>
</rss>

