<?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>mathemagicio.us &#187; Christmas</title>
	<atom:link href="http://mathemagicio.us/tag/christmas/feed/" rel="self" type="application/rss+xml" />
	<link>http://mathemagicio.us</link>
	<description>Ramblings and musings about math, science and truth</description>
	<lastBuildDate>Wed, 14 Oct 2009 01:02:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Happy eighth day of Christmas!</title>
		<link>http://mathemagicio.us/2009/01/01/happy-eighth-day-of-christmas/</link>
		<comments>http://mathemagicio.us/2009/01/01/happy-eighth-day-of-christmas/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 17:55:50 +0000</pubDate>
		<dc:creator>Mark Przepiora</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://mathemagicio.us/?p=36</guid>
		<description><![CDATA[As we all celebrate another revolution around the sun and come halfway closer to Epiphany, let&#8217;s explore a holiday-themed math problem.
The number of gifts one receives at the end of the Twelve Days Of Christmas is ironically 364—a gift for each day of the year except Christmas itself.
But what about the inhabitants of Gaia-n, who [...]]]></description>
			<content:encoded><![CDATA[<p>As we all celebrate another revolution around the sun and come halfway closer to Epiphany, let&#8217;s explore a holiday-themed math problem.</p>
<p>The number of gifts one receives at the end of the <a href="http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)">Twelve Days Of Christmas</a> is ironically 364—a gift for each day of the year except Christmas itself.</p>
<p>But what about the inhabitants of Gaia-<em>n</em>, who celebrate not 12 but <em>n</em> days of Christmas?</p>
<p>On the first day, such an inhabitant receives 1 present; on the second day, 1 + 2; on the third, 1 + 2 + 3; etc. Then, thanks to a theorem by <a href="http://en.wikipedia.org/wiki/Gauss">some clever little kid</a>, we can write the number of gifts he receives on day <em>k</em> as <img src='/wp-content/plugins/latexrender/pictures/857e075bc6fcfebaaf3a7c265997c31d_3.5pt.png' title='T_k = k(k+1)/2' alt='T_k = k(k+1)/2'  style="vertical-align:-3.5pt;" >, the <em>k</em><sup>th</sup> <a href="http://en.wikipedia.org/wiki/Triangular_number">triangular number</a>, and thus the total number of presents he receives in all <em>n</em>days as the sum of triangular numbers <img src='/wp-content/plugins/latexrender/pictures/a307751c8f05cde0ec5d5eebf4eefe2d_4.00005pt.png' title='C_n = \sum_{k=1}^n T_k' alt='C_n = \sum_{k=1}^n T_k'  style="vertical-align:-4.00005pt;" > (where <em>C</em> is for Christmas.)</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-46" title="T3 + T4 is a square" src="http://mathemagicio.us/wp-content/uploads/2009/01/triangular.png" alt="T3 + T4 is a square" width="250" height="244" /></p>
<p>A geometric argument easily shows that <img src='/wp-content/plugins/latexrender/pictures/f3591d13ef49e40b696e4a9a5fea2c91_3.33333pt.png' title='T_{k-1} + T_{k} = k^2' alt='T_{k-1} + T_{k} = k^2'  style="vertical-align:-3.33333pt;" >, so (assuming <em>n</em> is even)</p>
<p><img src='/wp-content/plugins/latexrender/pictures/99a8333a9de37a4b496ddb7c1425b9a8_4.01659pt.png' title=' C_n = \sum_{k=1}^{n/2} (2k)^2 = 4\sum_{k=1}^{n/2} k^2 ' alt=' C_n = \sum_{k=1}^{n/2} (2k)^2 = 4\sum_{k=1}^{n/2} k^2 '  style="vertical-align:-4.01659pt;" ></p>
<p>which is four times a <a href="http://en.wikipedia.org/wiki/Square_pyramidal_number">pyramid number</a>! Substituting the closed expression for the sum and simplifying gives,</p>
<p><img src='/wp-content/plugins/latexrender/pictures/c3317ff187396a9d1b7d578f10fd2f07_4.44841pt.png' title=' C_n = n^3/6 + n^2/2 + n/3 = \frac{1}{6} n(n+1)(n+2)' alt=' C_n = n^3/6 + n^2/2 + n/3 = \frac{1}{6} n(n+1)(n+2)'  style="vertical-align:-4.44841pt;" >.</p>
<p>We can easily verify that this expression also gives the correct answer when <em>n</em> is odd, and moreover <img src='/wp-content/plugins/latexrender/pictures/31996bb70ea5e729e1e70c8871655891_3.5pt.png' title=' C_{12} = 12\cdot 13\cdot 14/2 = 364 ' alt=' C_{12} = 12\cdot 13\cdot 14/2 = 364 '  style="vertical-align:-3.5pt;" > as we hoped!</p>
<p>On other planets, inhabitants may celebrate a fraction of a number of days of Christmas, and they may wish to extend the expression <img src='/wp-content/plugins/latexrender/pictures/cf60ab512844030329be44356fad9fcd_2.49998pt.png' title=' C_n ' alt=' C_n '  style="vertical-align:-2.49998pt;" > to any real (or complex!) number, i.e.</p>
<p><img src='/wp-content/plugins/latexrender/pictures/cec2d0e8240bdeab391f5273e7415492_4.44841pt.png' title=' C(z) = \frac{1}{6} z(z+1)(z+2) ' alt=' C(z) = \frac{1}{6} z(z+1)(z+2) '  style="vertical-align:-4.44841pt;" ></p>
<p>which we naturally call the <em>Christmas polynomial</em>.</p>
<p>We may also wonder how many gifts someone will receive who has relatives on each of the planets Gaia-<em>1</em>, Gaia-<em>2</em>, &#8230;, up to Gaia-<em>n</em>. That is, what is the value of the sum <img src='/wp-content/plugins/latexrender/pictures/872f2b55838a37a6354dc9ae4081bc4e_4.00005pt.png' title='Z_n = \sum_{k=1}^n C_n' alt='Z_n = \sum_{k=1}^n C_n'  style="vertical-align:-4.00005pt;" >?</p>
<p>Because we may write <img src='/wp-content/plugins/latexrender/pictures/b61d840cec3f148458108a9c29ec5296_4.50006pt.png' title='T_n = \binom{n+1}{2}' alt='T_n = \binom{n+1}{2}'  style="vertical-align:-4.50006pt;" > and <img src='/wp-content/plugins/latexrender/pictures/461d8f7fba4ad0996fb9d21564b90d84_4.50006pt.png' title='C_n = \binom{n+2}{3}' alt='C_n = \binom{n+2}{3}'  style="vertical-align:-4.50006pt;" >, it is a reasonable guess that <img src='/wp-content/plugins/latexrender/pictures/ed8b0e81df66270b0253892133b9ca42_4.50006pt.png' title=' Z_n = \binom{n+3}{4} ' alt=' Z_n = \binom{n+3}{4} '  style="vertical-align:-4.50006pt;" >. This indeed turns out to be the case, and so we may naturally define a generalized Christmas function</p>
<p><img src='/wp-content/plugins/latexrender/pictures/9b32c32615427bdb27d4d73ddfe3b07d_5.28175pt.png' title=' \chi_{m,n} = \binom{n+m}{m+1} ' alt=' \chi_{m,n} = \binom{n+m}{m+1} '  style="vertical-align:-5.28175pt;" ></p>
<p>(where <em>χ</em> is for <em>Xmas</em>.) This results in the sequences</p>
<p><img src='/wp-content/plugins/latexrender/pictures/4d4051dd43196e4844971c9960002f47_3.86108pt.png' title=' \chi_{0,n} = n' alt=' \chi_{0,n} = n'  style="vertical-align:-3.86108pt;" ><br />
<img src='/wp-content/plugins/latexrender/pictures/a65a589204c86c21d144097791e19708_3.86108pt.png' title=' \chi_{1,n} = T_n' alt=' \chi_{1,n} = T_n'  style="vertical-align:-3.86108pt;" ><br />
<img src='/wp-content/plugins/latexrender/pictures/02b1ac9e443ae885fe13d83e90f425fd_3.86108pt.png' title=' \chi_{2,n} = C_n' alt=' \chi_{2,n} = C_n'  style="vertical-align:-3.86108pt;" ></p>
<p>and so on, allowing us to calculate a great number of Christmas gift-giving scenarios.</p>
]]></content:encoded>
			<wfw:commentRss>http://mathemagicio.us/2009/01/01/happy-eighth-day-of-christmas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
