<?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: Twelve Days of Christmas and tetrahedral numbers</title>
	<atom:link href="http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/</link>
	<description>The blog of John D. Cook</description>
	<lastBuildDate>Sat, 11 Feb 2012 01:10:06 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-125360</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 26 Dec 2011 15:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-125360</guid>
		<description>Let f(n,k) = n(n - 1)...(n - k + 1).

The result follows easily by applying the method of differences to
f(n,k+1) - f(n-1,k+1) = n(n - 1)...(n - k) - (n - 1)(n - 2)...(n - k - 1).
 = (k + 1)(n - 1)...(n - k).
 = (k + 1) f(n-1,k).</description>
		<content:encoded><![CDATA[<p>Let f(n,k) = n(n &#8211; 1)&#8230;(n &#8211; k + 1).</p>
<p>The result follows easily by applying the method of differences to<br />
f(n,k+1) &#8211; f(n-1,k+1) = n(n &#8211; 1)&#8230;(n &#8211; k) &#8211; (n &#8211; 1)(n &#8211; 2)&#8230;(n &#8211; k &#8211; 1).<br />
 = (k + 1)(n &#8211; 1)&#8230;(n &#8211; k).<br />
 = (k + 1) f(n-1,k).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: By the nth day of Christmas &#8212; The Endeavour</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-125094</link>
		<dc:creator>By the nth day of Christmas &#8212; The Endeavour</dc:creator>
		<pubDate>Sun, 25 Dec 2011 16:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-125094</guid>
		<description>[...] Explanation and proof here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Explanation and proof here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-58342</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Sat, 01 Jan 2011 20:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-58342</guid>
		<description>John, great post!

I think there is a small error in the last two formulae of the advanced proof. Should they be like this (http://bit.ly/hzjQCf) or I&#039;m missing something?</description>
		<content:encoded><![CDATA[<p>John, great post!</p>
<p>I think there is a small error in the last two formulae of the advanced proof. Should they be like this (<a href="http://bit.ly/hzjQCf" rel="nofollow">http://bit.ly/hzjQCf</a>) or I&#8217;m missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How many gifts are given during the course of the song The Twelve Days of Christmas?&#160;&#124;&#160;Drop To Frame</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-51608</link>
		<dc:creator>How many gifts are given during the course of the song The Twelve Days of Christmas?&#160;&#124;&#160;Drop To Frame</dc:creator>
		<pubDate>Thu, 11 Nov 2010 15:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-51608</guid>
		<description>[...] There are a variety of ways to approach this problem. Here is someone who solves it using tetrahedral numbers: link [...]</description>
		<content:encoded><![CDATA[<p>[...] There are a variety of ways to approach this problem. Here is someone who solves it using tetrahedral numbers: link [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nemo</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-38287</link>
		<dc:creator>Nemo</dc:creator>
		<pubDate>Tue, 11 May 2010 15:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-38287</guid>
		<description>Of course, it would look better if my whitespace had not gotten coalesced.  Maybe this will look better:

&lt;code&gt;
    1
   1 1
  1 2 1
 1 3 3 1
1 4 6 4 1
&lt;/code&gt;

A &quot;preview&quot; function for these comments would be useful.</description>
		<content:encoded><![CDATA[<p>Of course, it would look better if my whitespace had not gotten coalesced.  Maybe this will look better:</p>
<p><code><br />
    1<br />
   1 1<br />
  1 2 1<br />
 1 3 3 1<br />
1 4 6 4 1<br />
</code></p>
<p>A &#8220;preview&#8221; function for these comments would be useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nemo</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-38286</link>
		<dc:creator>Nemo</dc:creator>
		<pubDate>Tue, 11 May 2010 15:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-38286</guid>
		<description>You can also derive this by staring at Pascal&#039;s triangle.

    1
   1 1
  1 2 1
 1 3 3 1
1 4 6 4 1

If you sum down along any diagonal from (say) left to right, and then take one step down and left, you find the sum.  For instance, start at the top and take three steps down-right -- 1+1+1 -- and then one step down-left to find 3.

Or start at the first &quot;1&quot; on the second row and sum down-right -- 1+2+3 -- then take one step down-left to find 6.

This works for all diagonals in the triangle, and it is easy to show by induction, given the fact that that every element is the sum of the two directly above it.

But these sums are exactly your k-dimensional triangle numbers.  So T(n,k) = (n+k-1)-choose-k = (n+k-1)! / ((n-1)!k!)

P.S.  You could have used T(n,0) = 1 for your definition instead of T(n,1) = n  :-)</description>
		<content:encoded><![CDATA[<p>You can also derive this by staring at Pascal&#8217;s triangle.</p>
<p>    1<br />
   1 1<br />
  1 2 1<br />
 1 3 3 1<br />
1 4 6 4 1</p>
<p>If you sum down along any diagonal from (say) left to right, and then take one step down and left, you find the sum.  For instance, start at the top and take three steps down-right &#8212; 1+1+1 &#8212; and then one step down-left to find 3.</p>
<p>Or start at the first &#8220;1&#8243; on the second row and sum down-right &#8212; 1+2+3 &#8212; then take one step down-left to find 6.</p>
<p>This works for all diagonals in the triangle, and it is easy to show by induction, given the fact that that every element is the sum of the two directly above it.</p>
<p>But these sums are exactly your k-dimensional triangle numbers.  So T(n,k) = (n+k-1)-choose-k = (n+k-1)! / ((n-1)!k!)</p>
<p>P.S.  You could have used T(n,0) = 1 for your definition instead of T(n,1) = n  <img src='http://www.johndcook.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-28639</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 10 Dec 2009 20:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-28639</guid>
		<description>Eric, I&#039;ve updated the post to link to another proof. The new proof doesn&#039;t &quot;seem to come out of nowhere&quot; as much as the original proof did. The new proof is more advanced but I believe it&#039;s better motivated.</description>
		<content:encoded><![CDATA[<p>Eric, I&#8217;ve updated the post to link to another proof. The new proof doesn&#8217;t &#8220;seem to come out of nowhere&#8221; as much as the original proof did. The new proof is more advanced but I believe it&#8217;s better motivated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wilson</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-28583</link>
		<dc:creator>Eric Wilson</dc:creator>
		<pubDate>Thu, 10 Dec 2009 01:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-28583</guid>
		<description>Intriguing post.  The only weakness is that the theorem seems to come out of nowhere.  Here&#039;s the thought process I went through recently.

I was asking myself the same question the other day.  My wife was reading a book to our children that &quot;hid&quot; the items from the 12 days of Christmas on each page.  The process of finding all of the gifts was tiresome, and drove me to scribbling out a computation before she completed the book.

I didn&#039;t think about tetrahedrons, that&#039;s really helpful.  I recognized that each day is a triangular number.  Knowing that triangular numbers are a diagonal of Pascal&#039;s triangle, it follows that the tetrahedral numbers, being sums of triangular numbers, would be an adjacent diagonal.  

One quickly observes that the desired diagonal is the numbers of the form n choose 3 for some n.  Since 3 choose 3 is one it must be that the nth tetrahedral number is n+2 choose 3.

This lead me to conclude that there are 14 choose 3 gifts.  I then erroneously computed that to be 1092.  

Anyway, the combination of the tetrahedrons and Pascal&#039;s Triangle is fascinating.

Last thought:  The number of gifts is also the number of triangles formed placing 14 points on a circle and connecting each point to all of the others.  (Not so useful, but there you are.)</description>
		<content:encoded><![CDATA[<p>Intriguing post.  The only weakness is that the theorem seems to come out of nowhere.  Here&#8217;s the thought process I went through recently.</p>
<p>I was asking myself the same question the other day.  My wife was reading a book to our children that &#8220;hid&#8221; the items from the 12 days of Christmas on each page.  The process of finding all of the gifts was tiresome, and drove me to scribbling out a computation before she completed the book.</p>
<p>I didn&#8217;t think about tetrahedrons, that&#8217;s really helpful.  I recognized that each day is a triangular number.  Knowing that triangular numbers are a diagonal of Pascal&#8217;s triangle, it follows that the tetrahedral numbers, being sums of triangular numbers, would be an adjacent diagonal.  </p>
<p>One quickly observes that the desired diagonal is the numbers of the form n choose 3 for some n.  Since 3 choose 3 is one it must be that the nth tetrahedral number is n+2 choose 3.</p>
<p>This lead me to conclude that there are 14 choose 3 gifts.  I then erroneously computed that to be 1092.  </p>
<p>Anyway, the combination of the tetrahedrons and Pascal&#8217;s Triangle is fascinating.</p>
<p>Last thought:  The number of gifts is also the number of triangles formed placing 14 points on a circle and connecting each point to all of the others.  (Not so useful, but there you are.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaime</title>
		<link>http://www.johndcook.com/blog/2009/12/08/tetrahedral-numbers/comment-page-1/#comment-28526</link>
		<dc:creator>Jaime</dc:creator>
		<pubDate>Wed, 09 Dec 2009 08:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=3863#comment-28526</guid>
		<description>Funny that the 12 days of Christmas turn out to have just short of one gift per day for a full year. A coincidence?

As for the tetrahedron being &quot;a sort of 3-dimensional triangle&quot;, if you want to get a little more formal, a tetrahedron is a dimension 3 simplex, just as the triangle is a dimension 2 one. Guess that makes T(n,k) the n-th k dimensional simplicial number...</description>
		<content:encoded><![CDATA[<p>Funny that the 12 days of Christmas turn out to have just short of one gift per day for a full year. A coincidence?</p>
<p>As for the tetrahedron being &#8220;a sort of 3-dimensional triangle&#8221;, if you want to get a little more formal, a tetrahedron is a dimension 3 simplex, just as the triangle is a dimension 2 one. Guess that makes T(n,k) the n-th k dimensional simplicial number&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.401 seconds -->

