<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Techniques for adding the numbers 1 to 100</title>
	<atom:link href="http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/feed/" rel="self" type="application/rss+xml" />
	<link>http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/</link>
	<description>Learning shouldn't hurt. Let's share the insights that made difficult ideas click.</description>
	<lastBuildDate>Fri, 20 Nov 2009 14:09:06 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cord</title>
		<link>http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/#comment-254525</link>
		<dc:creator>Cord</dc:creator>
		<pubDate>Sun, 04 Oct 2009 03:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/#comment-254525</guid>
		<description>I stumbled across your page while looking for an answer to the same question posed in #30, but was intrigued by all the methods described here.  I was trying to figure out a way to map a series of numbers (say 1 through 15) to a smaller result set of numbers (say 1 through 5) such that:
1 =&gt; 1
2,3 =&gt; 2
4,5,6 =&gt; 3
7,8,9,10 =&gt; 4
11,12,13,14,15 =&gt; 5
as I was pondering how to write a mathematical function to get a result (instead of doing brute iteration) I realized that this smacked of Gauss.  Not being able to memorize formulas, I sat down with a piece of paper and tried summing 1 through 100.  I cut the set in half, yielding 1 through 50 and 51 through 100.  The two &#039;half&#039; sets match such that you can make a pair using one number from each half-set that adds up to 101 (1 + 100, 2 + 99, 3 + 98, etc).  There are exactly 50 such pairs (100/2), so the sum must be 101*50.  Making a formula, this makes (X+1)*(X/2) which is the same as ((X+1)*X)/2, which brings us back into familiar territory.
Thanks for an interesting article, and for reassurance that the math actually works.
now ... how to invert a parabolic function ... *heads back to google*</description>
		<content:encoded><![CDATA[<p>I stumbled across your page while looking for an answer to the same question posed in #30, but was intrigued by all the methods described here.  I was trying to figure out a way to map a series of numbers (say 1 through 15) to a smaller result set of numbers (say 1 through 5) such that:<br />
1 =&gt; 1<br />
2,3 =&gt; 2<br />
4,5,6 =&gt; 3<br />
7,8,9,10 =&gt; 4<br />
11,12,13,14,15 =&gt; 5<br />
as I was pondering how to write a mathematical function to get a result (instead of doing brute iteration) I realized that this smacked of Gauss.  Not being able to memorize formulas, I sat down with a piece of paper and tried summing 1 through 100.  I cut the set in half, yielding 1 through 50 and 51 through 100.  The two &#8216;half&#8217; sets match such that you can make a pair using one number from each half-set that adds up to 101 (1 + 100, 2 + 99, 3 + 98, etc).  There are exactly 50 such pairs (100/2), so the sum must be 101*50.  Making a formula, this makes (X+1)*(X/2) which is the same as ((X+1)*X)/2, which brings us back into familiar territory.<br />
Thanks for an interesting article, and for reassurance that the math actually works.<br />
now &#8230; how to invert a parabolic function &#8230; *heads back to google*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Missy</title>
		<link>http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/#comment-254402</link>
		<dc:creator>Missy</dc:creator>
		<pubDate>Sat, 03 Oct 2009 07:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/#comment-254402</guid>
		<description>My question is how to add/count every &quot;1&quot; found between 0 and any end point.  End Point could be 10,000.  Thanks.</description>
		<content:encoded><![CDATA[<p>My question is how to add/count every &#8220;1&#8243; found between 0 and any end point.  End Point could be 10,000.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalid</title>
		<link>http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/#comment-252121</link>
		<dc:creator>Kalid</dc:creator>
		<pubDate>Tue, 08 Sep 2009 21:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://betterexplained.com/articles/techniques-for-adding-the-numbers-1-to-100/#comment-252121</guid>
		<description>@nada: If you want to add 47 to 100, for example, you can do this: Add 1 to 100 (all the numbers: (100 * 101)/2) and the subtract the sum of 1 to 46 (all the numbers you don&#039;t want (46 * 47)/2).</description>
		<content:encoded><![CDATA[<p>@nada: If you want to add 47 to 100, for example, you can do this: Add 1 to 100 (all the numbers: (100 * 101)/2) and the subtract the sum of 1 to 46 (all the numbers you don&#8217;t want (46 * 47)/2).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
