<?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: Domino Functions</title>
	<atom:link href="https://programmerluddite.com/2013/04/domino-functions/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmerluddite.com/2013/04/domino-functions/</link>
	<description>The Blog of Barney Boisvert, Software Craftsman</description>
	<lastBuildDate>Wed, 08 Jan 2014 06:07:03 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>By: Bill Beers</title>
		<link>https://programmerluddite.com/2013/04/domino-functions/#comment-2579</link>
		<dc:creator><![CDATA[Bill Beers]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 05:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://programmerluddite.com/?p=69#comment-2579</guid>
		<description><![CDATA[As I read this post, I had a flashback to one of my college math courses(Number Theory), where my professor told us of a German math prodigy named, Carl Friedrich Gauss.

There is a well known story about Karl Friedrich Gauss when he was in
elementary school.  His teacher got mad at the class and told them to
add the numbers 1 to 100 and give him the answer by the end of the 
class. About 30 seconds later Gauss gave him the answer.

Looking at your triangle it clicked. 
1 + 2 + 3 + ... + n

If you take the sequence and add it to the reverse sequence, shown below... 

&lt;pre&gt;1      2    3    4    5    6    7    8    9   10   11   12
+    +    +    +    +    +    +    +   +     +    +     +
12   11  10   9    8    7    6    5    4     3     2     1
=
13   13   13   13   13   13   13   13   13   13   13 =  12(13) = 156 or n(n+1)
&lt;/pre&gt;
which is double the total, so take 1/2 of that to find the total = 78
78 != 91 so this made me go, hmmm 
But, since the dominos are 0 based, it really is 1+...+13 so plug in 13 for n


&lt;pre&gt;13(14)
--------      =  182/2 = 91
2
&lt;/pre&gt;

Math is cool.]]></description>
		<content:encoded><![CDATA[<p>As I read this post, I had a flashback to one of my college math courses(Number Theory), where my professor told us of a German math prodigy named, Carl Friedrich Gauss.</p>
<p>There is a well known story about Karl Friedrich Gauss when he was in<br />
elementary school.  His teacher got mad at the class and told them to<br />
add the numbers 1 to 100 and give him the answer by the end of the<br />
class. About 30 seconds later Gauss gave him the answer.</p>
<p>Looking at your triangle it clicked.<br />
1 + 2 + 3 + &#8230; + n</p>
<p>If you take the sequence and add it to the reverse sequence, shown below&#8230; </p>
<pre>1      2    3    4    5    6    7    8    9   10   11   12
+    +    +    +    +    +    +    +   +     +    +     +
12   11  10   9    8    7    6    5    4     3     2     1
=
13   13   13   13   13   13   13   13   13   13   13 =  12(13) = 156 or n(n+1)
</pre>
<p>which is double the total, so take 1/2 of that to find the total = 78<br />
78 != 91 so this made me go, hmmm<br />
But, since the dominos are 0 based, it really is 1+&#8230;+13 so plug in 13 for n</p>
<pre>13(14)
--------      =  182/2 = 91
2
</pre>
<p>Math is cool.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
