<?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>CatSynth &#187; Mathematics</title>
	<atom:link href="http://www.ptank.com/blog/category/mathematics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ptank.com/blog</link>
	<description>cats, synthesizers, music, art, opinion</description>
	<lastBuildDate>Sun, 19 Feb 2012 18:34:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Ackermann&#8217;s Function and &#8220;Really Big Numbers&#8221;</title>
		<link>http://www.ptank.com/blog/2012/02/ackermanns-function-and-really-big-numbers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ackermanns-function-and-really-big-numbers</link>
		<comments>http://www.ptank.com/blog/2012/02/ackermanns-function-and-really-big-numbers/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 01:32:47 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[ackermann's function]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[number theory]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=8549</guid>
		<description><![CDATA[Today we return to to the topic of mathematics with a look at Ackermann&#8217;s Function. Anyone who has studied computer science has probably encountered this function (though I&#8217;m sure many have gone on to forget it). It is most commonly defined as follows: This is actually a variant of Wilhelm Ackermann&#8217;s original function, often called [...]]]></description>
			<content:encoded><![CDATA[<p>Today we return to to the topic of mathematics with a look at <strong>Ackermann&#8217;s Function</strong>.  Anyone who has studied computer science has probably encountered this function (though I&#8217;m sure many have gone on to forget it).  It is most commonly defined as follows:</p>
<p><img class="alignnone size-full wp-image-8573" title="0ae4053de098cc9554752b190a38bc56" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/0ae4053de098cc9554752b190a38bc562.jpg" alt="" width="490" height="84" /></p>
<p>This is actually a variant of Wilhelm Ackermann&#8217;s original function, often called the <strong>Ackermann–Péter</strong> function. It is quite a simple function to define and to trace, and it is very easy to implement in just about any programming language, including Python:</p>
<pre>def ackermann(m, n):
  if m == 0:
    return n + 1
  elif n == 0:
    return ackermann(m - 1, 1)
  else:
    return ackermann(m - 1, ackermann(m, n - 1))</pre>
<p>However, its complexity (in terms of run-time and memory) grows quite quickly.  As such, it is often used as an exercise in teaching students more complex forms of recursion, and also as a test case in compiler development for optimizing recursion.  It also has some interesting mathematical properties for particular values of <em>m</em>:</p>
<p>The numbers in the case of <em>A(4,<em>n</em>)</em> are quite large.  Indeed, one could describe Ackermann&#8217;s function as &#8220;computing really really large numbers really really slowly.&#8221;  Although the numbers grow quickly, the function is really just doing subtraction and recursion.  We can take advantage of the properties described above, however, to make some shortcuts that yield a much more efficient function.</p>
<pre>def ackermann(m, n):
  while m &gt;= 4:
    if n == 0:
      n = 1
    else:
      n = ackermann(m, n - 1)
    m -= 1
  if m == 3:
    return 2 ** ( n + 3) - 3
  elif m == 2:
    return 2 * n + 3
  elif m == 1:
    return n + 2
  else: # m == 0
    return n + 1</pre>
<p>With this version computing <em>A(m,n)</em> for <em>m</em>≤3 becomes trivial.  And this makes computations for  <em>m</em>≥4 possible.  Or at least <em>A(4,2)</em>, which we can actually run in python to reveal the 19,000 digit answer.</p>
<p>You can see the full value on <a href="http://www.ptank.com/blog/highways/the-value-of-ackermanns-function-a42/">this page</a>.   Computing <em>A(4,3)</em> is infeasible.  Even with the optimizations, most computers will run out of memory trying to compute this value.  But one can still reason about these rather large numbers.  Let us move from the more common function we have been using to Ackermann&#8217;s original version:</p>
<p><img class="alignnone size-large wp-image-8575" title="92feaf94957d767e3642420f54159ff5" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/92feaf94957d767e3642420f54159ff51-540x117.jpg" alt="" width="540" height="117" /></p>
<p>This version has three arguments instead of two, and on the surface it may seem a bit more complicated.  However, different values of the third argument <em>p</em> yield very familiar operations.</p>
<p><img class="alignnone size-full wp-image-8580" title="8f2c82e93a63986a24f7460dc5f54a33" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/8f2c82e93a63986a24f7460dc5f54a331.jpg" alt="" width="168" height="21" /><img class="alignnone size-full wp-image-8578" title="1a4d833fa8b152f21d83ba9a3162e9d3" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/1a4d833fa8b152f21d83ba9a3162e9d31.jpg" alt="" width="158" height="21" /><br />
<img class="alignnone size-full wp-image-8577" title="62fe4b440c27016ec831d2b114c13c0b" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/62fe4b440c27016ec831d2b114c13c0b1.jpg" alt="" width="140" height="21" /></p>
<p>Again, this function is a rather inefficient way to compute addition, multiplication and exponentiation, but it is an interesting way to reason about them and extrapolate to other more exotic operations.  For example, if we take <em>p</em> to be 3, we get the following operation.</p>
<p>Just as <em>m</em> x <em>n</em> is adding <em>m</em> to itself <em>n</em> times, and exponentiation <em>m<sup>n</sup></em> is multiplying <em>m</em> by itself <em>n</em> times, this new operation (sometimes called <em>tetration</em>) is the next level: exponentiating <em>m</em> by itself <em>n</em> times.</p>
<p><img class="alignnone size-full wp-image-8570" title="79574da16b87551e384fdefe6aa4266d" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/79574da16b87551e384fdefe6aa4266d2.jpg" alt="" width="268" height="73" /></p>
<p>Such an operation grows so fast as to be uncomparable to exponential growth.  It grows even too fast to compare to the gamma function which have explored on CatSynth in the past.  This series of ever higher-order operations is often noted with an arrow, called <a href="http://en.wikipedia.org/wiki/Knuth%27s_up-arrow_notation">Knuth&#8217;s up-arrow notation</a> after legendary computer scientist Donald Knuth.</p>
<p>Using this notation, we can define as sequence of numbers, called <strong>Akermann Numbers</strong>, where each is an ever higher-order operation of the element applied to itself.</p>
<ul>
<li>1↑1 = 1<sup>1</sup> = 1,</li>
<li>2↑↑2 = 2↑2 = 2<sup>2</sup> = 4,</li>
<li>3↑↑↑3 = 3↑↑3↑↑3 = 3↑↑(3↑3↑3) = <img class="alignnone size-full wp-image-8569" title="e939d2d503bfd0dd8bff6f5f63bcbb8b" src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/e939d2d503bfd0dd8bff6f5f63bcbb8b1.jpg" alt="" width="295" height="46" /></li>
</ul>
<p>Even just the 4th number is this sequence is so large that we can&#8217;t even easily notate it with exponents.  So forget about the 5th number in sequence.  But a question that interests me is what about interpolating with real numbers.  What is the 1 1/2th Ackermann number?  That question, if it even has an answer, will have to wait for another time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2012/02/ackermanns-function-and-really-big-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weekend Cat Blogging and Photo Hunt: Heart</title>
		<link>http://www.ptank.com/blog/2012/02/weekend-cat-blogging-and-photo-hunt-heart/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=weekend-cat-blogging-and-photo-hunt-heart</link>
		<comments>http://www.ptank.com/blog/2012/02/weekend-cat-blogging-and-photo-hunt-heart/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 17:27:12 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Cats]]></category>
		<category><![CDATA[Luna]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[black cat]]></category>
		<category><![CDATA[cardioid]]></category>
		<category><![CDATA[cat toys]]></category>
		<category><![CDATA[heart]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[kalimba]]></category>
		<category><![CDATA[photo hunt]]></category>
		<category><![CDATA[WCB]]></category>
		<category><![CDATA[WCB349]]></category>
		<category><![CDATA[weekend cat blogging]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=8493</guid>
		<description><![CDATA[Our combined Weekend Cat Blogging and Saturday Photo Hunt features the theme Heart. We have a few images that blend the theme with our interests in music, mathematics and of course, cats. Here Luna poses with a heart-shaped kalimba (thumb piano). Luna peers at the iPad, which displays a plot of a cardioid. We used [...]]]></description>
			<content:encoded><![CDATA[<p>Our combined <b>Weekend Cat Blogging</b> and <b>Saturday Photo Hunt</b> features the theme <b>Heart</b>.  We have a few images that blend the theme with our interests in music, mathematics and of course, cats.</p>
<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/luna_kalimba_c.jpg" alt="" title="luna_kalimba_c" width="400" height="420" class="alignnone size-full wp-image-8495" /></p>
<p>Here Luna poses with a heart-shaped kalimba (thumb piano).</p>
<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2012/02/luna_cardiod_c.jpg" alt="" title="luna_cardiod_c" width="297" height="400" class="alignnone size-full wp-image-8494" /></p>
<p>Luna peers at the iPad, which displays a plot of a <i>cardioid</i>.  We used a mathematical function that produces the heart-shaped figure when plotted with polar coordinates.  The formula for the cardioid is: <i>r = 1 &#8211; sin(&theta;)</i>, where <i>r</i> is the radius from the center of the plot and &theta; is the angle sweeping around the center. The best way to visualize polar coordinates is using one of those old circular radar screens where the plotter sweeps in a circular motion.  </p>
<p>The photo also features one of Luna&#8217;s favorite toys, a heart-shaped plush toy with the word &#8220;kitty&#8221; inscribed on it.  We have had it for years now (indeed, it was featured in a WCB/Photo Hunt back in 2008).</p>
<hr />
<p><a href="http://imeowza.com/2012/02/10/weekend-cat-blogging-5/">Weekend Cat Blogging #349</a> (Valentines Day edition) is hosted by <b>Meowza</b>.</p>
<p>The <a href="http://whistlestopphotohunt.blogspot.com/2012/02/heart.html">Saturday Photohunt</a> theme is <b>Heart</b>.</p>
<p>The <b>Carnival of the Cats</b> will be up this Sunday at <a href="http://www.opinionatedpussycat.com/">Meowzings of an Opinionated Pussycat</a>.</p>
<p>And the <a href="http://themodulator.org/archives/003590.html">Friday Ark</a> is at <b>the modulator</b>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2012/02/weekend-cat-blogging-and-photo-hunt-heart/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>11:11 on 11/11/11</title>
		<link>http://www.ptank.com/blog/2011/11/1111-on-111111/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=1111-on-111111</link>
		<comments>http://www.ptank.com/blog/2011/11/1111-on-111111/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 20:12:32 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Luna]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[11]]></category>
		<category><![CDATA[11/11/11]]></category>
		<category><![CDATA[black cat]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[eleven]]></category>
		<category><![CDATA[factorization]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[prime numbers]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=7727</guid>
		<description><![CDATA[At 11:11 on this day 11/11/11, I snapped screenshots of both the iPad and iPhone featuring Luna. Of course, the symmetry and homogeneity of the date and time is quite attractive, and unique (at least within a given century). The number 111111 is also interesting when you decompose it into primes: 111111 = 11 * [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/11/luna-111111-ipad.png" alt="" title="luna-111111-ipad" width="500" height="375" class="alignnone size-full wp-image-7729" /></p>
<p>At 11:11 on this day 11/11/11, I snapped screenshots of both the iPad and iPhone featuring Luna.</p>
<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/11/luna_111111_iphone.png" alt="" title="luna_111111_iphone" width="267" height="400" class="alignnone size-full wp-image-7728" /></p>
<p>Of course, the symmetry and homogeneity of the date and time is quite attractive, and unique (at least within a given century).  The number <b>111111</b> is also interesting when you decompose it into primes:</p>
<p><code>111111 = 11 * 13 * 3 * 37 * 7</code></p>
<p>I find the prime factorization quite poetic.</p>
<p>We can also factor the date and time together (11:11:11 on 11/11/11):</p>
<p><code>111111111111 = 11 * 13 * 3 * 37 * 7 * 101 * 9901</code></p>
<p>Note quite as poetic as the previous example, but still interesting.  In particular, <b>9901</b> is interesting as the greatest prime factor for any repeating series of 12 numbers.  Other related properties can be seen at the site <a href="http://primes.utm.edu/curios/page.php/9901.html">Prime Curios</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2011/11/1111-on-111111/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Weekend Cat Blogging and Photo Hunt: Digital</title>
		<link>http://www.ptank.com/blog/2011/05/weekend-cat-blogging-and-photo-hunt-digital/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=weekend-cat-blogging-and-photo-hunt-digital</link>
		<comments>http://www.ptank.com/blog/2011/05/weekend-cat-blogging-and-photo-hunt-digital/#comments</comments>
		<pubDate>Sat, 07 May 2011 17:54:34 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Cats]]></category>
		<category><![CDATA[Luna]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[hyperbolic functions]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[open sound world]]></category>
		<category><![CDATA[OSW]]></category>
		<category><![CDATA[photo hunt]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[trigonometry]]></category>
		<category><![CDATA[WCB]]></category>
		<category><![CDATA[WCB309]]></category>
		<category><![CDATA[weekend cat blogging]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=6646</guid>
		<description><![CDATA[The theme of this week&#8217;s Photo Hunt is digital. Rather than simply use a digital photo &#8211; which could be any photo ever taken of Luna &#8211; I chose a couple of images that demonstrate the unique opportunities of the medium. A digital photo is really just a stream of numbers, not unlike digital audio, [...]]]></description>
			<content:encoded><![CDATA[<p>The theme of this week&#8217;s <a href="http://tnchick.blogspot.com/2011/05/photohunt-264-digital.html">Photo Hunt</a> is <strong>digital</strong>.   Rather than simply use a digital photo &#8211; which could be <em>any</em> photo ever taken of Luna &#8211; I chose a couple of images that demonstrate the unique opportunities of the medium.   A digital photo is really just a stream of numbers, not unlike digital audio, and can be processed in countless ways using digital signal processing or applying other mathematical functions.</p>
<p><img class="alignnone size-full wp-image-6648" title="vlcsnap-2011-05-07-09h33m24s247_c" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/05/vlcsnap-2011-05-07-09h33m24s247_c.png" alt="" width="320" height="240" /></p>
<p>For a piece I originally did in 2007, I took one of Luna&#8217;s adoption photos from Santa Cruz County Animal Services and applied an algorithm that overlaid these colored bands, as shown above.  The color bands were generated using a set of hastily chosen trigonometric and hyperbolic functions applied to the timeline of the animation sequence.  These photos are stills from the full animation.</p>
<p><img class="alignnone size-full wp-image-6647" title="vlcsnap-2011-05-07-09h31m21s234_c" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/05/vlcsnap-2011-05-07-09h31m21s234_c.png" alt="" width="320" height="240" /></p>
<p>I did these using image and video extensions to Open Sound World &#8211; one nice feature of that work was that I could use the same functions for both audio and video, and &#8220;see&#8221; what a particular audio-processing algorithm looked like when applied to an image.   And I would probably use the <a href="http://www.processing.org">Processing</a> environment for future visual work, perhaps in conjunction with OSW.</p>
<hr />
<p><a href="http://dancingbillysf.blogspot.com/2011/05/its-mine-turn-again.html">Weekend Cat Blogging #309</a> and <b>Carnival of the Cats</b> are both being hosted by <b>Billy SweetFeets</b> this weekend.  Perhaps Luna&#8217;s animation could be part of one of the dance videos they often feature.</p>
<p><a href="http://tnchick.blogspot.com/2011/05/photohunt-264-digital.html">Photo Hunt #264</b> is hosted by <b>tnchick</b>.  This week&#8217;s theme is <b>digital</b>.</p>
<p>And the <a href="http://themodulator.org/archives/003547.html">Friday Ark</a> is at <b>the modulator</b>.</p>
<p>A special note this week.  Our friend <b>Judi</b> at <b>Judi&#8217;s Mind over Matter</b> (home of <b>Jules</b> and <b>Vincent</b>) has information on <a href="http://judi-mindovermatter.blogspot.com/2011/05/weekend-cat-blogging-309.html">how to help animals affected the storms and tornadoes in the southeast US</a>.  They live in Alabama, not far from the place that was hit hardest by the tornadoes.  We&#8217;re glad they&#8217;re safe, and able to provide this information for those who would like to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2011/05/weekend-cat-blogging-and-photo-hunt-digital/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>108</title>
		<link>http://www.ptank.com/blog/2011/04/108/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=108</link>
		<comments>http://www.ptank.com/blog/2011/04/108/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 23:58:48 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Highways]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[108]]></category>
		<category><![CDATA[ca 108]]></category>
		<category><![CDATA[golden ratio]]></category>
		<category><![CDATA[hinduism]]></category>
		<category><![CDATA[hyperfactorial]]></category>
		<category><![CDATA[ny 108]]></category>
		<category><![CDATA[yoga]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=6506</guid>
		<description><![CDATA[Sometimes when things get a bit overwhelming it&#8217;s good to turn to numbers and highways. As mentioned in earlier posts, I maintain a rather cursory yoga routine for both health/exercise and grounding. The number 108 comes up fairly often in cycles of repetition and I have been curious about its significance. Long before it was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-6514 alignnone" title="108" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/04/108.png" alt="" width="320" height="200" /></p>
<p>Sometimes when things get a bit overwhelming it&#8217;s good to turn to numbers and highways. As mentioned in earlier posts, I maintain a rather cursory yoga routine for both health/exercise and grounding.  The number <strong>108</strong> comes up fairly often in cycles of repetition and I have been curious about its significance.  Long before it was featured on <em>Lost</em>, 108 prominently figured in Hinduism as the number of beads on a <em>mala</em> and in other contexts, and through Hinduism finds its way into Buddhism.  108 has several interesting purely mathematical properties.  My favorite is its being the <em>hyperfactorial</em> of 3.  The hyperfactorial is the product of consecutive integers, each raised to itself as an exponent:</p>
<p>1<sup>1</sup> x 2<sup>2</sup> x 3<sup>3</sup> = 108</p>
<p>Among the more random properties is being the sum of 9 consecutive integers:</p>
<p><strong>8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 = 108</strong></p>
<p>9 is of course a divisor of 108, as in <strong>9 x 12 = 108</strong>.  And both 9 and 12 appear in the above series.</p>
<p>More significantly, 108 degrees is the angle of a vertex a regular pentagon, and 108 degrees can also be used to derive the <em>golden ratio</em>.</p>
<p><img class="size-full wp-image-6516 alignnone" title="06ea9f230655e2c5d52501e0e195f153" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/04/06ea9f230655e2c5d52501e0e195f1531.png" alt="" width="144" height="43" /></p>
<p>The relationship to the golden ratio would seem to be an interesting one, until one remembers that the representation of angles as degrees is itself arbitrarily based on the number 360.  The 3π/5 radian representation is more significant in this regard.</p>
<p><img class="alignright size-full wp-image-6512" title="ca108" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/04/ca1081.png" alt="" width="72" height="64" />And what about fun with highways numbered 108?  Here in California, state highway 108 runs from the Central Valley town of Modesto northward and eastward across the Sierra via the Sonora Pass (north of Yosemite) to meet US 395 on the eastern side of the Sierra.</p>
<p><img class="alignnone size-full wp-image-6508" title="1840465631_65f2623a1f" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/04/1840465631_65f2623a1f.jpg" alt="" width="500" height="375" /></p>
<p>[<em>Photo by <a href="http://www.flickr.com/photos/jodastephen/1840465631/">jodastephen</a> on flickr.  (License CC BY-ND 2.0)</em>]</p>
<p>While I have not driven CA 108, I am sure I have crossed its path on CA 120 on the way to Yosemite.  From the picture above, it looks like it would be a nice drive, particularly in the summer.  The eastern side of the Sierra has that stark, desolate quality, in comparison to the heavily wooded slopes on the western side.  They are both quite beautiful, but the eastern side tends to speak to me more.</p>
<p>In New York, Route 108 is a short highway on Long Island.  In fact, it is very short, a little under two miles total.  It&#8217;s southern terminus is the picture below.</p>
<p><img class="alignnone size-medium wp-image-6507" title="New_York_State_Route_108's_southern_terminus_and_County_Route_11's_missigned_terminus" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/04/New_York_State_Route_108s_southern_terminus_and_County_Route_11s_missigned_terminus-300x225.jpg" alt="" width="300" height="225" /></p>
<p>[<em>Photo by <a href="http://www.flickr.com/photos/7327243@N05/4319951994">dougtone</a> on flickr.  (License CC BY-SA 2.0)</em>]</p>
<blockquote><p><img class="alignright size-full wp-image-6513" title="ny108" src="http://www.ptank.com/wordpress/wp-content/uploads/2011/04/ny108.png" alt="" width="80" height="64" />Route 108 southbound crosses into Nassau County, but soon curves away back into Suffolk. Soon after, the two-lane road continues into Trail View State Park, where the route becomes desolate, passing two local ponds.</p></blockquote>
<p>It is interesting how the word &#8220;desolate&#8221; can come up for both highways, with very different connotations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2011/04/108/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pi Day, 2011 (with Music)</title>
		<link>http://www.ptank.com/blog/2011/03/pi-day-2011/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pi-day-2011</link>
		<comments>http://www.ptank.com/blog/2011/03/pi-day-2011/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 19:41:10 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[digits]]></category>
		<category><![CDATA[electronic music]]></category>
		<category><![CDATA[pi]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=6357</guid>
		<description><![CDATA[Every year, we at CatSynth join numerous other mathematics enthusiasts, geeks and otherwise eccentric characters in celebrating Pi Day on March 14. March 14 is notated in the U.S. and some other countries as &#8220;3-14&#8243;, which evokes the opening digits of &#960; (pi). Although the date representation is a very arbitrary connection to the number, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/03/funny-pictures-pi-cat-225x300.jpg" alt="" title="funny-pictures-pi-cat" width="225" height="300" class="alignright size-medium wp-image-6376" />Every year, we at CatSynth join numerous other mathematics enthusiasts, geeks and otherwise eccentric characters in celebrating <b>Pi Day</b> on March 14.</p>
<p>March 14 is notated in the U.S. and some other countries as &#8220;3-14&#8243;, which evokes the opening digits of &pi; (pi).  Although the date representation is a very arbitrary connection to the number, we also recognize that the representation of &pi; in decimal digits is arbitrary, an accident of human beings having ten fingers.  So this year we are exploring the representations in binary and other related bases.</p>
<p>To represent an integer in binary, one of course presents it as a sum of powers of two, e.g., <b>11 = 8 + 2 + 1</b> or <b>1011</b> in binary.  But one can also represent fractional numbers in binary.  Digits to the right of the decimal point represents powers of one-half.  So the binary number <b>0.11</b> is <b>1/2 + 1/4</b>, or <b>3/4</b>.  Fractions like <b>1/3</b> can be represented with repeating digits as <b>0.010101&#8230;</b>, much like in base ten.  And this concept can be extended to irrational numbers like &pi;.</p>
<p>The author of <a href="http://www.befria.nu/elias/pi/binpi.html">this website</a> has calculated 32768 digits of pi in binary.  We reprint the first 258 below:</p>
<pre>
11.
00100100 00111111 01101010 10001000 10000101 10100011 00001000 11010011
00010011 00011001 10001010 00101110 00000011 01110000 01110011 01000100
10100100 00001001 00111000 00100010 00101001 10011111 00110001 11010000
00001000 00101110 11111010 10011000 11101100 01001110 01101100 10001001
</pre>
<p>The initial &#8220;11&#8243; represents the 3 in &pi;, and the remaining digits begin the non-integral portion.  Like in the decimal representation, the binary representation continues forever with no particular pattern.  While not as iconic or memorable as the decimal representation 3.14159&#8230;, there is something about the binary representation that makes it seem more universal, i.e., based on fundamental mathematical truths rather than a quirk of human anatomy.  For me, the binary representation also lends itself to musical ideas.  And for the occasion, I have created a couple of short synthesized pieces representing the 32768 binary digits of pi.  In the first example, each binary digit represents a sample.  The &#8220;1&#8243; represents full amplitude and the zero represents no amplitude (silence).  The result, which at 44.1kHz sample rate is less than one second long, can be heard below.</p>
<p><object data="http://bandcamp.com/EmbeddedPlayer/track=32775402/size=venti/bgcol=FFFFFF/linkcol=4285BB//"; type="text/html" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="100"><param name="movie" value="http://bandcamp.com/EmbeddedPlayer/track=32775402/size=venti/bgcol=FFFFFF/linkcol=4285BB//"><param name="quality" value="high"><param name="allowNetworking" value="always"><param name="wmode" value="transparent"><param name="bgcolor" value="#FFFFFF"><param name="allowScriptAccess" value="never"><object data="http://bandcamp.com/EmbeddedPlayer/track=32775402/size=venti/bgcol=FFFFFF/linkcol=4285BB//"; type="text/html" width="400" height="100"></object></object></p>
<p>The random configuration of digits sounds like noise, and more specifically like white noise, suggesting something approaching uniform randomness at least to human hearing.  I also made an example slowed down to a level whether the individual samples became musical events.  I find this one quite interesting.  </p>
<p><object data="http://bandcamp.com/EmbeddedPlayer/track=3047891353/size=venti/bgcol=FFFFFF/linkcol=4285BB//"; type="text/html" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="100"><param name="movie" value="http://bandcamp.com/EmbeddedPlayer/track=3047891353/size=venti/bgcol=FFFFFF/linkcol=4285BB//"><param name="quality" value="high"><param name="allowNetworking" value="always"><param name="wmode" value="transparent"><param name="bgcolor" value="#FFFFFF"><param name="allowScriptAccess" value="never"><object data="http://bandcamp.com/EmbeddedPlayer/track=3047891353/size=venti/bgcol=FFFFFF/linkcol=4285BB//"; type="text/html" width="400" height="100"></object></object></p>
<p>With some additional refinement (and may some more digits to extend the length), it could certainly stand alone as a composition.</p>
<p>One interesting counterpoint to the notion that digits of pi form white noise is a conjecture related to its representation in hexadecimal (base 16), which as a power of two is &#8220;closer&#8221; to binary and seemingly less arbitrary than decimal.  From <a href="http://mathworld.wolfram.com/PiDigits.html">Wolfram MathWorld</a>, we find the following &#8220;remarkable recursive formula conjectured to give the <i>n</i>th hexadecimal digit of &pi; &#8211; 3 is given by <img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/03/Inline12b.gif" alt="" title="Inline12" width="70" height="14" class="alignnone size-full wp-image-6364" /> where <img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/03/Inline13b.gif" alt="" title="Inline13b" width="17" height="14" class="alignnone size-full wp-image-6370" /> is the floor function:</p>
<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/03/NumberedEquation2b-300x56.gif" alt="" title="NumberedEquation2" width="300" height="56" class="alignnone size-medium wp-image-6366" /></p>
<p>The formula is attributed to (Borwein and Bailey 2003, Ch. 4; Bailey et al. 2007, pp. 22-23).  If true, it would add some sense of order to the digits, and thus additional musical possibilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2011/03/pi-day-2011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Properties of 2011</title>
		<link>http://www.ptank.com/blog/2011/01/2011/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=2011</link>
		<comments>http://www.ptank.com/blog/2011/01/2011/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 18:02:30 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[digits]]></category>
		<category><![CDATA[number theory]]></category>
		<category><![CDATA[prime number]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=6022</guid>
		<description><![CDATA[The number &#8220;2011&#8243; abounds with fun numerical and &#8220;visual-numerical&#8221; properties. Early into the new year, we experienced the time &#8220;1:11:11 on 1/1/11&#8243;. And this week, we had the even more auspicious &#8220;1:11:11 on 1/11/11&#8243;, at least with the date-writing convention we use in the United States. This week all the dates have been palindromes using [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2011/01/2011.png" alt="" title="2011" width="360" height="240" class="alignnone size-full wp-image-6024" /></p>
<p>The number &#8220;2011&#8243; abounds with fun numerical and &#8220;visual-numerical&#8221; properties.  Early into the new year, we experienced the time <b>&#8220;1:11:11 on 1/1/11&#8243;</b>.  And this week, we had the even more auspicious <b>&#8220;1:11:11 on 1/11/11&#8243;</b>, at least with the date-writing convention we use in the United States.  This week all the dates have been palindromes using the two-digit year convention, e.g., today is &#8220;1 14 11&#8243;, and if one uses the full four-digit year, this past Monday was &#8220;1 10 2011&#8243;, also a palindrome.</p>
<p>While text-based properties are fun, they are somewhat arbitrary and less interesting than mathematical properties of numbers.  First, 2011 is a prime number, the first prime year since 2003.  And from <a href="http://twitter.com.mathematicsprof">@mathematicsprof</a> on twitter, we have this interesting coincidence:</p>
<p><i>&#8220;2011 is also the sum of 11 CONSECUTIVE prime numbers:<br />
2011=157+163+167+173+179+181+191+193+197+199+211&#8243;</i>. </p>
<p>In other words, this is not just a series of prime numbers, but all the prime numbers between 157 and 211.  I like that the last prime in the series happens to be 211!</p>
<p>The <a href="http://republicofmath.wordpress.com/2011/01/01/happy-mathematical-new-year-2011-is-the-sum-of-11-consecutive-prime-numbers/">Republic of Math</a> blog follows the consecutive-prime inquiry further, with the observation that 2011 can also be written as the sum of three consecutive primes &#8220;661 673 and 677&#8243;. </p>
<p>From <a href="http://powerofproofs.wordpress.com/2011/01/02/properties-of-2011/">The Power of Proofs</a>, we have the property that <b>2011</b> is the sum of three squares:</p>
<p><b>2011 = 39<sup>2</sup> + 17<sup>2</sup> + 7<sup>2</sup></b></p>
<p>However, any number not congruent to 7 modulo 8 will have such a property.  I.e., if you divide 2011 by 8, you have 3 left over.  So really 7 out of 8 integers can be expressed this way.  Finding the series of squares can take some time, though.</p>
<p>Please feel free to share any other mathematical or fun coincidental properties in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2011/01/2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Happy 102nd Birthday to Elliott Carter</title>
		<link>http://www.ptank.com/blog/2010/12/happy-102nd-birthday-to-elliott-carter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=happy-102nd-birthday-to-elliott-carter</link>
		<comments>http://www.ptank.com/blog/2010/12/happy-102nd-birthday-to-elliott-carter/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 08:11:14 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[atonal music]]></category>
		<category><![CDATA[birthday]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[elliott carter]]></category>
		<category><![CDATA[musical set theory]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=5877</guid>
		<description><![CDATA[This evening we at CatSynth wish a slightly-belated 102nd birthday to Elliott Carter. His birthday was this past Saturday, December 11. An inspiring figure, not only has he lived to an impressive age, but continues to be a prolific composer. Indeed, as reported on Sequenza21, he attended a concert in Toronto entirely of works he [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-5878 alignright" title="220px-ElliottCarter" src="http://www.ptank.com/wordpress/wp-content/uploads/2010/12/220px-ElliottCarter.jpg" alt="" width="176" height="286" />This evening we at CatSynth wish a slightly-belated 102nd birthday to <a href="http://en.wikipedia.org/wiki/Elliott_Carter">Elliott Carter</a>.  His birthday was this past Saturday, December 11.  An inspiring figure, not only has he lived to an impressive age, but continues to be a prolific composer.  Indeed, as reported on <a href="http://www.sequenza21.com/2010/12/happy-102nd-birthday-elliott-carter/">Sequenza21</a>, he attended a concert in Toronto entirely of works he has composed since turning 100.  They also mention that earlier last week he attended a concert in honor of that young upstart Pierre Boulez, who turned 85 this year.</p>
<p>It was also interesting to see him placed in the context of the last century, from a personal connection with Charles Ives, one of the first &#8220;truly modern&#8221; American composers stretching to the current era.  His work, like Ives and those that followed in that tradition, is very often very complex and often very precise in detail (and challenging to perform).  Of interest to those like me who are also into mathematics alongside music, many of his formal methods with pitches and harmonies used more complex combinatorial structures than earlier serial composers, including collections of all possible pitches of a particular length &#8211; an approach that would later be categories as &#8220;musical set theory.&#8221;  Many of these ideas  have been collected in the <a href="http://www.amazon.com/gp/product/0825846900?ie=UTF8&amp;tag=peoplestankenter&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0825846900">Harmony Book</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=peoplestankenter&amp;l=as2&amp;o=1&amp;a=0825846900" border="0" alt="" width="1" height="1" /> which was published in 2002 (when Carter would have been 93).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2010/12/happy-102nd-birthday-to-elliott-carter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autonomous Individuals Network, 23 SECONDS ov TIME,</title>
		<link>http://www.ptank.com/blog/2010/10/autonomous-individuals-network-23-seconds-of-time/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=autonomous-individuals-network-23-seconds-of-time</link>
		<comments>http://www.ptank.com/blog/2010/10/autonomous-individuals-network-23-seconds-of-time/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 16:46:51 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[23]]></category>
		<category><![CDATA[amar chaudhary]]></category>
		<category><![CDATA[autonomous individuals network]]></category>
		<category><![CDATA[cd release]]></category>
		<category><![CDATA[experimental music]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=5664</guid>
		<description><![CDATA[I am happy to announce the release of 23 SECONDS OV TIME, a project of the Autonomous Individuals Network in which I am participating. The collection contains 97 individual tracks, each exactly 23 seconds in length, with the total assemblage running for 37 minutes and 14 seconds. You can find my 23-second contribution, entitled &#8220;Four [...]]]></description>
			<content:encoded><![CDATA[<p>I am happy to announce the release of <a href="http://www.ain23.com/23sot/">23 SECONDS OV TIME</a>, a project of the <a href="http://www.ain23.com">Autonomous Individuals Network</a> in which I am participating.</p>
<p><img src="http://www.ptank.com/wordpress/wp-content/uploads/2010/10/23SOT_cover.jpg" alt="" title="23SOT_cover" width="288" height="288" class="alignnone size-full wp-image-5665" /></p>
<p>The collection contains <b>97</b> individual tracks, each exactly <b>23</b> seconds in length, with the total assemblage running for 37 minutes and 14 seconds.   You can find my 23-second contribution, entitled &#8220;Four ideas in 23 seconds&#8221;, at track <b>80</b>!</p>
<p>Volume One will be released in a limited edition of 123 hand numbered CD Copies.<br />
This CD is planned for release on November 23,2010.  Until November 23, you can <a href="http://www.ain23.com/23sot/">download or stream the entire collection for free</a> as a single MP3.  In either format, I encourage everyone to check it out!</p>
<p>It is interesting to hear the pieces as a single unit, with such short durations they become phrases in a larger whole piece, sometimes with very sharp transitions.</p>
<p>You can also find out more about <a href="http://www.ain23.com/index23.html">the Autonomous Individuals Network</a> (and the significance of 23) at the official website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2010/10/autonomous-individuals-network-23-seconds-of-time/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RIP, Benoit Mandelbrot</title>
		<link>http://www.ptank.com/blog/2010/10/rip-benoit-mandelbrot/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rip-benoit-mandelbrot</link>
		<comments>http://www.ptank.com/blog/2010/10/rip-benoit-mandelbrot/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 20:54:26 +0000</pubDate>
		<dc:creator>CatSynth</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[fractal]]></category>
		<category><![CDATA[mandelbrot]]></category>
		<category><![CDATA[Mandelbrot set]]></category>
		<category><![CDATA[rip]]></category>
		<category><![CDATA[Yale]]></category>

		<guid isPermaLink="false">http://www.ptank.com/blog/?p=5635</guid>
		<description><![CDATA[Today we return to mathematics, and sadly note the passing of Benoît Mandelbrot. His work was very influential not only within mathematics and science, but also art and music. He is credited with coining the term &#8220;fractal&#8221; (literally, &#8220;fractional dimension&#8221;) and is often dubbed the &#8220;father of fractal geometry&#8221; &#8211; and he is of course [...]]]></description>
			<content:encoded><![CDATA[<p>Today we return to mathematics, and sadly note the passing of <a href="http://en.wikipedia.org/wiki/Benoît_Mandelbrot">Benoît Mandelbrot</a>. His work was very influential not only within mathematics and science, but also art and music.</p>
<div id="attachment_5633" class="wp-caption alignright" style="width: 210px"><a href="http://www.ptank.com/wordpress/wp-content/uploads/2010/10/200px-Benoit_Mandelbrot_mg_1804b.jpg"><img class="size-full wp-image-5633" title="Benoit Mandelbrot" src="http://www.ptank.com/wordpress/wp-content/uploads/2010/10/200px-Benoit_Mandelbrot_mg_1804b.jpg" alt="" width="200" height="200" /></a><p class="wp-caption-text">Benoit Mandelbrot.  (Photograph by Rama via Wikimedia Commons.)</p></div>
<p>He is credited with coining the term &#8220;fractal&#8221; (literally, &#8220;fractional dimension&#8221;) and is often dubbed the &#8220;father of fractal geometry&#8221; &#8211; and he is of course memorialized by the <a href="http://en.wikipedia.org/wiki/Mandelbrot_set">Mandelbrot set</a> (which is technically <em>not</em> a fractal).  I had written <a href="http://www.ptank.com/blog/2008/03/the-logistic-function-revisted/">an article that touched on the Mandlebrot set and fractals</a> for this site back back in 2008.</p>
<p>This quote from his <a href="http://www.math.yale.edu/mandelbrot/">official site at Yale</a> sums up the wide-ranging applications of his work to science and the humanities:</p>
<blockquote><p>Seeks a measure of order in physical, mathematical or social phenomena that are characterized by abundant data but extreme sample variability. The surprising esthetic value of many of his discoveries and their unexpected usefulness in teaching have made him an eloquent spokesman for the &#8220;unity of knowing and feeling.&#8221;</p></blockquote>
<p><img class="alignnone" title="Mandelbrot Set" src="http://www.ptank.com/bucket/catsynth_images/322px-Mandel_zoom_00_mandelbrot_set.jpg" alt="" width="322" height="242" /></p>
<p>I did have the opportunity to take a course at Yale for which he was a regular lecturer (the course was taught by his former colleague at IBM Research, Richard Voss).  The course was aimed at an introductory audience, and I think many of the students did not appreciate the opportunity it presented &#8211; but that left me with more time to directly ask him deeper questions in both lectures and seminars.  At the end of the term, he signed my personal copy of <em>The Fractal Geometry of Nature</em>, which still has a place of honor on my bookshelf.</p>
<p><a href="http://www.ptank.com/wordpress/wp-content/uploads/2010/10/mandelbrot_signature_1994_c.jpg"><img class="alignnone size-medium wp-image-5632" title="mandelbrot_signature_1994_c" src="http://www.ptank.com/wordpress/wp-content/uploads/2010/10/mandelbrot_signature_1994_c-269x300.jpg" alt="" width="269" height="300" /></a></p>
<p>[<em>click to enlarge</em>]</p>
<p>In reading some of the online articles this morning, I also was reminded that he and his family were part the great exodus of Jewish intellectuals from Poland and other parts of Eastern Europe in the years before World War II. It&#8217;s a story that comes up time and time again among thinkers, writers and teachers who have influenced me of the years.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ptank.com/blog/2010/10/rip-benoit-mandelbrot/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

