<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Lumber Room</title>
	<atom:link href="http://shreevatsa.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shreevatsa.wordpress.com</link>
	<description>&#34;Consign them to dust and damp by way of preserving them&#34;</description>
	<lastBuildDate>Tue, 24 Jan 2012 05:40:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shreevatsa.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Lumber Room</title>
		<link>http://shreevatsa.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shreevatsa.wordpress.com/osd.xml" title="The Lumber Room" />
	<atom:link rel='hub' href='http://shreevatsa.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Are there Fibonacci numbers starting with 2012?</title>
		<link>http://shreevatsa.wordpress.com/2012/01/08/are-there-fibonacci-numbers-starting-with-2012/</link>
		<comments>http://shreevatsa.wordpress.com/2012/01/08/are-there-fibonacci-numbers-starting-with-2012/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 19:59:26 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[mathematics]]></category>
		<category><![CDATA[unfinished]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2360</guid>
		<description><![CDATA[Do there exist powers of 2 whose first four digits are 2012? Are there Fibonacci numbers whose first four digits are 2012? If the answer is obvious to you (or you don&#8217;t care), you can stop reading. The answer for both is: Yes. There are infinitely many such numbers. In fact, the fraction of (powers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2360&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Do there exist powers of 2 whose first four digits are 2012?<br />
Are there Fibonacci numbers whose first four digits are 2012? </p>
<p>If the answer is obvious to you (or you don&#8217;t care), you can stop reading.</p>
<p>The answer for both is:</p>
<ul>
<li>Yes.</li>
<li>There are infinitely many such numbers.</li>
<li>In fact, the fraction of (powers of 2 / Fibonacci numbers) starting with 2012 is exactly
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7B%5Clog+2013+-+%5Clog+2012%7D%7B%5Clog+10%7D+%5Capprox+%5Cfrac1%7B4644%7D+%5Capprox+0.000216&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;frac{&#92;log 2013 - &#92;log 2012}{&#92;log 10} &#92;approx &#92;frac1{4644} &#92;approx 0.000216' title='&#92;displaystyle &#92;frac{&#92;log 2013 - &#92;log 2012}{&#92;log 10} &#92;approx &#92;frac1{4644} &#92;approx 0.000216' class='latex' /></p>
</li>
</ul>
<p>Similarly with any other prefix <i>p</i> (of any length) in place of 2012. Proof follows.</p>
<hr />
<p>A number <i>x</i> starts with a prefix <i>p</i> if and only if for some <i>k ≥ 0</i>,</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+p+%5Ccdot+10%5Ek+%5Cle+x+%3C+%28p%2B1%29+%5Ccdot+10%5Ek&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle p &#92;cdot 10^k &#92;le x &lt; (p+1) &#92;cdot 10^k' title='&#92;displaystyle p &#92;cdot 10^k &#92;le x &lt; (p+1) &#92;cdot 10^k' class='latex' /></p>
<p>Thus a power of 2, say 2<sup>n</sup>, starts with <i>p</i> iff</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+p+%5Ccdot+10%5Ek+%5Cle+2%5En+%3C+%28p%2B1%29+%5Ccdot+10%5Ek&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle p &#92;cdot 10^k &#92;le 2^n &lt; (p+1) &#92;cdot 10^k' title='&#92;displaystyle p &#92;cdot 10^k &#92;le 2^n &lt; (p+1) &#92;cdot 10^k' class='latex' /> for some <img src='http://s0.wp.com/latex.php?latex=k+%5Cge+0&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='k &#92;ge 0' title='k &#92;ge 0' class='latex' /></p>
<p>Taking logarithms to base 10 and simplifying, this is equivalent to</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Clog+p+%3C+n%5Clog2+-+k+%3C+%5Clog%28p%2B1%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;log p &lt; n&#92;log2 - k &lt; &#92;log(p+1)' title='&#92;displaystyle &#92;log p &lt; n&#92;log2 - k &lt; &#92;log(p+1)' class='latex' /> for some <img src='http://s0.wp.com/latex.php?latex=k+%5Cge+0&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='k &#92;ge 0' title='k &#92;ge 0' class='latex' /></p>
<p>This is saying that the <a href="http://mathworld.wolfram.com/FractionalPart.html">fractional part</a> of <img src='http://s0.wp.com/latex.php?latex=n%5Clog+2&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;log 2' title='n&#92;log 2' class='latex' /> lies between the fractional parts of <img src='http://s0.wp.com/latex.php?latex=%5Clog+p&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log p' title='&#92;log p' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Clog+%28p%2B1%29.&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log (p+1).' title='&#92;log (p+1).' class='latex' /> For example, if <img src='http://s0.wp.com/latex.php?latex=p+%3D+2012&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='p = 2012' title='p = 2012' class='latex' />, this means that the fractional part of <img src='http://s0.wp.com/latex.php?latex=n%5Clog+2&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;log 2' title='n&#92;log 2' class='latex' /> lies between <img src='http://s0.wp.com/latex.php?latex=%5Clog+2.012+%5Capprox+0.303628&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log 2.012 &#92;approx 0.303628' title='&#92;log 2.012 &#92;approx 0.303628' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Clog+2.013+%5Capprox+0.303844&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log 2.013 &#92;approx 0.303844' title='&#92;log 2.013 &#92;approx 0.303844' class='latex' />.</p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /><br />
<img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p>Similarly, for Fibonacci numbers, as is (or should be) <a href="http://en.wikipedia.org/w/index.php?title=Fibonacci_number&amp;oldid=457916641#Computation_by_rounding">well-known</a>, the <i>n</i>th Fibonacci number F<sub>n</sub> is the closest integer to <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7B%5Cphi%5En%7D%7B%5Csqrt5%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;frac{&#92;phi^n}{&#92;sqrt5}' title='&#92;displaystyle &#92;frac{&#92;phi^n}{&#92;sqrt5}' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cphi+%3D+%5Cfrac%7B1%2B%5Csqrt5%7D2&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;phi = &#92;frac{1+&#92;sqrt5}2' title='&#92;displaystyle &#92;phi = &#92;frac{1+&#92;sqrt5}2' class='latex' /> is the golden ratio. So <img src='http://s0.wp.com/latex.php?latex=F_n&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='F_n' title='F_n' class='latex' /> starts with <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='p' title='p' class='latex' /> iff</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+p+%5Ccdot+10%5Ek+-+%5Cfrac12+%5Cquad+%3C+%5Cquad+%5Cfrac%7B%5Cphi%5En%7D%7B%5Csqrt5%7D+%5Cquad+%3C+%5Cquad+%28p%2B1%29+%5Ccdot+10%5Ek+-+%5Cfrac12&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle p &#92;cdot 10^k - &#92;frac12 &#92;quad &lt; &#92;quad &#92;frac{&#92;phi^n}{&#92;sqrt5} &#92;quad &lt; &#92;quad (p+1) &#92;cdot 10^k - &#92;frac12' title='&#92;displaystyle p &#92;cdot 10^k - &#92;frac12 &#92;quad &lt; &#92;quad &#92;frac{&#92;phi^n}{&#92;sqrt5} &#92;quad &lt; &#92;quad (p+1) &#92;cdot 10^k - &#92;frac12' class='latex' /></p>
<p>Taking logarithms to base 10 and simplifying, while ignoring the annoying <img src='http://s0.wp.com/latex.php?latex=%5Cfrac12&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;frac12' title='&#92;frac12' class='latex' /> which becomes irrelevant in the limit (this line is not rigorous), this is equivalent to</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Clog%28p%29+%2B+%5Clog%5Csqrt5+%5Cquad+%3C+%5Cquad+n%5Clog%5Cphi+-+k+%5Cquad+%3C+%5Cquad+%5Clog%28p%2B1%29+%2B+%5Clog%5Csqrt5&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;log(p) + &#92;log&#92;sqrt5 &#92;quad &lt; &#92;quad n&#92;log&#92;phi - k &#92;quad &lt; &#92;quad &#92;log(p+1) + &#92;log&#92;sqrt5' title='&#92;displaystyle &#92;log(p) + &#92;log&#92;sqrt5 &#92;quad &lt; &#92;quad n&#92;log&#92;phi - k &#92;quad &lt; &#92;quad &#92;log(p+1) + &#92;log&#92;sqrt5' class='latex' /></p>
<p>which means that the fractional part of <img src='http://s0.wp.com/latex.php?latex=n%5Clog+%5Cphi&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;log &#92;phi' title='n&#92;log &#92;phi' class='latex' /> lies between the fractional parts of <img src='http://s0.wp.com/latex.php?latex=%5Clog+p+%2B++%5Clog%5Csqrt5&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log p +  &#92;log&#92;sqrt5' title='&#92;log p +  &#92;log&#92;sqrt5' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Clog+%28p%2B1%29+%2B+%5Clog%5Csqrt5&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log (p+1) + &#92;log&#92;sqrt5' title='&#92;log (p+1) + &#92;log&#92;sqrt5' class='latex' />. For <img src='http://s0.wp.com/latex.php?latex=p+%3D+2012&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='p = 2012' title='p = 2012' class='latex' />, this means that the fractional part of <img src='http://s0.wp.com/latex.php?latex=n%5Clog+%5Cphi&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;log &#92;phi' title='n&#92;log &#92;phi' class='latex' /> lies between <img src='http://s0.wp.com/latex.php?latex=%5Clog+2.012+%2B+%5Clog%5Csqrt5+%5Capprox+0.653113&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log 2.012 + &#92;log&#92;sqrt5 &#92;approx 0.653113' title='&#92;log 2.012 + &#92;log&#92;sqrt5 &#92;approx 0.653113' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Clog+2.013+%2B+%5Clog%5Csqrt5+%5Capprox+0.653329&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log 2.013 + &#92;log&#92;sqrt5 &#92;approx 0.653329' title='&#92;log 2.013 + &#92;log&#92;sqrt5 &#92;approx 0.653329' class='latex' />.</p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p>In either case, we are trying to make the fractional part of <img src='http://s0.wp.com/latex.php?latex=n%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;theta' title='n&#92;theta' class='latex' />, for some irrational number <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />, lie in some interval. The relevant fact is this:<br />
<strong>Theorem 1</strong>: for any irrational number <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />, the sequence <img src='http://s0.wp.com/latex.php?latex=%5Cmathrm%7Bfrac%7D%28n%5Ctheta%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;mathrm{frac}(n&#92;theta)' title='&#92;mathrm{frac}(n&#92;theta)' class='latex' /> (where <img src='http://s0.wp.com/latex.php?latex=%5Cmathrm%7Bfrac%7D%28x%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;mathrm{frac}(x)' title='&#92;mathrm{frac}(x)' class='latex' /> denotes the fractional part of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='x' title='x' class='latex' />) is dense in <img src='http://s0.wp.com/latex.php?latex=%5B0%2C+1%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='[0, 1)' title='[0, 1)' class='latex' />.<br />
or, in other words,<br />
<strong>Theorem 1</strong>: For any irrational number <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />, the sequence <img src='http://s0.wp.com/latex.php?latex=n%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;theta' title='n&#92;theta' class='latex' /> is dense modulo <img src='http://s0.wp.com/latex.php?latex=1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='1' title='1' class='latex' />.<br />
Proving this theorem is a good exercise.</p>
<p>This means that for any interval you want, you can always find some <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n' title='n' class='latex' /> such that the fractional part of <img src='http://s0.wp.com/latex.php?latex=n%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;theta' title='n&#92;theta' class='latex' /> lies in your interval. In fact, because the sequence is dense, you can find an infinite sequence of <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n' title='n' class='latex' /> such that the fractional parts of <img src='http://s0.wp.com/latex.php?latex=n%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;theta' title='n&#92;theta' class='latex' /> converge to the midpoint (say) of the desired interval. This proves the first two facts of the answer, and for the third we need a stronger theorem:</p>
<p><strong> Theorem 2</strong> [<a href="en.wikipedia.org/wiki/Equidistribution_theorem">Equidistribution theorem</a>]: For any irrational number <img src='http://s0.wp.com/latex.php?latex=%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;theta' title='&#92;theta' class='latex' />, the numbers <img src='http://s0.wp.com/latex.php?latex=n%5Ctheta&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n&#92;theta' title='n&#92;theta' class='latex' /> are uniformly distributed modulo 1.</p>
<p>This means that for any interval <img src='http://s0.wp.com/latex.php?latex=I+%5Csubset+%5B0%2C1%5D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='I &#92;subset [0,1]' title='I &#92;subset [0,1]' class='latex' /> of size <img src='http://s0.wp.com/latex.php?latex=s&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='s' title='s' class='latex' /> (say), the fraction of integers <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n' title='n' class='latex' /> for which <img src='http://s0.wp.com/latex.php?latex=%5Cmathrm%7Bfrac%7D%28n%5Ctheta%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;mathrm{frac}(n&#92;theta)' title='&#92;mathrm{frac}(n&#92;theta)' class='latex' /> lies in the interval satisfies </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Clim_%7BN+%5Cto+%5Cinfty%7D+%5Cfrac%7B+%5Cleft%7C%5Cleft%5C%7B+1+%5Cle+n+%5Cle+N+%3A+%5Cmathrm%7Bfrac%7D%28n%5Ctheta%29+%5Cin+I%5Cright%5C%7D%5Cright%7C%7D%7BN%7D+%3D+s&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;lim_{N &#92;to &#92;infty} &#92;frac{ &#92;left|&#92;left&#92;{ 1 &#92;le n &#92;le N : &#92;mathrm{frac}(n&#92;theta) &#92;in I&#92;right&#92;}&#92;right|}{N} = s' title='&#92;displaystyle &#92;lim_{N &#92;to &#92;infty} &#92;frac{ &#92;left|&#92;left&#92;{ 1 &#92;le n &#92;le N : &#92;mathrm{frac}(n&#92;theta) &#92;in I&#92;right&#92;}&#92;right|}{N} = s' class='latex' /></p>
<p>This proves the third fact. The fraction of Fibonacci numbers (or of powers of a number that is not a power of 10) that start with a prefix <img src='http://s0.wp.com/latex.php?latex=p+%5Cge+1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='p &#92;ge 1' title='p &#92;ge 1' class='latex' /> is exactly <img src='http://s0.wp.com/latex.php?latex=%5Clog%28p%2B1%29+-+%5Clog%28p%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;log(p+1) - &#92;log(p)' title='&#92;log(p+1) - &#92;log(p)' class='latex' /> where log is to base 10. </p>
<hr />
<p>That much is standard. And non-constructive. We are assured of the existence of such numbers, but how do we actually find one? </p>
<p>The answer (or one answer), as it so often does in these problems, involves continued fractions. Here is one method, <i>[to be continued when I wake up :p]</i></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2360/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2360&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2012/01/08/are-there-fibonacci-numbers-starting-with-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />
	</item>
		<item>
		<title>Avadhana</title>
		<link>http://shreevatsa.wordpress.com/2011/12/19/avadhana/</link>
		<comments>http://shreevatsa.wordpress.com/2011/12/19/avadhana/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 20:14:48 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[sanskrit]]></category>
		<category><![CDATA[avadhana]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[Ganesh]]></category>
		<category><![CDATA[Shatavadhani]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2443</guid>
		<description><![CDATA[How many things can you do simultaneously in your head? Yesterday A couple of weeks ago Nearly three months ago, I attended an avadhana, by Shatavadhani Dr. R. Ganesh. Already (the very next day) my friend Mohan has written about it in great detail, but since I had started scribbling something down then, I thought [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2443&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>How many things can you do simultaneously in your head?</em></p>
<p><s>Yesterday</s> <s>A couple of weeks ago</s> Nearly three months ago, I attended an <i>avadhana</i>, by Shatavadhani Dr. R. Ganesh. Already (the very next day) my friend <a href="http://mohankv.blogspot.com/2011/09/shatavadhani-dr-r-ganeshs-ashtavadhana.html">Mohan has written about it</a> in great detail, but since I had started scribbling something down then, I thought I should write a post anyway: it is easily the most incredible feat of the human mind I have ever witnessed. (Unfortunately this may not be saying much, for I have not seen, say, George Koltanowski play 34 games of blindfold chess simultaneously. So suffice it to say that repeatedly we in the audience had trouble believing that what we were seeing was really happening!)</p>
<p>The word <i>avadhāna</i>, in common usage, means &#8220;concentration&#8221; or &#8220;attention&#8221;. In the specialised sense here, an &#8220;avadhana&#8221; is a performance of sorts, an exhibition of mental concentration, multi-tasking, literary skill, erudition and wit.</p>
<p>The basic format is this: there is a performer (avadhani) on stage, and also with him are several &#8220;questioners&#8221; (<i>pṛcchaka</i>s). The performer has no access to pen or paper or any resources other than his head. The questioners give him various tasks in parallel, and he must answer them all, dividing his attention between them.</p>
<p>And these are no simple tasks! Some are harder than others, but all require great skill and concentration, especially to do them without any secondary memory (like, say, a piece of paper). Some are scheduled to happen in order, some are interrupt-driven, and all require concentration. This was an &#8220;Ashtavadhana&#8221;, so there were eight questioners/tasks (five of them had to do with composing poetry, and the rest were of a different nature):</p>
<p>1. Nishedhakshara (&#8220;letters forbidden&#8221;): the questioner gives him a topic on which to compose a verse in Sanskrit, and a metre to compose it in. Already a difficult task for mortals — metres in Sanskrit are to be strictly adhered to in every syllable; there is no amount of permitted variation as in English — but it&#8217;s nothing compared to the devilish twist here: the performer must compose the verse interactively, one letter at a time, and after each letter that he announces, the questioner imposes a constraint on what the next letter <i>must not</i> be. Thus for instance, each time the performer appears to be using a word, the questioner can prevent him from completing that word. He must find a way around this constraint, and so on till the entire line is completed.<br />
This is done in four rounds: he composes one line at a stretch in one round, and when the next round arrives, after some 40–50 minutes during which he has been facing other questions, he must pick up where he left off, relying on his memory with no external assistance. (E.g. the questioner doesn&#8217;t read back what he has composed as the first line.)</p>
<p>2. Samasya-purti: A traditional challenge, in which a line is given, and the performer has to compose a verse with it as its last line. Often the &#8220;problem&#8221; line will be nonsensical, or wholly inappropriate, and the poet has to compose his &#8220;solution&#8221; poem such that the line makes sense in context. Usually, this involves clever tricks to engineer a radical reinterpratation of the line. Ganesh gave an example from one of his earlier programmes: a line like &#8220;Hari-worshipping atheists are numerous&#8221; was worked into a poem about music, describing a raga and ending with &#8220;Bila/hari-worshipping atheists are numerous&#8221;. (Bilahari is a popular raga in Carnatic music.)<br />
In this instance, this round was in Kannada. Also done in four rounds, one line at a time.</p>
<p>3. Datta-pada (&#8220;given words&#8221;): Poem. Given topic, given metre. The catch: he is given four words that must occur in the poem, but the words are from another language. For instance, here the questioner wanted words like &#8220;ape&#8221; and &#8220;monkey&#8221; to appear in each line, and the performer&#8217;s task is to compose a poem in Kannada, with the English words occurring as segments of Kannada words. One line per round.</p>
<p>4. Chitrakavya (constrained writing): At the fringe of Sanskrit literature is <a href="http://www-roc.inria.fr/who/Ramakrishna.Upadrasta/Sanskrit/14339015-The-wonder-that-is-Sanskrit.pdf">an incredible body of constrained writing,</a> of everything from palindromes to verses which satisfy difficult constraints on their letters, or which can be re-arranged into certain &#8220;shapes&#8221;, and so on. Here the performer is asked to compose a poem on a given topic, satisfying the constraint. One line per round.</p>
<p>5. Magic square: At the start of the performance someone from the audience (or the questioner) calls out a number, and the task is to construct a 5&#215;5 magic square — a square of distinct numbers, such that every row, every column, and both diagonals sum to that number. This task is interrupt-driven: at any time during the performance — such as when he is composing a line of some poem — the performer is interrupted by the questioner who asks him for the entry in a particular row and column; the performer must give him a number and return to this task. (So 25 interruptions in all, throughout the performance.) Of all the tasks, this is the only one I feel even remotely confident of doing with a little practice, but it seemed to be the one that impressed the audience the most! Nevertheless, it is not trivial, and is definitely a distraction that can draw one&#8217;s full attention for at least a few moments. (Other avadhanas sometimes involve someone who, say, rings a bell at random moments, and the avadhani has to maintain a count of how many times the bell has rung, even as he concentrates on other tasks. A magic square is probably more impressive.)</p>
<p>6. Aprastuta-prasanga: Various meddling distractions and banter. This is interrupt-driven too. This questioner interrupts frequently, asking questions and making comments, and in general needling the performer and pulling his leg. This may include random humorous remarks, or the latest news, politics, celebrity gossip, whatever. The performer (well, Dr. Ganesh, at any rate) comes with witty replies, deflects the question (or answers it if it&#8217;s a serious one), and moves on. I&#8217;ve heard it said that while most avadhanis treat this part as something to be endured, Ganesh actually grants this role a big part in the proceedings and even delights it. This may be a sign of his wit and confidence, or (considering that there may be people in the audience who are impaired in their ability to follow the poetry, and who enjoy this part the most) a generous concession towards the modern-day audience. Either way, this role is a hard task for the questioner as well, and one fraught with danger: apparently, during a previous avadhana of Ganesh that was being conducted at the Bharatiya Vidya Bhavan with (I think) Dr. S R Leela in this role, at one point during the event the scholar Mattur Krishnamurthy who was in the audience stood up and yelled at her: &#8220;he&#8217;s trying to compose a serious poem; why do you distract with such trifles?&#8221; — but of course, that is precisely the job. And it appears Ganesh can handle any distraction. :-)<br />
If one imagines the setting of erudite scholarship in an ancient language as a stuffy one, then this sits rather incongruously in that context. So this may serve as &#8220;comic relief&#8221; from the serious stuff. But actually, I think what this round suggests is that for the <i>avadhani</i>, unlike for us, even arcane metrical composition is at the same level of difficulty as small talk!</p>
<p>7. Ashu-kavitva: Compose a poem <em>quickly</em>. While the other four poem-composing tasks involved composing a single poem, one line in each round, here he is given a topic and must compose a complete poem on it immediately. Ganesh even offered to do it in any metre specified, but as the questioner in this case didn&#8217;t specify metres, he picked different metres appropriate to the topic himself. This is one poem per round.</p>
<p>8. Kavya-vachana: Identifying poems. The questioner reads out a poem, which could be from a rather obscure work in the literature, and the performer must identify where it is from. That already requires a deep knowledge of all the literature and a great memory besides, but apparently Ganesh finds that too easy. So what happened here was that the questioner would sing the poem, and instantly, as soon as the singing ended, Ganesh would reply, identifying both the poem and the raga in which it was sung, <em>in verse</em> and in the <em>same metre</em> as the original poem, and singing it in the same raga that was used!</p>
<p>Those are the tasks. So at any given point of time, the perfomer must remember and keep in his head, at minimum, the current state of composition of four poems-in-progress, and the constraints that were imposed on them in the first place, and also the state of the magic square, all the while responding to distractions, and this over a period of several hours — nearly an hour elapsing between working on one line of the poem, and returning to it again.</p>
<p>It is hard to describe how incredible this is to witness in person. For one thing, all the questioners are demanding and trying to trip up the performer, so there&#8217;s an elaborate cat-and-mouse game going on. On top of that, even the audience, who don&#8217;t have to do anything but watch, have trouble remembering what has happened in the previous round — even those who have been taking notes —  so for the performer to recall it all from memory does make one&#8217;s jaw drop.</p>
<p>At the end of the performance, the questioners (2), (3), (4) and (7), who had asked for certain poems composed, read out their own creations, that they had composed before the performance at their own leisure. More than once, Ganesh&#8217;s compositions created in such a harsh setting were still more beautiful than the ones that had been composed with as much time as desired!</p>
<p>In an age where we&#8217;re beginning to feel in the face of technology that perhaps that we&#8217;re <a href="http://www.theatlantic.com/magazine/archive/2007/11/the-autumn-of-the-multitaskers/6342/?single_page=true">not so good at multitasking after all</a>, a traditional performance like this feels a bit like the old world turning up in style and showing us how it&#8217;s done. Whatever happened to <a href="http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two">The Magical Number 7±2</a>?</p>
<p><b>Other notes</b></p>
<p>* This was in a mixture of Sanskrit and Kannada, but he has given performances that have been entirely in Sanskrit (even the banter), those in which there are eight questioners in Kannada and eight in Sanskrit, etc.</p>
<p>* OK, all this is great, but this must be a once-in-a-lifetime performance, right? The culmination of a life of practice, that happens but once?<br />
Nope. This was Ganesh&#8217;s 917th—NINE HUNDRED AND SEVENTEENTH—avadhana. He did another one two weeks later.</p>
<p>* EIGHT people! Four hours! Must be exhausting, and about the limits of what the human mind can do? Nope. He is called &#8220;Shatavadhani&#8221; because he has at least once performed a Shatavadhana, involving a <b>hundred</b> questioners in parallel rather than eight. Not only that, but he has said he is prepared to do a Sahasravadhana, with a <b>thousand</b> questioners, but it would take over a month to perform, and it is hard to find the people to ask the questions! (And an audience, I imagine.)</p>
<p>* How did he think of doing an avadhana in the first place? What I&#8217;ve heard is that he attended one, and felt &#8220;I can do this too&#8221;. Just like that.</p>
<p>* Of the eight &#8220;questioners&#8221; (<i>pṛcchaka</i>s), only two were professionally related to Sanskrit (they were teachers/professors). The rest were from various fields — software engineers, hardware engineers, teachers of other subjects, and so on — who only pursue their love of Sanskrit in their spare time. (One of them has apparently read through the entire Apte&#8217;s dictionary several times, which is an activity I find hard to even imagine.) The audience, too, had a fair number of young people, which Ganesh commented positively upon. (&#8220;Gratifying to see a lot of black-haired heads, not just bald or grey-haired ones.&#8221;)</p>
<p>* [Other stuff which I had thought of then, but forgot to note down. Will expand if I remember.]</p>
<p><b>Further reading</b></p>
<p>* A detailed account of the entire proceedings is in <a href="http://mohankv.blogspot.com/2011/09/shatavadhani-dr-r-ganeshs-ashtavadhana.html">Mohan&#8217;s post</a>, as mentioned above. Besides the parallelism and concentration that I have described above, which is the immediately stunning fact to a newcomer, there was a striking beauty in the way he actually handled each of the problems. This is more apparent from Mohan&#8217;s post; I have intentionally emphasized the former to (sort of) complement that one. Do go and read it!</p>
<p>* <b>Edit</b>: See <a href="http://venetiaansell.wordpress.com/2009/06/11/a-modern-day-ashtavadhanam/">this post (&#8220;A Modern Day Ashtavadhanam&#8221;)</a> by Venetia Ansell. As she notes, &#8220;Highbrow Sanskrit arts are far from dead.&#8221;</p>
<p>* <a href="http://shankaraadhyayanakendra.blogspot.com/2009/01/ashtavadhana-program-report.html">Another post</a></p>
<p>* Dr. Ganesh has written a large monograph on avadhana in Kannada, for which he was awarded the first D. Litt. by Kannada University (Hampi).</p>
<p>* If you have trouble believing any of this, there are a few recordings of earlier <i>avadhana</i>s available, and you can try attending the next one.</p>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/avadhana/'>avadhana</a>, <a href='http://shreevatsa.wordpress.com/tag/awesome/'>awesome</a>, <a href='http://shreevatsa.wordpress.com/tag/ganesh/'>Ganesh</a>, <a href='http://shreevatsa.wordpress.com/tag/sanskrit/'>sanskrit</a>, <a href='http://shreevatsa.wordpress.com/tag/shatavadhani/'>Shatavadhani</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2443/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2443&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/12/19/avadhana/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>My Git personal reference</title>
		<link>http://shreevatsa.wordpress.com/2011/11/29/my-git-personal-reference/</link>
		<comments>http://shreevatsa.wordpress.com/2011/11/29/my-git-personal-reference/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 04:36:52 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[compknow]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2405</guid>
		<description><![CDATA[Various git things I&#8217;ve had to look up from time to time. (Always, while doing anything dangerous, have a gitk window open. Look, don&#8217;t guess. And if you&#8217;re sharing your repository publicly, you can forget about most of the below.) Copy commits from another repository Note that you don&#8217;t need to specify the remote&#8217;s name [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2405&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Various git things I&#8217;ve had to look up from time to time.</p>
<p>(Always, while doing anything dangerous, have a gitk window open. Look, don&#8217;t guess. And if you&#8217;re sharing your repository publicly, you can forget about most of the below.)</p>
<h2>Copy commits from another repository</h2>
<p><pre class="brush: bash;">
# 1. Add the other repo as a remote
git remote add other_repo_nickname &lt;other repo's path/url&gt;
# 2. Fetch its data. (pull = fetch + merge, so we want only fetch, not pull)
git fetch other_repo_nickname
# 3. The rest should be familiar
git cherry-pick &lt;commit&gt;
</pre> Note that you don&#8217;t need to specify the remote&#8217;s name for cherry-picking. Once you have <tt>fetch</tt>ed, all commits, even those originally from the other repo, can be identified just by hash. (If you want to refer to commit by branch, then you can identify it with &#8220;other_repo_nickname/branch_name&#8221;.)</p>
<h2>Swap commits (reorder top two commits)</h2>
<p><pre class="brush: bash;"> git rebase -i HEAD~2 </pre> and in your editor, reorder the two &#8220;pick&#8221; lines. (See <a href="http://gitready.com/advanced/2009/03/20/reorder-commits-with-rebase.html">here</a>.)</p>
<h2>Recovering commits deleted with <tt>reset --hard</tt></h2>
<p>In general, these are garbage-collected after 30 days (or when you run <tt>git prune</tt> or <tt>git gc</tt>), so you shouldn&#8217;t use <tt>reset --hard</tt> at least without doing a <tt>stash</tt> first.<br />
If the garbage-collection hasn&#8217;t happened yet, get the sha1 hash of the commit with<br />
<pre class="brush: bash;"> git reflog </pre> then make sure the commit is what you want with<br />
<pre class="brush: bash;"> git show sha1 </pre> and get the commit back with<br />
<pre class="brush: bash;"> git cherry-pick sha1 </pre> (or <tt>rebase</tt> or <tt>merge</tt> instead of <tt>cherry-pick</tt>, if that&#8217;s what you want.)</p>
<h2>Squashing commits together, to keep your history clean</h2>
<p>Use rebase. To squash the last n commits into one, do<br />
<pre class="brush: bash;"> git rebase -i HEAD~n </pre> and change all &#8220;pick&#8221;s except the first one to &#8220;squash&#8221; (or &#8220;s&#8221;). See <a href="http://jeffkreeftmeijer.com/2010/git-your-act-together/#rebase-and-amend-to-get-rid-of-oops-commits">here</a> and <a href="http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html">here</a>.</p>
<h2>Delete a specific commit</h2>
<p>Use rebase -i, again.<br />
<pre class="brush: bash;"> git rebase -i &lt;commit&gt;~1 </pre> Delete the line for the commit you want deleted. See <a href="http://stackoverflow.com/questions/1338728/how-to-delete-a-git-commit">here</a> and <a href="http://stackoverflow.com/questions/495345/git-removing-selected-commits-from-repository">here</a>.</p>
<h2>Amend a specific older commit</h2>
<p>This is tricky, and I don&#8217;t think I&#8217;ve seen it anywhere, especially for the case where there are branches that depend on it.<br />
<s>My solution: Find the first branch X that&#8217;s downstream from (= later than) it. Keep track of the whole tree downstream from X (take a screenshot if you must); you&#8217;ll need it. Checkout X, and do &#8220;rebase -i HEAD~[large enough number to cover the commit you want to amend]&#8220;. In the editor that pops up, keep all &#8220;pick&#8221; lines, changing only that one line you want to amend to &#8220;edit&#8221;. Save and close. Now git has stopped, allowing you to amend that commit. Edit the file. Do &#8220;commit &#8211;amend&#8221; (don&#8217;t forget to add all files you want included in that commit!). Do &#8220;rebase &#8211;continue&#8221;. You&#8217;re back at X now. Now for the first branch Y that was downstream from X, checkout Y, do &#8220;git rebase X&#8221;, and recurse on Y.</s><br />
This doesn&#8217;t seem work (gets into rebase conflicts). Need to try again, and ask.</p>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/git/'>git</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2405/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2405&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/11/29/my-git-personal-reference/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>ऋष्यशृंग</title>
		<link>http://shreevatsa.wordpress.com/2011/10/09/%e0%a4%8b%e0%a4%b7%e0%a5%8d%e0%a4%af%e0%a4%b6%e0%a5%83%e0%a4%82%e0%a4%97/</link>
		<comments>http://shreevatsa.wordpress.com/2011/10/09/%e0%a4%8b%e0%a4%b7%e0%a5%8d%e0%a4%af%e0%a4%b6%e0%a5%83%e0%a4%82%e0%a4%97/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 16:03:39 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[literature]]></category>
		<category><![CDATA[sanskrit]]></category>
		<category><![CDATA[sanskrit translation]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2347</guid>
		<description><![CDATA[The story of the ascetic Ṛṣyaśṛṅga (ऋष्य-शृंग, &#8220;deer-horned&#8221;) occurs in the Puranic literature. His father brought him up in an atmosphere of innocence, and he had never seen a woman. (Later, in the Rāmāyaṇa, he officiates at Daśaratha&#8217;s sacrifice for children, and it is thus through his grace that Rāma is born.) Pollock: The Ṛśyaśṛṅga [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2347&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The story of the ascetic Ṛṣyaśṛṅga (ऋष्य-शृंग, &#8220;deer-horned&#8221;) occurs in the Puranic literature. His father brought him up in an atmosphere of innocence, and he had never seen a woman. (Later, in the Rāmāyaṇa, he officiates at Daśaratha&#8217;s sacrifice for children, and it is thus through his grace that Rāma is born.) <a href="http://www.claysanskritlibrary.org/excerpts/bala/bala-notes.php">Pollock</a>:</p>
<blockquote><p>The Ṛśyaśṛṅga episode appears also [i.e, besides the Ramayana] at MBh 3.110-13, PadmP, Bengali recension, Pātālakhaṇḍa, 13 (reprinted in Lüders 1897), Bhāratamañjarī 3.758-95, Bhadrakalpāvadāna 33, Avadānakalpalatā 65, Alambusā and Naḷanikā Jātakas, etc. The episode is clearly of great importance to traditional India…</p></blockquote>
<p>Here is the story from the Vana Parva in the Mahabharata (taken <a href="http://gretil.sub.uni-goettingen.de/gretil/1_sanskr/2_epic/mbh/mbh_03_u.htm">from GRETIL</a>), accompanied by a pleasant translation in simple rhyming verse, by Arthur W. Ryder. (Scroll horizontally to read the English text and/or compare. Or to read just the English text, <a href="http://www.archive.org/stream/relativesbeing00ryderich#page/n91/mode/2up">click here</a>.)</p>
<pre>
    lomaśa uvāca
    eṣā devanadī puṇyā kauśikī bharatarṣabha
    viśvāmitrāśramo ramya eṣa cātra prakāśate
    āśramaś caiva puṇyākhyaḥ kāśyapasya mahātmanaḥ
    ṛśyaśṛṅgaḥ suto yasya tapasvī saṃyatendriyaḥ
    tapaso yaḥ prabhāvena varṣayām āsa vāsavam
    anāvṛṣṭyāṃ bhayād yasya vavarṣa balavṛtrahā
    mṛgyāṃ jātaḥ sa tejasvī kāśyapasya sutaḥ prabhuḥ
    viṣaye lomapādasya yaś cakārādbhutaṃ mahat
    nivartiteṣu sasyeṣu yasmai śāntāṃ dadau nṛpaḥ
    lomapādo duhitaraṃ sāvitrīṃ savitā yathā
    yudhiṣṭhira uvāca
    ṛśyaśṛṅgaḥ kathaṃ mṛgyām utpannaḥ kāśyapātmajaḥ
    viruddhe yonisaṃsarge kathaṃ ca tapasā yutaḥ
    kimarthaṃ ca bhayāc chakras tasya bālasya dhīmataḥ
    anāvṛṣṭyāṃ pravṛttāyāṃ vavarṣa balavṛtrahā
    kathaṃrūpā ca śāntābhūd rājaputrī yatavratā
    lobhayām āsa yā ceto mṛgabhūtasya tasya vai
    lomapādaś ca rājarṣir yadāśrūyata dhārmikaḥ
    kathaṃ vai viṣaye tasya nāvarṣat pākaśāsanaḥ
    etan me bhagavan sarvaṃ vistareṇa yathātatham
    vaktum arhasi śuśrūṣor ṛṣyaśṛṅgasya ceṣṭitam
    lomaśa uvāca
    vibhāṇḍakasya brahmarṣes tapasā bhāvitātmanaḥ
    amoghavīryasya sataḥ prajāpatisamadyuteḥ
    śṛṇu putro yathā jāta ṛśyaśṛṅgaḥ pratāpavān
    mahāhrade mahātejā bālaḥ sthavirasaṃmataḥ
    mahāhradaṃ samāsādya kāśyapas tapasi sthitaḥ
    dīrghakālaṃ pariśrānta ṛṣir devarṣisaṃmataḥ
    tasya retaḥ pracaskanda dṛṣṭvāpsarasam urvaśīm
    apsūpaspṛśato rājan mṛgī tac cāpibat tadā                                  SIMPLE DEER-HORN
    saha toyena tṛṣitā sā garbhiṇy abhavan nṛpa
0543_01     sā puroktā bhagavatā brahmaṇā lokakartṛṇā                          I
0543_02     devakanyā mṛgī bhūtvā muniṃ sūya vimokṣyase                        Young Deer-horn was a pious youth
    amoghatvād vidheś caiva bhāvitvād daivanirmitāt                            Devoted to religious truth,
    tasyāṃ mṛgyāṃ samabhavat tasya putro mahān ṛṣiḥ                            A hermit innocently good
    ṛśyaśṛṅgas taponityo vana eva vyavardhata                                  Who grew to manhood in the wood.
    tasyarśyaśṛṅgaṃ śirasi rājann āsīn mahātmanaḥ
    tenarśyaśṛṅga ity evaṃ tadā sa prathito 'bhavat
                                                                               His mother left him at his birth;
    na tena dṛṣṭapūrvo 'nyaḥ pitur anyatra mānuṣaḥ                             He only knew one soul on earth,
    tasmāt tasya mano nityaṃ brahmacarye 'bhavan nṛpa                          His austere father; therefore he
                                                                               Grew up in natural piety.                                                                      

    etasminn eva kāle tu sakhā daśarathasya vai                                Now in a kingdom near at hand
    lomapāda iti khyāto aṅgānām īśvaro 'bhavat                                 No rain had fallen on the land,
0544_01     premoṣitāpacāreṇa tasya rājño yudhiṣṭhira                          Prevented by the magic skill
    tena kāmaḥ kṛto mithyā brāhmaṇebhya iti śrutiḥ                             Of priests the king had treated ill.
0545_01     daivopahatasattvena dharmajñenāpi bhārata
    sa brāhmaṇaiḥ parityaktas tadā vai jagatīpatiḥ
    purohitāpacārāc ca tasya rājño yadṛcchayā
    na vavarṣa sahasrākṣas tato 'pīḍyanta vai prajāḥ                                                                                                                  

    sa brāhmaṇān paryapṛcchat tapoyuktān manīṣiṇaḥ                             An aged priest advised the king:
    pravarṣaṇe surendrasya samarthān pṛthivīpatiḥ                              “Propitiate the clergy; bring
    kathaṃ pravarṣet parjanya upāyaḥ paridṛśyatām                              Pure-minded Deer-horn from the wood,
    tam ūcuś coditās tena svamatāni manīṣiṇaḥ                                  That hermit innocently good.
    tatra tv eko munivaras taṃ rājānam uvāca ha
    kupitās tava rājendra brāhmaṇā niskṛtiṃ cara                               “He dwells in purity afar;
    ṛśyaśṛṅgaṃ munisutam ānayasva ca pārthiva                                  He does not know what women are:
    vāneyam anabhijñaṃ ca nārīṇām ārjave ratam                                 Fetch him, and then the rain will fall;
    sa ced avatared rājan viṣayaṃ te mahātapāḥ                                 Of this I have no doubt at all.”
    sadyaḥ pravarṣet parjanya iti me nātra saṃśayaḥ                                                                                                                           

    etac chrutvā vaco rājan kṛtvā niskṛtim ātmanaḥ                             The counsel pleased the king; he planned
    sa gatvā punar āgacchat prasanneṣu dvijātiṣu                               To entertain the hermit, and
    rājānam āgataṃ dṛṣṭvā pratisaṃjagṛhuḥ prajāḥ                               Invited women of the town
0546_01     sa ca tāḥ pratijagrāha piteva hitakṛt sadā                         To go and bring young Deer-horn down.
    tato 'ṅgapatir āhūya sacivān mantrakovidān
    ṛśyaśṛṅgāgame yatnam akaron mantraniścaye
    so 'dhyagacchad upāyaṃ tu tair amātyaiḥ sahācyutaḥ
    śāstrajñair alam arthajñair nītyāṃ ca pariniṣṭhitaiḥ
    tata ānāyayām āsa vāramukhyā mahīpatiḥ
    veśyāḥ sarvatra niṣṇātās tā uvāca sa pārthivaḥ
    ṛśyaśṛṅgam ṛṣeḥ putram ānayadhvam upāyataḥ
    lobhayitvābhiviśvāsya viṣayaṃ mama śobhanāḥ
0547_01     niyojayām āsa ca tās tasya bālasya lobhane
    tā rājabhayabhītāś ca śāpabhītāś ca yoṣitaḥ                                But they refused the royal plan,
    aśakyam ūcus tat kāryaṃ vivarṇā gatacetasaḥ                                Fearing to meet a holy man;
    tatra tv ekā jaradyoṣā rājānam idam abravīt                                At last an aged crone’s ambition
    prayatiṣye mahārāja tam ānetuṃ tapodhanam                                  Drove her to undertake the mission.                                                            

    abhipretāṃs tu me kāmān samanujñātum arhasi                                “If you will give me what I ask;’
    tataḥ śakṣye lobhayitum ṛśyaśṛṅgam ṛṣeḥ sutam                              She said, “I can fulfill the task;
                                                                               But I require a rich reward
                                                                               Of gold and gems, my royal lord.”                                                              

    tasyāḥ sarvam abhiprāyam anvajānāt sa pārthivaḥ                            With royal bounty richly laden,
    dhanaṃ ca pradadau bhūri ratnāni vividhāni ca                              She took her child, a youthful maiden
    tato rūpeṇa saṃpannā vayasā ca mahīpate                                    More known as beautiful than good,
    striya ādāya kāś cit sā jagāma vanam añjasā                                And so departed to the wood.                                                           

    lomaśa uvāca                                                               II
    sā tu nāvyāśramaṃ cakre rājakāryārthasiddhaye                              She waited till the coast was clear,
    saṃdeśāc caiva nṛpateḥ svabuddhyā caiva bhārata                            And then she sent her daughter dear
    nānāpuṣpaphalair vṛkṣaiḥ kṛtrimair upaśobhitam                             To interview the hermit who
    nānāgulmalatopetaiḥ svādukāmaphalapradaiḥ                                  Had never learned what women do.
    atīva ramaṇīyaṃ tad atīva ca manoharam
    cakre nāvyāśramaṃ ramyam adbhutopamadarśanam
    tato nibadhya tāṃ nāvam adūre kāśyapāśramāt
    cārayām āsa puruṣair vihāraṃ tasya vai muneḥ
    tato duhitaraṃ veśyā samādhāyetikṛtyatām                                   The maiden found the lad and said:
    dṛṣṭvāntaraṃ kāśyapasya prāhiṇod buddhisaṃmatām                            “I trust your pious life is led
    sā tatra gatvā kuśalā taponityasya saṃnidhau                               Without offense, and that your food
    āśramaṃ taṃ samāsādya dadarśa tam ṛṣeḥ sutam                               Of roots and fruits is sweet and good.
    veśyovāca
    kaccin mune kuśalaṃ tāpasānāṃ; kaccic ca vo mūlaphalaṃ prabhūtam           “I trust your father’s heart is blest
    kaccid bhavān ramate cāśrame 'smiṃs; tvāṃ vai draṣṭuṃ sāṃpratam āgato 'smi With deep religious peace and rest;
    kaccit tapo vardhate tāpasānāṃ; pitā ca te kaccid ahīnatejāḥ               For I am hither come to see
    kaccit tvayā prīyate caiva vipra; kaccit svādhyāyaḥ kriyate ṛśyaśṛṅga      Your unpretending piety.”                                                                      

    ṛśyaśṛṅga uvāca                                                            And Deer-horn answered: “Sir, you are
    ṛddho bhavāñ jyotir iva prakāśate; manye cāhaṃ tvām abhivādanīyam          As radiant as a beaming star;
    pādyaṃ vai te saṃpradāsyāmi kāmād; yathādharmaṃ phalamūlāni caiva          I never saw a man like you;
                                                                               Then tell me, sir, what shall I do                                                             

    kauśyāṃ bṛsyām āssva yathopajoṣaṃ; kṛṣṇājinenāvṛtāyāṃ sukhāyām             “To make you happy? Here are roots,
    kva cāśramas tava kiṃ nāma cedaṃ; vrataṃ brahmaṃś carasi hi devavat tvam   Water, a couch of skins, and fruits.
                                                                               What vows are yours, most holy sage?
                                                                               Where is your pious hermitage?”                                                                

    veśyovāca
    mamāśramaḥ kāśyapaputra ramyas; triyojanaṃ śailam imaṃ pareṇa              “My hermitage,” the maid replied,
    tatra svadharmo 'nabhivādanaṃ no; na codakaṃ pādyam upaspṛśāmaḥ            “Is three long leagues from here, beside
0548_01     bhavatā nābhivādyo 'ham abhivādyo bhavān mayā                      The river; there I practice now
0548_02     vratam etādṛśaṃ brahman pariṣvajyo bhavān mayā                     A fearfully ascetic vow.
    ṛśyaśṛṅga uvāca
    phalāni pakvāni dadāni te 'haṃ; bhallātakāny āmalakāni caiva               “For I have sworn that I will greet
    parūṣakānīṅgudadhanvanāni; priyālānāṃ kāmakāraṃ kuruṣva                    Such other hermits as I meet;
0549_01     gṛhāṇa kāmād dhi mamopakārāt                                       And I must clasp and kiss you too—
0549_02     kuruṣva kāmaṃ yad abhīpsitaṃ me                                    So my religion bids me do.”                                                                    

    lomaśa uvāca                                                               She spurned the fruits that he had offered,
    sā tāni sarvāṇi visarjayitvā; bhakṣān mahārhān pradadau tato 'smai         And in their stead to him she proffered
    tāny ṛśyaśṛṅgasya mahārasāni; bhṛśaṃ surūpāṇi ruciṃ dadur hi               Confectionery sweet and good
                                                                               That she had brought into the wood.                                                            

    dadau ca mālyāni sugandhavanti; citrāṇi vāsāṃsi ca bhānumanti              She gave him fragrant garlands too,
    pānāni cāgryāṇi tato mumoda; cikrīḍa caiva prajahāsa caiva                 And brilliant garments, clean and new;
                                                                               She offered wine; and while he quaffed,
                                                                               She played and swayed and danced and laughed.                                          

    sā kandukenāramatāsya mūle; vibhajyamānā phalitā lateva                    She played about him with a ball,
    gātraiś ca gātrāṇi niṣevamāṇā; samāśliṣac cāsakṛd ṛśyaśṛṅgam               And oft coquettishly would fall
    sarjān aśokāṃs tilakāṃś ca vṛkṣān; prapuṣpitān avanāmyāvabhajya            Upon his bosom, until he
    vilajjamāneva madābhibhūtā; pralobhayām āsa sutaṃ maharṣeḥ                 Took fire from her immodesty.                                                          

    atharśyaśṛṅgaṃ vikṛtaṃ samīkṣya; punaḥ punaḥ pīḍya ca kāyam asya           At last she saw the deed was done,
    avekṣamāṇā śanakair jagāma; kṛtvāgnihotrasya tadāpadeśam                   That she had charmed the hermit’s son;
                                                                               And, gazing o’er her shoulder, fled,
                                                                               To make her sacrifice, she said.                                                               

    tasyāṃ gatāyāṃ madanena matto; vicetanaś cābhavad ṛśyaśṛṅgaḥ               When she had left him, peace and joy
    tām eva bhāvena gatena śūnyo; viniḥśvasann ārtarūpo babhūva                Departed from the luckless boy;
                                                                               Sadly he sighed, by love distressed,
                                                                               An aching void within his breast.                                                              

    tato muhūrtād dharipiṅgalākṣaḥ; praveṣṭito romabhirā nakhāgrāt             His father, while he sighed, returned,
    svādhyāyavān vṛttasamādhiyukto; vibhāṇḍakaḥ kāśyapaḥ prādurāsīt            Whose eyes with fire ascetic burned,
                                                                               Whose life was one devoted prayer,
                                                                               Whose nails were overgrown with hair.                                                  

    so 'paśyad āsīnam upetya putraṃ; dhyāyantam ekaṃ viparītacittam            When he beheld his son distressed
    viniḥśvasantaṃ muhur ūrdhvadṛṣṭiṃ; vibhāṇḍakaḥ putram uvāca dīnam          With eye upturned and heaving breast,
                                                                               With longing written on his face
                                                                               And passion in contentment’s place,                                                            

    na kalpyante samidhaḥ kiṃ nu tāta; kaccid dhutaṃ cāgnihotraṃ tvayādya      “What troubles you, my dearest son?”
    sunirṇiktaṃ sruksruvaṃ homadhenuḥ; kaccit savatsā ca kṛtā tvayādya         He asked, “and are your duties done?
    na vai yathāpūrvam ivāsi putra; cintāparaś cāsi vicetanaś ca               Who has been here with you today?”
    dīno 'timātraṃ tvam ihādya kiṃ nu; pṛcchāmi tvāṃ ka ihādyāgato 'bhūt       And Deer-horn answered him straightway.                                                        

                                                                               III
    ṛśyaśṛṅga uvāca                                                            “A hermit youth with hanging hair,
    ihāgato jaṭilo brahmacārī; na vai hrasvo nātidīrgho manasvī                Not short, nor very tall, but fair
    suvarṇavarṇaḥ kamalāyatākṣaḥ; sutaḥ surāṇām iva śobhamānaḥ                 And bright as gold, with lotus-eyes,
                                                                               Some child of heaven, wondrous wise.                                                   

    samṛddharūpaḥ saviteva dīptaḥ; suśuklakṛṣṇākṣataraś cakoraiḥ               “He came in beauty like the sun,
    nīlāḥ prasannāś ca jaṭāḥ sugandhā; hiraṇyarajjugrathitāḥ sudīrghāḥ         Black eyes, sweet voice, his hair undone
                                                                               And hanging soft, dark, fragrant, and
                                                                               Encircled by a golden band.                                                                    

    ādhārarūpā punar asya kaṇṭhe; vibhrājate vidyud ivāntarikṣe                “A relic on his neck was seen
    dvau cāsya piṇḍāv adhareṇa kaṇṭham; ajātaromau sumanoharau ca              That danced like flashing lightnings keen;
                                                                               Below it, two soft swellings white
                                                                               That thrilled me with a strange delight.                                                       

    vilagnamadhyaś ca sa nābhideśe; kaṭiś ca tasyātikṛtapramāṇā                “Large hips he had, but slender waist
    tathāsya cīrāntaritā prabhāti; hiraṇmayī mekhalā me yatheyam               Which I could see was close embraced
                                                                               By a golden belt; I saw it shine
                                                                               And it was not at all like mine.                                                               

0550_01     anyac ca tasyādbhutadarśanīyā                                      “And on his ankles something stirred
0550_02     vibhāti mālā kanakaprabhāsā                                        That jingled like a cooing bird,
0550_03     kaṇṭhe sthitā vakṣasi ghūrṇamānā                                   While on his wrist there tinkled free
0550_04     yathākṣamālā bhavatā nibaddhā                                      A novel kind of rosary.                                                                        

    anyac ca tasyādbhutadarśanīyaṃ; vikūjitaṃ pādayoḥ saṃprabhāti              “And as he moved, the beads would sing
    pāṇyoś ca tadvat svanavan nibaddhau; kalāpakāv akṣamālā yatheyam           Like gay flamingoes in the spring;
                                                                               His pious robe was wondrous fair,
                                                                               And quite unlike the garb we wear.                                                             

    viceṣṭamānasya ca tasya tāni; kūjanti haṃsā sarasīva mattāḥ                “His face was beautiful to see;
    cīrāṇi tasyādbhutadarśanāni; nemāni tadvan mama rūpavanti                  His speech was kind and gladdened me;
    vaktraṃ ca tasyādbhutadarśanīyaṃ; pravyāhṛtaṃ hlādayatīva cetaḥ            His voice was like the nightingale;
    puṃskokilasyeva ca tasya vāṇī; tāṃ śṛṇvato me vyathito 'ntarātmā           It made me sigh and yearn and pale.                                                            

    yathā vanaṃ mādhavamāsi madhye; samīritaṃ śvasanenābhivāti                 “And as in spring the forest trees
    tathā sa vāty uttamapuṇyagandhī; niṣevyamāṇaḥ pavanena tāta                Wave beautifully in the breeze,
                                                                               So, father, when the wind blew, he
                                                                               Shed fragrance like a flowering tree.                                                  

    susaṃyatāś cāpi jaṭā vibhaktā; dvaidhīkṛtā bhānti samā lalāṭe              “His hermit locks— I wondered how
    karṇau ca citrair iva cakravālaiḥ; samāvṛtau tasya surūpavadbhiḥ           They parted on his noble brow;
                                                                               And dangling from each ear, there stirred
                                                                               And danced what seemed a brilliant bird.                                                       

    tathā phalaṃ vṛttam atho vicitraṃ; samāhanat pāṇinā dakṣiṇena              “A round, elastic fruit he had
    tad bhūmim āsādya punaḥ punaś ca; samutpataty adbhutarūpam uccaiḥ          That bounded from the earth like mad
                                                                               When he would strike it merrily—
                                                                               'Twas very wonderful to see.                                                           

    tac cāpi hatvā parivartate 'sau; vāterito vṛkṣa ivāvaghūrṇaḥ               “He moved and swayed with graceful ease—
    taṃ prekṣya me putram ivāmarāṇāṃ; prītiḥ parā tāta ratiś ca jātā           I thought of wind among the trees:
                                                                               A wonderful delight and joy
                                                                               Came when I saw the godlike boy.                                                               

    sa me samāśliṣya punaḥ śarīraṃ; jaṭāsu gṛhyābhyavanāmya vaktram            “He held me in a tight embrace;
    vaktreṇa vaktraṃ praṇidhāya śabdaṃ; cakāra tan me 'janayat praharṣam       I felt his hair; he pressed his face
                                                                               Against my face and made a noise
                                                                               That waked in me the strangest joys.                                                   

    na cāpi pādyaṃ bahu manyate 'sau; phalāni cemāni mayāhṛtāni                “Our simple fruits he did not think
    evaṃvrato 'smīti ca mām avocat; phalāni cānyāni navāny adān me             Were good, or water that we drink;
                                                                               He gave me other fruits and rare,
                                                                               And said: ‘This is my humble fare.’                                                            

    mayopayuktāni phalāni tāni; nemāni tulyāni rasena teṣām                    “They were not like the fruits we eat,
    na cāpi teṣāṃ tvag iyaṃ yathaiṣāṃ; sārāṇi naiṣām iva santi teṣām           But tasted wonderfully sweet;
                                                                               They had a different sort of skin,
                                                                               And different was the pulp within.                                                             

    toyāni caivātirasāni mahyaṃ; prādāt sa vai pātum udārarūpaḥ                “A strange, sweet kind of water he
    pītvaiva yāny abhyadhikaḥ praharṣo; mamābhavad bhūś caliteva cāsīt         Offered with noble piety;
                                                                               It filled me with an odd delight,
                                                                               And earth grew wobbly to my sight.                                                             

    imāni citrāṇi ca gandhavanti; mālyāni tasyodgrathitāni paṭṭaiḥ             “Sweet garlands with a careless mirth
    yāni prakīryeha gataḥ svam eva; sa āśramaṃ tapasā dyotamānaḥ               He wove, and scattered on the earth;
                                                                               Then, glorious as an ancient sage,
                                                                               Departed to his hermitage.                                                                     

    gatena tenāsmi kṛto vicetā; gātraṃ ca me saṃparitapyatīva                  “And since he went, I feel distressed;
    icchāmi tasyāntikam āśu gantuṃ; taṃ ceha nityaṃ parivartamānam             My limbs are burning and my breast;
                                                                               I long to go to him today
                                                                               Or have him here with me alway.                                                                

    gacchāmi tasyāntikam eva tāta; kā nāma sā vratacaryā ca tasya              “Yes, I will tread the path he trod
    icchāmy ahaṃ carituṃ tena sārdhaṃ; yathā tapaḥ sa caraty ugrakarmā         And learn the way he worships God;
                                                                               With him I long to make a trial
                                                                               Of holy life and self-denial.                                                          

0551_01     cartuṃ tathecchā hṛdaye mamāsti                                    “I find no peace from him apart;
0551_02     dunoti cittaṃ yadi taṃ na paśye                                    Religious yearnings fill my heart.”                                                            

                                                                               IV
    vibhāṇḍaka uvāca                                                           “It was a devil, dear my son;
    rakṣāṃsi caitāni caranti putra; rūpeṇa tenādbhutadarśanena                 By foes like these we are undone;
    atulyarūpāṇy atighoravanti; vighnaṃ sadā tapasaś cintayanti                They walk the earth in conquering charm
                                                                               And work religious men much harm.                                                              

    surūparūpāṇi ca tāni tāta; pralobhayante vividhair upāyaiḥ                 “They win us with their cunning wiles,
    sukhāc ca lokāc ca nipātayanti; tāny ugrakarmāṇi munīn vaneṣu              Their wondrous beauty and their smiles,
                                                                               Then show themselves as demons fell
                                                                               And plunge us in the pit of hell.                                                              

    na tāni seveta munir yatātmā; satāṃ lokān prārthayānaḥ kathaṃ cit          “The man who seeks religious peace
    kṛtvā vighnaṃ tāpasānāṃ ramante; pāpācārās tapasas tāny apāpa              Should keep himself from such as these;
                                                                               To ruin us is their delight,
                                                                               My pious boy. Forget the sight.                                                                

    asajjanenācaritāni putra; pāpāny apeyāni madhūni tāni                      “And those sweet waters that you had
    mālyāni caitāni na vai munīnāṃ; smṛtāni citrojjvalagandhavanti             Are tasted only by the bad;
                                                                               And we ascetics never wear
                                                                               A perfumed garland on our hair.                                                                

    lomaśa uvāca                                                               “Resist the devil, boy”; he said
    rakṣāṃsi tānīti nivārya putraṃ; vibhāṇḍakas tāṃ mṛgayāṃ babhūva            And then he hunted for the jade;
    nāsādayām āsa yadā tryaheṇa; tadā sa paryāvavṛte ''śramāya                 Three days he sought without success
                                                                               And ceased for very weariness.                                                         

    yadā punaḥ kāśyapo vai jagāma; phalāny āhartuṃ vidhinā śrāmaṇena           Meantime, the tempting minx returned,
    tadā punar lobhayituṃ jagāma; sā veśayoṣā munim ṛśyaśṛṅgam                 And seeing her, young Deer-horn burned;
    dṛṣṭvaiva tām ṛśyaśṛṅgaḥ prahṛṣṭaḥ; saṃbhrāntarūpo 'bhyapatat tadānīm      “Come quick,” he said, “and let us roam;
    provāca caināṃ bhavato ''śramāya; gacchāva yāvan na pitā mamaiti           You see my father’s not at home.                                                               

    tato rājan kāśyapasyaikaputraṃ; praveśya yogena vimucya nāvam              “Your hermitage I fain would view”;
    pralobhayantyo vividhair upāyair; ājagmur aṅgādhipateḥ samīpam             So, hand in eager hand, they flew
                                                                               And found a boat and floated down
                                                                               The river to the royal town.                                                           

                                                                               No sooner did the hermit gain
    saṃsthāpya tām āśramadarśane tu; saṃtāritāṃ nāvam atīva śubhrām            The royal palace than the rain
    tīrād upādāya tathaiva cakre; rājāśramaṃ nāma vanaṃ vicitram               Fell, drenching every thirsty part
    antaḥpure taṃ tu niveśya rājā; vibhāṇḍakasyātmajam ekaputram               And gladdening the sovereign’s heart.
    dadarśa devaṃ sahasā pravṛṣṭam; āpūryamāṇaṃ ca jagaj jalena
0552_01        samāyāte ṛṣyaśṛṅge 'tha rājan                                   The joyful monarch to the brave,
       sa lomapādaḥ paripūrṇakāmaḥ; sutāṃ dadāv ṛśyaśṛṅgāya śāntām             Bewildered young ascetic gave—
                                                                               Lest he should ever seek release—
                                                                               A princess—and her name was Peace.                                </pre>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/sanskrit-translation/'>sanskrit translation</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2347&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/10/09/%e0%a4%8b%e0%a4%b7%e0%a5%8d%e0%a4%af%e0%a4%b6%e0%a5%83%e0%a4%82%e0%a4%97/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>Wellerisms &amp;c.</title>
		<link>http://shreevatsa.wordpress.com/2011/08/14/wellerisms-c/</link>
		<comments>http://shreevatsa.wordpress.com/2011/08/14/wellerisms-c/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 10:16:21 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[funny]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[quotes]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2330</guid>
		<description><![CDATA[[Originally posted to paronomasia/pun-ctilious.] Charles Dickens at 24 was writing his first novel The Pickwick Papers, which was being published serially like all novels of the era. Sales were chugging along decently for the first three months, until the character Sam Weller was introduced. The career of Dickens would never be the same. The novel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2330&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><i>[Originally posted to <a href="http://groups.google.com/group/paronomasia">paronomasia/pun-ctilious</a>.]</i></p>
<p>Charles Dickens at 24 was writing his first novel <i>The Pickwick Papers</i>, which was <a href="http://shreevatsa.wordpress.com/2008/05/28/serial-novels/">being published serially</a> like all novels of the era. Sales were chugging along decently for the first three months, until the character Sam Weller was introduced. The career of Dickens would never be the same. The novel became a publishing phenomenon and from that moment on he was a star, and new instalments of Dickens&#8217;s novels were often more eagerly awaited than any Harry Potter book has been.</p>
<p>Among the characteristics that made Sam Weller so popular with the masses were his linguistic charms, one of them a form of quotation known as a Wellerism. This survives in American popular culture as the rather lame and narrow-in-scope &#8220;…that&#8217;s what she said&#8221; (or the British &#8220;…as the actress said to the bishop&#8221;), but turning to samples from Dickens himself:</p>
<blockquote><p>
&#8220;out vith it, as the father said to his child, when he swallowed a farden.&#8221;</p>
<p>&#8220;How are you, ma&#8217;am?&#8221; said Mr. Weller. &#8220;Wery glad to see you, indeed, and hope our acquaintance may be a long &#8216;un, as the gen&#8217;l'm&#8217;n said to the fi&#8217; pun&#8217; note.&#8221;</p>
<p>&#8220;All good feelin&#8217;, sir—the wery best intentions, as the gen&#8217;l'm&#8217;n said ven he run away from his wife &#8216;cos she seemed unhappy with him,&#8221; replied Mr. Weller.</p>
<p>&#8220;There; now we look compact and comfortable, as the father said ven he cut his little boy&#8217;s head off, to cure him o&#8217; squintin&#8217;.&#8221;</p>
<p>&#8220;Yes, but that ain&#8217;t all,&#8221; said Sam, [...] &#8220;vich I call addin&#8217; insult to injury, as the parrot said ven they not only took him from his native land, but made him talk the English langwidge arterwards.&#8221;</p>
<p>&#8220;Sorry to do anythin&#8217; as may cause an interruption to such wery pleasant proceedin&#8217;s, as the king said wen he dissolved the parliament,&#8221; interposed Mr. Weller, who had been peeping through the glass door;…
</p></blockquote>
<p>More examples not from Dickens, from <a href="http://en.wikipedia.org/wiki/Wellerism">Wikipedia</a> and elsewhere:</p>
<blockquote><p>
&#8220;We&#8217;ll have to rehearse that,&#8221; as the undertaker said when the coffin fell out of the car.</p>
<p>&#8220;Simply remarkable,&#8221; said the teacher when asked her opinion about the new dry-erase board.</p>
<p>&#8220;Don&#8217;t move, I&#8217;ve got you covered&#8221;, as the wallpaper said to the wall.</p>
<p>&#8216;It all comes back to me now&#8217;, said the Captain as he spat into the wind.</p>
<p>&#8216;Eureka!&#8217; said Archimedes to the skunk.</p>
<p>&#8220;Each moment makes thee dearer,&#8221; as the parsimonious tradesman said to his extravagant wife.</p>
<p> &#8220;Capital punishment,&#8221; as the boy said when the teacher seated him with the girls.</p>
<p>&#8220;I&#8217;ve been to see an old flame,&#8221; remarked the young man returning from Vesuvius.</p>
<p>&#8220;I hope I made myself clear,&#8221; as the water said when it passed through the filter.</p>
<p>&#8220;I&#8217;m at my wit&#8217;s end,&#8221; said the king as he trod on the jester&#8217;s toe.</p>
<p>&#8220;These are grave charges,&#8221; murmured the hopeless one, as he perused the bill for the burial of his mother-in-law.</p>
<p>&#8220;Notice the foot-note at the bottom of the page,&#8221; laughed the court fool, as the royal attendant&#8217;s shoes emitted a squeak.</p>
<p>&#8220;That&#8217;s my mission in life,&#8221; said the monk, as he pointed to his monastery.</p>
<p>&#8220;Oh, how blue I am,&#8221; mourned the poet, as his fountain pen spattered upon him.</p>
<p>&#8220;That&#8217;s an old gag,&#8221; said the cashier, as the bandit stopped up his mouth.</p>
<p>&#8220;My business is looking good,&#8221; said the model.
</p></blockquote>
<p>See also <a href="http://krishashok.wordpress.com/2010/02/17/a-day-in-the-life-of-an-i-t-bachelor-chapter-3-break-up/">this post by Krish Ashok</a>, which has a stream of examples culminating in</p>
<blockquote><p>
“Looks like we still have gaps”, he pointed out, like Aamer Sohail to Venkatesh Prasad.
</p></blockquote>
<p>A subgenre is the &#8220;Tom Swifty&#8221;, with a pun on the adverb:</p>
<blockquote><p>
&#8220;The doctor had to remove my left ventricle,&#8221; said Tom half-heartedly.</p>
<p>&#8220;The situation is grave,&#8221; Tom said cryptically.</p>
<p>&#8220;I&#8217;ve joined the navy,&#8221; Tom said fleetingly.</p>
<p>&#8220;I have a split personality,&#8221; said Tom, being frank.</p>
<p>&#8220;This is the real male goose,&#8221; said Tom producing the propaganda.</p>
<p>&#8220;I won&#8217;t finish in fifth place,&#8221; Tom held forth.
</p></blockquote>
<p>[See the <a href="http://groups.google.com/group/paronomasia">paronomasia</a> archives for more Tom Swifties from its members, like </p>
<blockquote><p>
"Let's put them in to bat now and bowl them out," Tom declared.
</p></blockquote>
<p>and of course everywhere on <a href="http://www.fun-with-words.com/tom_swifties_history.html">the internet</a>.]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2330/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2330&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/08/14/wellerisms-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>The invitation</title>
		<link>http://shreevatsa.wordpress.com/2011/06/21/the-invitation/</link>
		<comments>http://shreevatsa.wordpress.com/2011/06/21/the-invitation/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 22:51:21 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[quotes]]></category>
		<category><![CDATA[sanskrit]]></category>
		<category><![CDATA[poetry]]></category>
		<category><![CDATA[sanskrit literature]]></category>
		<category><![CDATA[sanskrit translation]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2313</guid>
		<description><![CDATA[Translated from the शार्ङ्गधर-पद्धति by Octavio Paz: The invitation Traveler, hurry your steps, be on your way: the woods are full of wild animals, snakes, elephants, tigers, and boars, the sun&#8217;s going down and you&#8217;re so young to be going alone. I can&#8217;t let you stay, for I&#8217;m a young girl and no one&#8217;s home. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2313&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Translated from the शार्ङ्गधर-पद्धति by Octavio Paz:</p>
<blockquote>
<p align="center"><strong>The invitation</strong></p>
<p>Traveler, hurry your steps, be on your way:<br />
the woods are full of wild animals,<br />
snakes, elephants, tigers, and boars,<br />
the sun&#8217;s going down and you&#8217;re so young to be going alone.<br />
I can&#8217;t let you stay,<br />
for I&#8217;m a young girl and no one&#8217;s home.
</p></blockquote>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<hr />
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p>Translated from the गाहा-सत्तसई (= गाथा-सप्तशती) by Andrew Schelling:</p>
<blockquote><p>
Mother-in-law<br />
sleeps over there<br />
so does the<br />
rest of the household but<br />
&emsp; traveler<br />
&emsp; &emsp; this is my bed<br />
&emsp; &emsp; don&#8217;t trip over<br />
&emsp; &emsp; it in the dark
</p></blockquote>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/poetry/'>poetry</a>, <a href='http://shreevatsa.wordpress.com/tag/sanskrit/'>sanskrit</a>, <a href='http://shreevatsa.wordpress.com/tag/sanskrit-literature/'>sanskrit literature</a>, <a href='http://shreevatsa.wordpress.com/tag/sanskrit-translation/'>sanskrit translation</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2313&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/06/21/the-invitation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />
	</item>
		<item>
		<title>(1+ix/n)^n</title>
		<link>http://shreevatsa.wordpress.com/2011/06/21/1ixnn/</link>
		<comments>http://shreevatsa.wordpress.com/2011/06/21/1ixnn/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 22:04:25 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[mathematics]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2300</guid>
		<description><![CDATA[[Posting some images here for possible future reuse.] A non-rigorous argument: when is large enough so that is small, is roughly (hand-waving) the point on the unit circle at arc length (and hence angle) : So multiplication by roughly corresponds to rotation by angle . Multiplication by , which is multiplication by n times, roughly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2300&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[Posting some images here for possible future reuse.]</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Clim_%7Bn%5Cto%5Cinfty%7D%5Cleft%281+%2B+%5Cfrac%7Bix%7D%7Bn%7D%5Cright%29%5En+%3D+%5Ccos+x+%2B+i+%5Csin+x&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;lim_{n&#92;to&#92;infty}&#92;left(1 + &#92;frac{ix}{n}&#92;right)^n = &#92;cos x + i &#92;sin x' title='&#92;displaystyle &#92;lim_{n&#92;to&#92;infty}&#92;left(1 + &#92;frac{ix}{n}&#92;right)^n = &#92;cos x + i &#92;sin x' class='latex' /></p>
<p>A non-rigorous argument: when <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n' title='n' class='latex' /> is large enough so that <img src='http://s0.wp.com/latex.php?latex=x%2Fn&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='x/n' title='x/n' class='latex' /> is small, <img src='http://s0.wp.com/latex.php?latex=%281+%2B+ix%2Fn%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='(1 + ix/n)' title='(1 + ix/n)' class='latex' /> is roughly (hand-waving) the point on the unit circle at arc length (and hence angle) <img src='http://s0.wp.com/latex.php?latex=x%2Fn&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='x/n' title='x/n' class='latex' />:<br />
<img alt="" src="http://i.stack.imgur.com/6XN3s.png" title="(1 + ix)/n ≈ point on unit circle at angle x/n" class="aligncenter" width="385" height="341" /></p>
<p>So multiplication by <img src='http://s0.wp.com/latex.php?latex=%281%2Bix%2Fn%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='(1+ix/n)' title='(1+ix/n)' class='latex' /> roughly corresponds to rotation by angle <img src='http://s0.wp.com/latex.php?latex=x%2Fn&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='x/n' title='x/n' class='latex' />. Multiplication by <img src='http://s0.wp.com/latex.php?latex=%281%2Bix%2Fn%29%5En&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='(1+ix/n)^n' title='(1+ix/n)^n' class='latex' />, which is multiplication by <img src='http://s0.wp.com/latex.php?latex=%281%2Bix%2Fn%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='(1+ix/n)' title='(1+ix/n)' class='latex' /> n times, roughly corresponds to rotation by angle <img src='http://s0.wp.com/latex.php?latex=n%28x%2Fn%29+%3D+x&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n(x/n) = x' title='n(x/n) = x' class='latex' />. As <img src='http://s0.wp.com/latex.php?latex=n+%5Cto+%5Cinfty&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='n &#92;to &#92;infty' title='n &#92;to &#92;infty' class='latex' />, &#8220;roughly&#8221; becomes exact. </p>
<p>Animation for <img src='http://s0.wp.com/latex.php?latex=x+%3D+1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='x = 1' title='x = 1' class='latex' />:<br />
<img alt="" src="http://i.stack.imgur.com/Ucta6.gif" title="Animation showing (1+iX/n)^n approaching (cos x + i sin x) as n becomes large." class="aligncenter" width="391" height="391" /></p>
<p align="center"><font size="-2">Image generated from Python-generated SVG files; code available if anyone wants.</font></p>
<p>In particular, once one accepts the fact/definition that <img src='http://s0.wp.com/latex.php?latex=%5Clim_%7Bn%5Cto%5Cinfty%7D%5Cleft%281+%2B+%5Cfrac%7Bx%7D%7Bn%7D%5Cright%29%5En+%3D+e%5Ex&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;lim_{n&#92;to&#92;infty}&#92;left(1 + &#92;frac{x}{n}&#92;right)^n = e^x' title='&#92;lim_{n&#92;to&#92;infty}&#92;left(1 + &#92;frac{x}{n}&#92;right)^n = e^x' class='latex' /> (<a href="http://mathoverflow.net/questions/27126/interpreting-the-famous-five-equation/27146#27146">for instance</a>, show that the function <img src='http://s0.wp.com/latex.php?latex=f%28x%29+%3D+%5Clim_%7Bn%5Cto%5Cinfty%7D%5Cleft%281+%2B+%5Cfrac%7Bx%7D%7Bn%7D%5Cright%29%5En&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='f(x) = &#92;lim_{n&#92;to&#92;infty}&#92;left(1 + &#92;frac{x}{n}&#92;right)^n' title='f(x) = &#92;lim_{n&#92;to&#92;infty}&#92;left(1 + &#92;frac{x}{n}&#92;right)^n' class='latex' /> satisfies <img src='http://s0.wp.com/latex.php?latex=f%28x%2By%29+%3D+f%28x%29f%28y%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='f(x+y) = f(x)f(y)' title='f(x+y) = f(x)f(y)' class='latex' />), it is true that <img src='http://s0.wp.com/latex.php?latex=e%5E%7Bi%5Cpi%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='e^{i&#92;pi}' title='e^{i&#92;pi}' class='latex' /> is a rotation by &pi;, that is, </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+e%5E%7Bi%5Cpi%7D+%3D+-1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle e^{i&#92;pi} = -1' title='&#92;displaystyle e^{i&#92;pi} = -1' class='latex' /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2300&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/06/21/1ixnn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://i.stack.imgur.com/6XN3s.png" medium="image">
			<media:title type="html">(1 + ix)/n ≈ point on unit circle at angle x/n</media:title>
		</media:content>

		<media:content url="http://i.stack.imgur.com/Ucta6.gif" medium="image">
			<media:title type="html">Animation showing (1+iX/n)^n approaching (cos x + i sin x) as n becomes large.</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting back non-monospaced font in WordPress&#8217;s HTML editor</title>
		<link>http://shreevatsa.wordpress.com/2011/06/05/getting-back-non-monospaced-font-in-wordpresss-html-editor/</link>
		<comments>http://shreevatsa.wordpress.com/2011/06/05/getting-back-non-monospaced-font-in-wordpresss-html-editor/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 08:35:52 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[compknow]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2254</guid>
		<description><![CDATA[So apparently some farsighted folks over at WordPress decided recently (see screenshots) that everyone who uses the HTML editor is using it to write code, rather than simply because the unpredictable &#8220;Visual&#8221; editor sucks so much. If you use WordPress, don&#8217;t like this change and would like to go back to using more normal fonts, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2254&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So apparently some farsighted folks over at WordPress <a href="http://core.trac.wordpress.org/ticket/17640">decided</a> recently (<a href="http://core.trac.wordpress.org/attachment/ticket/17640/fullscreeneditor.png">see</a> <a href="http://core.trac.wordpress.org/attachment/ticket/17640/posteditor.png">screenshots</a>) that everyone who uses the HTML editor is using it to write code, rather than simply because the unpredictable &#8220;Visual&#8221; editor sucks so much. If you use WordPress, don&#8217;t like this change and would like to go back to using more normal fonts, (you can go complain at the appropriate places, or) open either Firebug console, or in Google Chrome go to View → Developer → Developer Tools and choose the console, and type</p>
<p><pre class="brush: jscript;">
document.getElementById('content').style.cssText += &quot;font-family: sans-serif;&quot;
</pre></p>
<p>or whatever it is that you want. Making this a Greasemonkey/Stylish/whatever extension is left for others; I just want something quick to fix this annoyance.</p>
<p>Monospaced is fine for code, but typical monospaced fonts lack so many non-ASCII characters that all the glyph substitution makes it really ugly here.</p>
<div id="attachment_2255" class="wp-caption aligncenter" style="width: 430px"><img src="http://shreevatsa.files.wordpress.com/2011/06/font-soup.png?w=700" alt="" title="font-soup"   class="size-full wp-image-2255" /><p class="wp-caption-text">These are (not) a few of my favourite fonts: Medley by WordPress</p></div>
<p><strong>Edit</strong>: Looking around two days later, you can see complaints (I guess… I haven&#8217;t read them) <a href="http://wordpress.org/extend/ideas/topic/return-the-html-editor-back-to-a-sans-font-instead-of-the-new-consolas-font">here</a>, <a href="http://en.forums.wordpress.com/topic/ugly-font-appears-now-in-html-version">here</a>, <a href="http://onecoolsitebloggingtips.com/2011/06/06/wordpress-html-editor-font-change/">here</a>, etc., and the userscript <a href="http://userscripts.org/scripts/show/104072">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2254&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/06/05/getting-back-non-monospaced-font-in-wordpresss-html-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/06/font-soup.png" medium="image">
			<media:title type="html">font-soup</media:title>
		</media:content>
	</item>
		<item>
		<title>Serieshelpmate in 19</title>
		<link>http://shreevatsa.wordpress.com/2011/05/29/serieshelpmate-in-19/</link>
		<comments>http://shreevatsa.wordpress.com/2011/05/29/serieshelpmate-in-19/#comments</comments>
		<pubDate>Sun, 29 May 2011 19:30:25 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[mathematics]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2244</guid>
		<description><![CDATA[Here&#8217;s a brilliant problem. Consider the following chess position. Black is to make 19 consecutive moves, after which White checkmates Black in one move. Black may not move into check, and may not check White (except possibly on his last move). Black and White are cooperating to achieve the aim of checkmate. (In chess problem [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2244&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a brilliant problem.</p>
<blockquote><p>
Consider the following chess position.</p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/05/chess-serieshelpmate1.png?w=700" alt="" title="serieshelpmate"   class="aligncenter size-full wp-image-2246" /></p>
<p>Black is to make 19 consecutive moves, after which White checkmates Black in one move. Black may not move into check, and may not check White (except possibly on his last move). Black and White are <em>cooperating</em> to achieve the aim of checkmate. (In chess problem parlance, this problem is called a <em>serieshelpmate in 19</em>.) How many different solutions are there?</p>
<p><span style="font-size:smaller;"><span style="font-size:smaller;">This problem is due to Kauko Väisänen, and appears in A. Puusa, <i>Queue Problems</i>, Finnish Chess Problem Society, Helsinki, 1992 (Problem 2).</span></span>
</p></blockquote>
<p>Hint: the above is quoted from Richard Stanley&#8217;s <i>Enumerative Combinatorics</i>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2244&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/05/29/serieshelpmate-in-19/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/05/chess-serieshelpmate1.png" medium="image">
			<media:title type="html">serieshelpmate</media:title>
		</media:content>
	</item>
		<item>
		<title>AE</title>
		<link>http://shreevatsa.wordpress.com/2011/05/27/ae/</link>
		<comments>http://shreevatsa.wordpress.com/2011/05/27/ae/#comments</comments>
		<pubDate>Fri, 27 May 2011 20:16:04 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[literature]]></category>
		<category><![CDATA[quotes]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2241</guid>
		<description><![CDATA[XXVII “Is my team ploughing, That I was used to drive And hear the harness jingle When I was man alive?” Ay, the horses trample, The harness jingles now; No change though you lie under The land you used to plough. “Is football playing Along the river shore, With lads to chase the leather, Now [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2241&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote>
<p align="center">XXVII</p>
<p>“Is my team ploughing,<br />
That I was used to drive<br />
And hear the harness jingle<br />
When I was man alive?”</p>
<p>Ay, the horses trample,<br />
The harness jingles now;<br />
No change though you lie under<br />
The land you used to plough.</p>
<p>“Is football playing<br />
Along the river shore,<br />
With lads to chase the leather,<br />
Now I stand up no more?”</p>
<p>Ay, the ball is flying,<br />
The lads play heart and soul;<br />
The goal stands up, the keeper<br />
Stands up to keep the goal.</p>
<p>“Is my girl happy,<br />
That I thought hard to leave,<br />
And has she tired of weeping<br />
As she lies down at eve?”</p>
<p>Ay, she lies down lightly,<br />
She lies not down to weep:<br />
Your girl is well contented.<br />
Be still, my lad, and sleep.</p>
<p>“Is my friend hearty,<br />
Now I am thin and pine,<br />
And has he found to sleep in<br />
A better bed than mine?”</p>
<p>Yes, lad, I lie easy,<br />
I lie as lads would choose;<br />
I cheer a dead man’s sweetheart,<br />
Never ask me whose.
</p></blockquote>
<hr />
<p><span id="more-2241"></span></p>
<hr />
<blockquote>
<p align="center"> LXII </p>
<p>…<br />
Ale, man, ale’s the stuff to drink<br />
For fellows whom it hurts to think:<br />
Look into the pewter pot<br />
To see the world as the world’s not.<br />
And faith, ’tis pleasant till ’tis past:<br />
The mischief is that ’twill not last.<br />
Oh I have been to Ludlow fair<br />
And left my necktie God knows where,<br />
And carried half-way home, or near,<br />
Pints and quarts of Ludlow beer:<br />
Then the world seemed none so bad,<br />
And I myself a sterling lad;<br />
And down in lovely muck I’ve lain,<br />
Happy till I woke again.<br />
Then I saw the morning sky:<br />
Heigho, the tale was all a lie;<br />
The world, it was the old world yet,<br />
I was I, my things were wet,<br />
And nothing now remained to do<br />
But begin the game anew.<br />
…
</p></blockquote>
<p align="right">
A. E. Housman, <i><a href="http://ebooks.adelaide.edu.au/h/housman/ae/h84s/">A Shropshire Lad</a></i> (1896)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2241&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/05/27/ae/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>Sanskrit pronouns and closeness</title>
		<link>http://shreevatsa.wordpress.com/2011/05/24/sanskrit-pronouns-and-closeness/</link>
		<comments>http://shreevatsa.wordpress.com/2011/05/24/sanskrit-pronouns-and-closeness/#comments</comments>
		<pubDate>Tue, 24 May 2011 08:45:50 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[sanskrit]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2234</guid>
		<description><![CDATA[Reminded from here. Unlike English &#8220;this&#8221; and &#8220;that&#8221;, Sanskrit has two of each. That is, there are four &#8220;degrees&#8221; of pronouns, varying by proximity: 1. very close, &#8220;this&#8221;: etad, एतद् : m. एषः &#8195; एतौ &#8195; एते (एतेन, एतस्य, एतस्मिन्) f. एषा &#8195; एते &#8195; एताः (एतया, एतस्याः, एतस्याम्) n. एतत् &#8195; एते &#8195; एतानि [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2234&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Reminded from <a href="http://blog.practicalsanskrit.com/2010/12/four-degrees-of-pronouns-etad-idam-adas.html">here</a>.</p>
<p>Unlike English &#8220;this&#8221; and &#8220;that&#8221;, Sanskrit has two of each. That is, there are four &#8220;degrees&#8221; of pronouns, varying by proximity:</p>
<p>1. very close, &#8220;this&#8221;: <strong><i>etad</i>, एतद् </strong>:</p>
<blockquote><p>
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?t=KH&amp;q=eSa&amp;g=Mas&amp;font=deva">m.</a> एषः &emsp; एतौ &emsp; एते (एतेन, एतस्य, एतस्मिन्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?t=KH&amp;q=eSA&amp;g=Fem&amp;font=deva">f.</a> एषा &emsp; एते &emsp; एताः (एतया, एतस्याः, एतस्याम्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=etad&amp;g=Neu&amp;font=deva">n.</a> एतत् &emsp; एते &emsp; एतानि (एतेन, एतस्य, एतस्मिन्)
</p></blockquote>
<p>2. close, &#8220;this&#8221;: <strong><i>idam</i>, इदम्</i></strong></p>
<blockquote><p>
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=ayam&amp;g=Mas&amp;font=deva">m.</a> अयम् &emsp; इमौ &emsp; इमे (इमम्, अनेन, अस्य, अस्मिन्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=iyam&amp;g=Fem&amp;font=deva">f.</a> इयम्  &emsp; इमे  &emsp; इमाः (इमाम्, अनया, अस्याः, अस्याम्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=idam&amp;g=Neu&amp;font=deva">n.</a> इदम् &emsp; इमे &emsp; इमानि (इदम्, अनेन, अस्य, अस्मिन्)
</p></blockquote>
<p>3. away, &#8220;that&#8221;: <strong><i>adas</i>, अदस्</strong> (rare?)</p>
<blockquote><p>
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=asau&amp;g=Mas&amp;font=deva">m.</a> असौ  &emsp; अमू   &emsp; अमी (अमुम्, अमुना, अमुष्य, अमुष्मिन्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=asau&amp;g=Fem&amp;font=deva">f.</a> असौ  &emsp; अमू  &emsp; अमूः  (अमूम्, अमुया, अमुष्याः, अमुष्याम्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=adas&amp;g=Neu&amp;font=deva">n.</a> अदः &emsp; अमू &emsp; अमूनि (अदः, अमुना, अमुष्य, अमुष्मिन्)
</p></blockquote>
<p>4. <i>in absentia</i>, &#8220;that&#8221;: <strong><i>tad</i>, तद् </strong></p>
<blockquote><p>
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=sa&amp;g=Mas&amp;font=deva">m.</a> सः  &emsp; तौ  &emsp; ते (तम्, तेन, तस्य, तस्मिन्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=saa&amp;g=Fem&amp;font=deva">f.</a> सा &emsp;  ते  &emsp; ताः (ताम्, तया, तस्याः, तस्याम्)<br />
<a href="http://sanskrit.inria.fr/cgi-bin/sktdeclin?q=tad&amp;g=Neu&amp;font=deva">n.</a> तत्  &emsp;    ते    &emsp;   तानि (तत्, तेन, तस्य, तस्मिन्)
</p></blockquote>
<p>Then there&#8217;s also एनम् etc., which according to MW &#8220;Grammarians assert that the substitution of एनम् &amp;c for इमम् or एतम् &amp;c takes place when something is referred to which has already been mentioned in a previous part of the sentence&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2234&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/05/24/sanskrit-pronouns-and-closeness/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://shreevatsa.wordpress.com/2011/05/23/2214/</link>
		<comments>http://shreevatsa.wordpress.com/2011/05/23/2214/#comments</comments>
		<pubDate>Tue, 24 May 2011 03:11:44 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2214</guid>
		<description><![CDATA[रम्याणि वीक्ष्य मधुरांश्च निशम्य शब्दान् &#8195; पर्युत्सुको भवति यत्सुखितोऽपि जन्तुः&#8202;। तच्चेतसा स्मरति नूनमबोधपूर्वं &#8195; भावस्थिराणि जननान्तरसौहृदानि&#8202;॥<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2214&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://shreevatsa.files.wordpress.com/2011/05/photo0018-cropped.jpg?w=700&#038;h=663" alt="" width="700" height="663" class="aligncenter size-full wp-image-2215" /></p>
<blockquote><pre><span style="font-size:larger;">
रम्याणि वीक्ष्य मधुरांश्च निशम्य शब्दान्
&emsp; पर्युत्सुको भवति यत्सुखितोऽपि जन्तुः&#8202;।
तच्चेतसा स्मरति नूनमबोधपूर्वं
&emsp; भावस्थिराणि जननान्तरसौहृदानि&#8202;॥
</span></pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2214&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/05/23/2214/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/05/photo0018-cropped.jpg" medium="image" />
	</item>
		<item>
		<title>Making audio louder with Audacity</title>
		<link>http://shreevatsa.wordpress.com/2011/05/21/making-audio-louder-with-audacity/</link>
		<comments>http://shreevatsa.wordpress.com/2011/05/21/making-audio-louder-with-audacity/#comments</comments>
		<pubDate>Sat, 21 May 2011 08:57:44 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[compknow]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2210</guid>
		<description><![CDATA[(Tried with Audacity 1.3.12 beta.) Open the file in Audacity. Go to Effects → Amplify. The amplification set is already the maximum possible without clipping. Don&#8217;t change anything, just click OK This makes the file as loud as possible without clipping: without the loudest parts of the &#8220;signal&#8221; getting lost. If the result is not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2210&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(Tried with Audacity 1.3.12 beta.)</p>
<ol>
<li>Open the file in Audacity. Go to Effects → Amplify.</li>
<li>The amplification set is already the maximum possible without clipping. Don&#8217;t change anything, just click OK</li>
</ol>
<p>This makes the file as loud as possible without clipping: without the loudest parts of the &#8220;signal&#8221; getting lost. If the result is not loud enough, the problem is not with the loudest parts (they are already as loud as they can be), but with the softer parts. So you need a transformation that makes the soft parts louder while keeping the loud parts the same. This is <a href="http://en.wikipedia.org/wiki/Dynamic_range_compression">Dynamic range compression</a>: the <a href="http://en.wikipedia.org/wiki/Dynamic_range">dynamic range</a> (difference between softest and loudest parts) is compressed.</p>
<p>So, after trying &#8220;Amplify&#8221;,</p>
<ol>
<li>Download &#8220;Chris&#8217;s dynamic compressor&#8221; from <a href="http://pdf23ds.net/software/dynamic-compressor/">here</a> (<a href="http://pdf23ds.net/projects/compressor/compress.ny">direct link</a>).</li>
<li>Save the file <tt>compress.ny</tt> in <tt>/Applications/Audacity/plug-ins</tt></li>
<li>In Audacity, go to &#8220;Effects → Compress dynamics…&#8221; (or perhaps it&#8217;s called &#8220;Compress &amp;dynamics…&#8221;)</li>
<li>The first control (&#8220;Compress ratio&#8221;) is the main one. Or just leave it as it is. Click OK.</li>
<li>If still not loud enough, go back and increase Compress ratio. Of course, increasing it means decreasing the dynamic range — increase it too much and the parts meant to be soft will be no softer than the rest.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2210&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/05/21/making-audio-louder-with-audacity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>Converting old PS files (generated with LaTeX) to searchable PDFs</title>
		<link>http://shreevatsa.wordpress.com/2011/05/05/converting-old-ps-files-generated-with-latex-to-searchable-pdfs/</link>
		<comments>http://shreevatsa.wordpress.com/2011/05/05/converting-old-ps-files-generated-with-latex-to-searchable-pdfs/#comments</comments>
		<pubDate>Thu, 05 May 2011 15:42:30 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[compknow]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[TeX]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2199</guid>
		<description><![CDATA[A common (or at least, more common than it should be) scenario: you find a PostScript file of some paper, clearly written in (La)TeX, but which looks blurry on screen and you cannot copy any text. Converting to PDF with, say, ps2pdf does not help either. You curse the .ps format, and put up with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2199&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: perl;">
pkfix fasc3a.ps fasc3a-fix.ps
ps2pdf fasc3a-fix.ps
</pre></p>
<p>A common (or at least, more common than it should be) scenario: you find a PostScript file of some paper, clearly written in (La)TeX, but which looks blurry on screen and you cannot copy any text. Converting to PDF with, say, <tt>ps2pdf</tt> does not help either. You curse the <tt>.ps</tt> format, and put up with the blurriness or print it out (where it looks fine) to read it.</p>
<p>Turns out it doesn&#8217;t have to be this way. The problem is that the PS file is using bitmap fonts, but assuming you have the scalable (Type 1) versions of those same fonts on your system, you can convert the fonts! There&#8217;s a script called <b>pkfix</b>, distributed with TeX Live, which will take a ps file that uses bitmap fonts and try to convert it to use scalable fonts. Just run it as</p>
<p><pre class="brush: perl;">
pkfix inputfile.ps outputfile.ps
</pre></p>
<p>This should produce a PS which isn&#8217;t blurry and is searchable, but if you prefer PDF, the usual way will work<br />
<pre class="brush: perl;">
ps2pdf outputfile.ps
</pre><br />
or on Mac OS X if you don&#8217;t have <tt>ps2pdf</tt> for some reason, <tt>o inputfile.ps -a macps2pdf</tt> where macps2pdf comes with MacGhostView.</p>
<p>If the file is very old (generated with dvips from before 1996) and <a href="http://en.wikipedia.org/w/index.php?title=Pkfix&amp;oldid=395060436">pkfix</a> doesn&#8217;t work, there&#8217;s a further script called <tt>pkfix-helper</tt> that may make the file appropriate for <tt>pkfix</tt>.</p>
<p>BTW, if it&#8217;s your <i>own</i> files that are coming out blurry, something is wrong with your setup. Just install the package <tt>cm-super</tt> from CTAN—<tt>sudo tlmgr install cm-super</tt> or whatever—and no other change is needed. Or you can use the lmodern fonts with <tt>\usepackage{lmodern}</tt>, but that shouldn&#8217;t be necessary.</p>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/fonts/'>fonts</a>, <a href='http://shreevatsa.wordpress.com/tag/latex/'>latex</a>, <a href='http://shreevatsa.wordpress.com/tag/tex/'>TeX</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2199&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/05/05/converting-old-ps-files-generated-with-latex-to-searchable-pdfs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>Reality is what it is</title>
		<link>http://shreevatsa.wordpress.com/2011/04/17/reality-is-what-it-is/</link>
		<comments>http://shreevatsa.wordpress.com/2011/04/17/reality-is-what-it-is/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 11:44:37 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[academics]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2196</guid>
		<description><![CDATA[From Peter G. Casazza&#8217;s occasionally pessimistic A Mathematician&#8217;s Survival Guide (last emphasis mine): Wonderful Advances. When I first joined the mathematics community I was excited to join a group dedicated to advancing mathematics. I had a rude awakening when it became clear that we were really working to advance ourselves. This is an unfortunate consequence [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2196&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From Peter G. Casazza&#8217;s occasionally pessimistic <a href="http://www.math.missouri.edu/~pete/pdf/140-MAA.pdf"><i>A Mathematician&#8217;s Survival Guide</i></a> (last emphasis mine):</p>
<blockquote><p>
<strong>Wonderful Advances.</strong> When I first joined the mathematics community I was excited to join a group dedicated to <i>advancing mathematics.</i> I had a rude awakening when it became clear that we were really working to <i>advance ourselves.</i> This is an unfortunate consequence of the reality around us. We must all compete for very scarce research grants, positions, promotion, tenure, awards, raises etc. <strong>But we need to be careful that this reality does not diminish our enjoyment of the subject.</strong>
</p></blockquote>
<p>One of the things I wish I had read a few years ago. Little niggles can also matter.</p>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/academics/'>academics</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2196&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/04/17/reality-is-what-it-is/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>How does Tupper&#8217;s self-referential formula work?</title>
		<link>http://shreevatsa.wordpress.com/2011/04/12/how-does-tuppers-self-referential-formula-work/</link>
		<comments>http://shreevatsa.wordpress.com/2011/04/12/how-does-tuppers-self-referential-formula-work/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 17:05:20 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[mathematics]]></category>
		<category><![CDATA[clever]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[trivia]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2164</guid>
		<description><![CDATA[[I write this post with a certain degree of embarrassment, because in the end it turns out (1) to be more simple than I anticipated, and (2) already done before, as I could have found if I had internet access when I did this. :-)] The so-called &#8220;Tupper&#8217;s self-referential formula&#8221; is the following, due to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2164&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><i>[I write this post with a certain degree of embarrassment, because in the end it turns out (1) to be more simple than I anticipated, and (2) already done before, as I could have found if I had internet access when I did this. :-)]</i></p>
<p>The so-called <a href="http://mathworld.wolfram.com/TuppersSelf-ReferentialFormula.html">&#8220;Tupper&#8217;s self-referential formula&#8221;</a> is the following, due to Jeff Tupper.</p>
<blockquote><p>
Graph the set of all points <img src='http://s0.wp.com/latex.php?latex=%7B%28x%2Cy%29%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{(x,y)}' title='{(x,y)}' class='latex' /> such that </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++%5Cfrac12+%3C+%5Cleft%5Clfloor+%5Cmathrm%7Bmod%7D+%5Cleft%28+%5Cleft%5Clfloor%7B%5Cfrac%7By%7D%7B17%7D%7D%5Cright%5Crfloor+2%5E%7B-17%5Clfloor+x+%5Crfloor+-+%5Cmathrm%7Bmod%7D%28%5Clfloor+y+%5Crfloor%2C+17%29%7D%2C+2+%5Cright%29+%5Cright%5Crfloor+&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle  &#92;frac12 &lt; &#92;left&#92;lfloor &#92;mathrm{mod} &#92;left( &#92;left&#92;lfloor{&#92;frac{y}{17}}&#92;right&#92;rfloor 2^{-17&#92;lfloor x &#92;rfloor - &#92;mathrm{mod}(&#92;lfloor y &#92;rfloor, 17)}, 2 &#92;right) &#92;right&#92;rfloor ' title='&#92;displaystyle  &#92;frac12 &lt; &#92;left&#92;lfloor &#92;mathrm{mod} &#92;left( &#92;left&#92;lfloor{&#92;frac{y}{17}}&#92;right&#92;rfloor 2^{-17&#92;lfloor x &#92;rfloor - &#92;mathrm{mod}(&#92;lfloor y &#92;rfloor, 17)}, 2 &#92;right) &#92;right&#92;rfloor ' class='latex' /></p>
<p>in the region</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++0+%3C+x+%3C+106+&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle  0 &lt; x &lt; 106 ' title='&#92;displaystyle  0 &lt; x &lt; 106 ' class='latex' /></p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++N+%3C+y+%3C+N%2B17+&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle  N &lt; y &lt; N+17 ' title='&#92;displaystyle  N &lt; y &lt; N+17 ' class='latex' /></p>
<p>where N is the following 544-digit integer:<br />
48584506361897134235820959624942020445814005879832445494830930850619<br />
34704708809928450644769865524364849997247024915119110411605739177407<br />
85691975432657185544205721044573588368182982375413963433822519945219<br />
16512843483329051311931999535024137587652392648746133949068701305622<br />
95813219481113685339535565290850023875092856892694555974281546386510<br />
73004910672305893358605254409666435126534936364395712556569593681518<br />
43348576052669401612512669514215505395545191537854575257565907405401<br />
57929001765967965480064427829131488548259914721248506352686630476300
</p></blockquote>
<p>The result is the following graph:<br />
<div id="attachment_2170" class="wp-caption aligncenter" style="width: 710px"><img src="http://shreevatsa.files.wordpress.com/2011/04/tupper-out.png?w=700&#038;h=157" alt="" title="tupper-out" width="700" height="157" class="size-full wp-image-2170" /><p class="wp-caption-text">Figure 1: The graph of the formula, in some obscure region, is a picture of the formula itself.</p></div></p>
<p>Whoa. How does this work?</p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p>At first sight this is rather too incredible for words.</p>
<p>But after a few moments we can begin to guess what is going on, and see that—while clever—this is perhaps not so extraordinary after all. So let us calmly try to reverse-engineer this feat.</p>
<p><span id="more-2164"></span></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<p>The first thing we notice is the size of N. As the &#8220;formula&#8221; is small and innocuous (just a few exponents, remainders and floors, no &#8220;unnatural&#8221; functions), and N is so disconcertingly huge, it is reasonable to guess that all the actual information that produces the graph is contained in N itself. This would mean that the formula is like a bare-bones &#8220;program&#8221;, and N is the &#8220;input&#8221; that somehow encodes the image that is the graph.</p>
<p>To understand the encoding, we must turn to the formula.</p>
<p>First, using the fact that <img src='http://s0.wp.com/latex.php?latex=%7B%5Cleft%5Clfloor+%5Cfrac%7By%7D%7B17%7D+%5Cright%5Crfloor+%3D+%5Cleft%5Clfloor+%5Cfrac%7B%5Clfloor+y+%5Crfloor%7D%7B17%7D+%5Cright%5Crfloor%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{&#92;left&#92;lfloor &#92;frac{y}{17} &#92;right&#92;rfloor = &#92;left&#92;lfloor &#92;frac{&#92;lfloor y &#92;rfloor}{17} &#92;right&#92;rfloor}' title='{&#92;left&#92;lfloor &#92;frac{y}{17} &#92;right&#92;rfloor = &#92;left&#92;lfloor &#92;frac{&#92;lfloor y &#92;rfloor}{17} &#92;right&#92;rfloor}' class='latex' />, we see that the formula (relation, more properly) depends on <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{x}' title='{x}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{y}' title='{y}' class='latex' /> only through <img src='http://s0.wp.com/latex.php?latex=%7B%5Clfloor%7Bx%7D%5Crfloor%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{&#92;lfloor{x}&#92;rfloor}' title='{&#92;lfloor{x}&#92;rfloor}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7B%5Clfloor%7By%7D%5Crfloor%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{&#92;lfloor{y}&#92;rfloor}' title='{&#92;lfloor{y}&#92;rfloor}' class='latex' />. So the graph in each 1&times;1 square (with vertices having integer coordinates) is the same as at its bottom-left endpoint.</p>
<div id="attachment_2171" class="wp-caption aligncenter" style="width: 710px"><img src="http://shreevatsa.files.wordpress.com/2011/04/part-grid.png?w=700&#038;h=362" alt="" title="part-grid" width="700" height="362" class="size-full wp-image-2171" /><p class="wp-caption-text">A part of Figure 1 enlarged, with grid turned on</p></div>
<p>(Just a sanity check at this point: this observation means that Figure 1 is essentially a 106&times;17 bitmap. 106&times;17=1802, and <img src='http://s0.wp.com/latex.php?latex=%7BN%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{N}' title='{N}' class='latex' /> has about <img src='http://s0.wp.com/latex.php?latex=%7B544%5Clg+10+%5Capprox+1807%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{544&#92;lg 10 &#92;approx 1807}' title='{544&#92;lg 10 &#92;approx 1807}' class='latex' /> bits, which is roughly as many bits as the image. So we have another reason for our suspicion that N encodes the image.)</p>
<p>Accordingly, we can restrict our attention to integer values for <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{x}' title='{x}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{y}' title='{y}' class='latex' />. Further, <img src='http://s0.wp.com/latex.php?latex=%7B%5Cfrac12+%3C+%5Clfloor+%5Calpha+%5Crfloor%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{&#92;frac12 &lt; &#92;lfloor &#92;alpha &#92;rfloor}' title='{&#92;frac12 &lt; &#92;lfloor &#92;alpha &#92;rfloor}' class='latex' /> is the same as <img src='http://s0.wp.com/latex.php?latex=%7B1+%5Cle+%5Calpha%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{1 &#92;le &#92;alpha}' title='{1 &#92;le &#92;alpha}' class='latex' /> (I wonder why the obfuscation was there?), so we can simplify the formula:</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++1+%5Cle+%7B%5Cmathrm%7Bmod%7D%7D+%5Cleft%28+%5Cleft%5Clfloor%7B%5Cfrac%7By%7D%7B17%7D%7D%5Cright%5Crfloor+2%5E%7B-17x+-+%5Cmathrm%7Bmod%7D%28y%2C+17%29%7D%2C+2+%5Cright%29+&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle  1 &#92;le {&#92;mathrm{mod}} &#92;left( &#92;left&#92;lfloor{&#92;frac{y}{17}}&#92;right&#92;rfloor 2^{-17x - &#92;mathrm{mod}(y, 17)}, 2 &#92;right) ' title='&#92;displaystyle  1 &#92;le {&#92;mathrm{mod}} &#92;left( &#92;left&#92;lfloor{&#92;frac{y}{17}}&#92;right&#92;rfloor 2^{-17x - &#92;mathrm{mod}(y, 17)}, 2 &#92;right) ' class='latex' /></p>
<p>We also notice a dependence on the value of y mod 17, so let&#8217;s write <img src='http://s0.wp.com/latex.php?latex=%7By+%3D+17q+%2B+r%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{y = 17q + r}' title='{y = 17q + r}' class='latex' />, where the remainder <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{r}' title='{r}' class='latex' /> satisfies <img src='http://s0.wp.com/latex.php?latex=%7B0+%5Cle+r+%3C+17%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{0 &#92;le r &lt; 17}' title='{0 &#92;le r &lt; 17}' class='latex' />. So our graph is the set of all points <img src='http://s0.wp.com/latex.php?latex=%7B%28x%2C+17q%2Br%29%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{(x, 17q+r)}' title='{(x, 17q+r)}' class='latex' /> for which</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++1+%5Cle+%5Cmathrm%7Bmod%7D+%5Cleft%28q+2%5E%7B-17x+-+r%7D%2C+2+%5Cright%29+%3D+%5Cmathrm%7Bmod%7D+%5Cleft%28%5Cfrac%7Bq%7D%7B2%5E%7B17x%2Br%7D%7D%2C+2+%5Cright%29&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle  1 &#92;le &#92;mathrm{mod} &#92;left(q 2^{-17x - r}, 2 &#92;right) = &#92;mathrm{mod} &#92;left(&#92;frac{q}{2^{17x+r}}, 2 &#92;right)' title='&#92;displaystyle  1 &#92;le &#92;mathrm{mod} &#92;left(q 2^{-17x - r}, 2 &#92;right) = &#92;mathrm{mod} &#92;left(&#92;frac{q}{2^{17x+r}}, 2 &#92;right)' class='latex' /></p>
<p>which is the same as saying that
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cleft%5Clfloor+%5Cfrac%7Bq%7D%7B2%5E%7B17x%2Br%7D%7D+%5Cright%5Crfloor&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;left&#92;lfloor &#92;frac{q}{2^{17x+r}} &#92;right&#92;rfloor' title='&#92;displaystyle &#92;left&#92;lfloor &#92;frac{q}{2^{17x+r}} &#92;right&#92;rfloor' class='latex' /></p>
<p> is an odd number.</p>
<p>Note that the region in which the plotting is supposed to be done has a range of only 17 integers for <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{y}' title='{y}' class='latex' />, so <img src='http://s0.wp.com/latex.php?latex=%7Bq+%3D+%5Cleft%5Clfloor%7B%5Cfrac%7By%7D%7B17%7D%7D%5Cright%5Crfloor%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{q = &#92;left&#92;lfloor{&#92;frac{y}{17}}&#92;right&#92;rfloor}' title='{q = &#92;left&#92;lfloor{&#92;frac{y}{17}}&#92;right&#92;rfloor}' class='latex' /> remains the same for all <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{y}' title='{y}' class='latex' /> (except possibly off by 1) while <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{r}' title='{r}' class='latex' /> ranges from <img src='http://s0.wp.com/latex.php?latex=%7B0%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{0}' title='{0}' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=%7B16%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{16}' title='{16}' class='latex' />. For a fixed value of <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{x}' title='{x}' class='latex' />, then, different values of <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{y}' title='{y}' class='latex' /> correspond to different <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{r}' title='{r}' class='latex' />.</p>
<p>In case you haven&#8217;t noticed yet,
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cleft%5Clfloor+%5Cfrac%7Bq%7D%7B2%5E%7B17x%2Br%7D%7D+%5Cright%5Crfloor&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;left&#92;lfloor &#92;frac{q}{2^{17x+r}} &#92;right&#92;rfloor' title='&#92;displaystyle &#92;left&#92;lfloor &#92;frac{q}{2^{17x+r}} &#92;right&#92;rfloor' class='latex' /></p>
<p> being odd is equivalent to the (17x+r)<sup>th</sup> bit of <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{q}' title='{q}' class='latex' /> (counting from the rightmost bit as the 0<sup>th</sup>) being 1. So in the graph, the pixel at <img src='http://s0.wp.com/latex.php?latex=%7B%28x%2Cr%29%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{(x,r)}' title='{(x,r)}' class='latex' /> is 1 iff the bit at position (17x+r) in <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{q}' title='{q}' class='latex' /> is 1: <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{q}' title='{q}' class='latex' /> is merely a list of bits of the image! It&#8217;s a rather straightforward encoding after all: it just reads off the bits of the image, reading each column upwards, and going through the columns left-to-right.</p>
<p>In hindsight, we can see that this is in fact the natural encoding. If you were given a bitmap image &#8216;q&#8217; got by concatenating each column (or row), and wanted to find a mathematical relation which for (x,r) was 1 iff the image had a bit at that point, this is more or less the relation you would come up with (for some orientation of the axes). Tupper&#8217;s further trick here is in folding the value of q into the value of y itself as y=17q+r.</p>
<h2>The &#8220;mistake&#8221;</h2>
<p>Actually, the value of N that I included above is one I found myself. <i>Every</i> source I&#8217;ve seen (examples: <a href="http://mathworld.wolfram.com/TuppersSelf-ReferentialFormula.html">MathWorld</a>, <a href="http://en.wikipedia.org/wiki/Tupper's_self-referential_formula">Wikipedia</a>, <a href="http://web.aanet.com.au/superseed/ajmcrae/TupperPlot/TupperPlot.html">&#8220;Implementation&#8221; webpage (doesn&#8217;t work)</a>, <a href="http://www.aplusbi.com/?page_id=9">blog with code</a>, etc., etc.) instead mentions a different constant for N, namely the 543-digit integer (call it N&#8217;)<br />
96093937991895888497167296212785275471500433966012930665150551927170<br />
28023952664246896428421743507181212671537827706233559932372808741443<br />
07891325963941337723487857735749823926629715517173716995165232890538<br />
22161240323885586618401323558513604882869333790249145422928866708109<br />
61844960917051834540678277315517054053816273809676025656250169814820<br />
83418783163849115590225610003652351370343874461848378737238198224849<br />
86346503315941005497470059313833922649724946175154572836670236974546<br />
1014655997933798537483143786841806593422227898388722980000748404719.</p>
<p>Graphing the function on the range <img src='http://s0.wp.com/latex.php?latex=%7BN%27+%3C+y+%3C+N%27+%2B+17%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{N&#039; &lt; y &lt; N&#039; + 17}' title='{N&#039; &lt; y &lt; N&#039; + 17}' class='latex' /> gives the following figure:<img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /><br />
<div id="attachment_2172" class="wp-caption aligncenter" style="width: 710px"><img src="http://shreevatsa.files.wordpress.com/2011/04/out-rev.png?w=700&#038;h=171" alt="" title="out-rev" width="700" height="171" class="size-full wp-image-2172" /><p class="wp-caption-text">What Tupper's formula as described in every source <i>actually</i> graphs</p></div></p>
<p>It is upside down. This is of course an entirely trivial goofup, probably based on the mathematical convention (the y-axis goes upwards) differing from computers&#8217; screen convention (the y-axis goes downwards), but there&#8217;s something slightly comic about spending all this effort devising a very clever trick, but failing to ensure it&#8217;s not upside down. (‘The scene in <i>Not the Nine O&#8217;clock News</i> in which an elderly, exhausted monk unbent himself after years of illuminating the first page of the Bible, only to see that he had written, gloriously, &#8220;Benesis&#8221;’.) But that&#8217;s not a big deal, mistakes happen. What I find strange is that hundreds of people have been quoting and referencing this, without ever bothering to check it for themselves, and those who <i>did</i> bother and presumably noticed something amiss (e.g. <a href="http://www.aplusbi.com/?page_id=9">here</a>, <a href="http://www.reddit.com/r/reddit.com/comments/yxxw/this_is_by_far_the_most_mindblowing_mathematical/cyyba">Reddit</a>, <a href="http://news.ycombinator.com/item?id=1568931">Hacker News</a>,…) merely changed their code to &#8220;make it work&#8221; (<i>a la</i> voodoo programming) rather than confidently declaring that the constant was the wrong one, or at least specifying that the y-axis needs to go downwards. (Even the upside-down constant isn&#8217;t always consistently described: Stan Wagon&#8217;s nice <a href="http://stanwagon.com/wagon/Misc/bestpuzzles.html">list of favourite puzzles</a>, mentioned as a source on MathWorld, calls it a 541-digit integer but prints all 543 digits, while the otherwise excellent book <i>Experimental Mathematics in Action</i> (by David H. Bailey, Jonathan M. Borwein, Neil J. Calkin, Roland Girgensohn, D. Russell Luke, and Victor H. Moll) calls it a 541-digit integer and actually cuts off the last two digits, which results in an image that looks like garbage.)</p>
<p>It&#8217;s remarkable that no one would check something so easy to check, even in these days when nearly any computer user has access to tools that make it easy. Maybe they are using the wrong tools? Something as simple as this will work:</p>
<p><pre class="brush: python;">
#!/usr/bin/env python
N = 96093937991895888497# Truncated, but you can paste the full constant here
H = 17
W = 106
import sys
for y in range(N+H-1, N-1, -1):
    for x in range(W):
        if 0.5 &lt; ((y//H) // (2**(H*x + y%H))) % 2: sys.stdout.write('*')
        else: sys.stdout.write(' ')
    sys.stdout.write('\n')
</pre><br />
producing </p>
<pre>
*** *                                                               ***  *** *                 ***
*   *                                                               *      * *                   *
*  *                                                                *  * * *  *                  *     ***
*  *      *                                                         *  * * *  *                  *       *
*  *     *                                                          * *  * *  *                  *      *
* *      *                                                          * *  * *   *                 *     *
* * ****                                                       **** * ** * *   * ***   **  * * * * *    **
* *    *                                                          * *      *   * *  * *  * * * * *  *
* *   *                                                          *  * **** *   * *  * *  * * * * *   * ***
* *  *     *       * *** *** *                   *** ***        *   *      *   * ***   **   * ** *  *
* * *  *   *      *  *     * *                   *     *       *  * *   *  *   * *               * *   ***
* *  **   *       *  *   * *  *                  *     *        **  *  *   *   * *               *      *
*  *      *   * *    *  *  *  * *** *** * * *    * * * *  * *       * * *  *  *                  *      *
*  *      *   * *    * * * *  * * * * * * * *    *  *  *  * *       * * *  *  *                  *      *
*  *      *  *  *    * * * *  * *** ***  **** ** * * * * *  * **    *      *  *                  *      **
*   *      * *  *    *     * *  *                *     * *  *       *      * *                   *
*   *      * ** *    *     * *  *                *     * ** *                *                   *
</pre>
<p>which (if you squint) you can see is the formula upside-down. (The appendix below contains a better version that uses matplotlib and was used to generate the images in the post.)</p>
<h2>Author, Background</h2>
<p>Apparently Tupper included the formula in his <a href="http://www.dgp.toronto.edu/~mooncake/papers/SIGGRAPH2001_Tupper.pdf">2001 SIGGRAPH paper on graphing methods</a>,  merely as an example of the kind of graphs his method can handle. (And he didn&#8217;t call it self-referential.) I&#8217;m pleased to discover that Tupper is the author of <a href="http://www.peda.com/grafeq/">GrafEq</a> which I remember trying some ten-odd years ago. It was at that time the best graphing software in certain respects (<a href="http://www.peda.com/grafeq/spec.html#precision">precision</a>, <a href="http://www.peda.com/grafeq/reviews.html">correctness</a>, <a href="http://www.peda.com/grafeq/gallery/rogue.html">etc.</a>), and as far as I can tell, it still is. I hope its ideas get incorporated in all graphing programs in the future. In the paper, Tupper writes:</p>
<blockquote><p>
Many students currently studying mathematics are using automated graphing tools that produce incorrect graphs for some of the equations discussed in their curricula. I have written this paper in the hope that, in the future, more students will have access to graphing tools that work correctly.
</p></blockquote>
<p>The <a href="http://www.peda.com/grafeq/gallery.html">gallery</a> page for GrafEq contains many other ingenious exploits that use implicit relations to get beautiful graphs. The one closest to the formula here is probably <a href="http://www.peda.com/grafeq/gallery/decimal_squares.html">Decimal Squares</a>, but many of the others are truly mind-boggling.</p>
<h2>Tupperware and beyond</h2>
<h3>More bitmaps</h3>
<p>Now that we see that graphing Tupper&#8217;s formula is just a &#8220;program&#8221; to decode a bitmap, it follows that the formula is also &#8220;universal&#8221;: for <i>any</i> bitmap image (of height at most 17 pixels), there exists an integer N such that graphing Tupper&#8217;s formula on the range 0 &lt; x &lt; width-of-image, N &lt; y &lt; N+17 produces the image. <strong>All possible images are contained in the graph of Tupper&#8217;s formula.</strong> For instance, N=6064344935827571835614778444061589919313891311 gives this:</p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/smiley-plot.png?w=288&#038;h=300" title="Pardon my poor imagination and drawing. :-)" width="288" height="300" class="aligncenter size-medium wp-image-2175" /></p>
<p>N = 114461430485773228734207468860322536020810361768206377253515727288242<br />
0531935654859544357377819147833060031564802551634741838422783909813925261<br />
4970555108049338384907856705947495396329029490965408180552069582726103040 gives this, a different kind of &#8220;self-reference&#8221;:</p>
<p><img src="http://shreevatsa.files.wordpress.com/2011/04/tupper-runescape.png?w=700&#038;h=330" alt="'Tupper' written in the 'Runescape' bitmap font" width="700" height="330" class="aligncenter size-full wp-image-2176" /></p>
<p>And so on. The appendix below contains a program that can read (some) .bmp files and generate corresponding N.</p>
<h3>Self-reference</h3>
<p>This also means that the formula is not self-referential at all (though one may argue it&#8217;s something better), any more than a program that prints <i>all possible strings</i> can be called a <a href="http://en.wikipedia.org/wiki/Quine_(computing)">quine</a>. So in the spirit of actual self-reference, here is </p>
<p><strong>Exercise 1</strong> (easy): Find N such that the graph of Tupper&#8217;s formula (in the range given by N) is a picture of N, or prove that it is impossible.</p>
<p><strong>Exercise 2</strong> (hard): Find N such that the graph of Tupper&#8217;s formula (in the range given by N) is a picture of <img src='http://s0.wp.com/latex.php?latex=%5Clfloor%5Csqrt%7BN%7D%5Crfloor&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;lfloor&#92;sqrt{N}&#92;rfloor' title='&#92;lfloor&#92;sqrt{N}&#92;rfloor' class='latex' />, or prove that it is impossible.</p>
<h3>Pixellation</h3>
<p>It is easy to get a similar formula with higher resolution. For instance, the formula </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cbiggl%5Clfloor%5Cleft%5Clfloor%5Cfrac%7By%7D%7B61%7D%5Cright%5Crfloor2%5E%7B-61x-%28y%5Cbmod61%29%7D%5Cbiggr%5Crfloor%5Cbmod2%3D1&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='&#92;displaystyle &#92;biggl&#92;lfloor&#92;left&#92;lfloor&#92;frac{y}{61}&#92;right&#92;rfloor2^{-61x-(y&#92;bmod61)}&#92;biggr&#92;rfloor&#92;bmod2=1' title='&#92;displaystyle &#92;biggl&#92;lfloor&#92;left&#92;lfloor&#92;frac{y}{61}&#92;right&#92;rfloor2^{-61x-(y&#92;bmod61)}&#92;biggr&#92;rfloor&#92;bmod2=1' class='latex' /></p>
<p>graphed in the region <img src='http://s0.wp.com/latex.php?latex=%7B0+%3C+x+%3C+375%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{0 &lt; x &lt; 375}' title='{0 &lt; x &lt; 375}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7BN+%3C+y+%3C+N%2B61%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{N &lt; y &lt; N+61}' title='{N &lt; y &lt; N+61}' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=%7BN%7D&amp;bg=ffffff&amp;fg=1c1c1c&amp;s=0' alt='{N}' title='{N}' class='latex' /> <a href="http://shreevatsa.appspot.com/code/tupper/bigtupper.N.txt">a certain 6859-digit integer</a>, produces the following graph:<img src="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png?w=700" /></p>
<div id="attachment_2177" class="wp-caption aligncenter" style="width: 710px"><img src="http://shreevatsa.files.wordpress.com/2011/04/bigtupper-small.png?w=700&#038;h=172" alt="" title="bigtupper" width="700" height="172" class="size-full wp-image-2177" /><p class="wp-caption-text">More height means more resolution. (More care would avoid the bitmap artifacts.)</p></div>
<h3>Generalisation</h3>
<p>What we have so far is limited to images of a fixed height. So finally,<br />
<strong>Exercise 3</strong> (not so hard!): Find a variant of Tupper&#8217;s formula whose graph contains <em>all</em> W&times;H images, for all W and H.</p>
<h2>Acknowledgments</h2>
<p>I was going to mention <a href="http://mohankv.blogspot.com/2009/10/understanding-rubels-universal.html">Mohan&#8217;s post on Rubel&#8217;s Universal Differential Equation</a> for inspiration (and his mentions of Tupper&#8217;s formula for provocation), but on finding it again, I notice that (1) it already mentions <a href="http://mohankv.blogspot.com/2007/01/quines-of-world-unite.html">an earlier post</a> by him on precisely this Tupper&#8217;s formula, and (2) its style is unmatchable, anyway. :p</p>
<h2>Appendix</h2>
<ul>
<li><a href="http://shreevatsa.appspot.com/code/tupper/plot-tupper.py">plot-tupper.py</a>: Plots Tupper&#8217;s formula using matplotlib.</li>
<li><a href="http://shreevatsa.appspot.com/code/tupper/plot-old-full.py">plot-old-full.py</a>: Older version that prints to terminal or file, if matplotlib is not available or desired</li>
<li><a href="http://shreevatsa.appspot.com/code/tupper/bmp2tupper.py">bmp2tupper.py</a>: Reads a bitmap file (works with 32-bpp BMP files, not all) and generates N.</li>
</ul>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/clever/'>clever</a>, <a href='http://shreevatsa.wordpress.com/tag/mathematics/'>mathematics</a>, <a href='http://shreevatsa.wordpress.com/tag/programming/'>programming</a>, <a href='http://shreevatsa.wordpress.com/tag/trivia/'>trivia</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2164&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/04/12/how-does-tuppers-self-referential-formula-work/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/tupper-out.png" medium="image">
			<media:title type="html">tupper-out</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/part-grid.png" medium="image">
			<media:title type="html">part-grid</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/out-rev.png" medium="image">
			<media:title type="html">out-rev</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/smiley-plot.png?w=288" medium="image">
			<media:title type="html">Pardon my poor imagination and drawing. :-)</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/tupper-runescape.png" medium="image">
			<media:title type="html">&#039;Tupper&#039; written in the &#039;Runescape&#039; bitmap font</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/blank-1px.png" medium="image" />

		<media:content url="http://shreevatsa.files.wordpress.com/2011/04/bigtupper-small.png" medium="image">
			<media:title type="html">bigtupper</media:title>
		</media:content>
	</item>
		<item>
		<title>The Book of Heroic Failures</title>
		<link>http://shreevatsa.wordpress.com/2011/03/21/the-book-of-heroic-failures/</link>
		<comments>http://shreevatsa.wordpress.com/2011/03/21/the-book-of-heroic-failures/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 15:01:42 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2157</guid>
		<description><![CDATA[Stephen Pile&#8217;s The Book of Heroic Failures (first published 1979) must be one of the greatest books ever written. Too many books have been written in praise of competence; this book provides an antidote by celebrating failure as only a British author can. Starting with a declaration that &#8220;Success is overrated&#8221;, it proceeds to chronicle, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2157&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Stephen Pile&#8217;s <i>The Book of Heroic Failures</i> (first published 1979) must be one of the greatest books ever written. Too many books have been written in praise of competence; this book provides an antidote by celebrating failure as only a British author can. Starting with a declaration that &#8220;Success is overrated&#8221;, it proceeds to chronicle, lovingly, miscellaneous tales from the ages. There is no description I can write that would be a substitute for quoting from the book at length:</p>
<blockquote><p>
THE LEAST SUCCESSFUL ANIMAL RESCUE<br />
The firemen&#8217;s strike of 1978 made possible one of the great animal rescue attempts of all time. Valiantly, the British Army had taken over emergency firefighting and on 14 January they were called out by an elderly lady in South London to retrieve her cat which had become trapped up a tree. They arrived with impressive haste and soon discharged their duty. So grateful was the lady that she invited them all in for tea. Driving off later, with fond farewells completed, they ran over the cat and killed it.
</p></blockquote>
<blockquote><p>
THE LEAST ACCURATELY LABELLED MUSEUM EXHIBIT<br />
A first-class example of inaccurate labelling was discovered in October 1971 in County Durham. The object was exhibited in a South Shields museum as a Roman <i>sestertius</i> coin, minted between AD 135 and AD 138. However, Miss Fiona Gordon, aged 9, pointed out that it was, in fact, a plastic token given away free by a soft drinks firm in exchange for bottle labels. The dating was, in her view, almost 2,000 years out.<br />
When challenged to provide evidence, she said: &#8216;I knew because the firm&#8217;s trademark was printed on the back.&#8217;<br />
A spokesman for the Roman Fort museum said: &#8216;The token was designed as a Roman replica. The trouble was that we construed the letter &#8220;R&#8221; on the coin to mean &#8220;Roma&#8221;. In fact it stood for &#8220;Robinsons&#8221;, the soft drink manufacturers.&#8217;
</p></blockquote>
<blockquote><p>
THE MOST POINTLESS RADIO INTERVIEW<br />
One of Britain&#8217;s most popular radio programmes is &#8216;Desert Island Discs&#8217; in which a celebrity is asked to imagine that, for unspecified reasons, he is trapped on a desert island with his eight favourite records.<br />
In the early 1970s the programme&#8217;s presenter, Roy Plomley was keen to get the novelist Alistair Maclean on to his programme. As a writer of adventure stories, it was felt he might fit the role of a castaway and give a gripping broadcast.<br />
This was soon arranged, despite Maclean&#8217;s known reluctance to give interviews.<br />
Mr Plomley arranged to meet him for lunch at the Savile Club in London. They got on extremely well.<br />
During lunch Mr Plomley asked, &#8216;Which part of the year do you put aside for your writing?&#8217;<br />
&#8216;Writing?&#8217; said Maclean.<br />
&#8216;Yes &#8211; your books &#8211; <i>Guns of Navarone.</i>&#8216;<br />
&#8216;I&#8217;m not Alistair Maclean, the writer.&#8217;<br />
&#8216;No?&#8217;<br />
&#8216;No. I&#8217;m in charge of the Ontario Tourist Bureau.&#8217;<br />
With no alternative, the two set off for the studio. During the recording an increasingly agitated producer urged: &#8216;Ask him about his books.&#8217; &#8216;He hasn&#8217;t written any,&#8217; replied the broadcaster.<br />
The programme was never broadcast.
</p></blockquote>
<p><span id="more-2157"></span></p>
<blockquote><p>
THE WORST COMPUTER<br />
It is widely suggested that computers improve efficiency. Lovers of vintage chaos might remember the computer installed in 1975 by Avon County Council to pay staff wages.<br />
The computer&#8217;s spree started off in a small way, paying a school caretaker £75 an hour instead of 75 pence. Then it got ambitious and did not pay a canteen worker at all for seven weeks.<br />
Before long it got positively confident and paid a janitor £2,600 for a week&#8217;s work. He sent the cheque back and received another for the same amount by return of post.<br />
There was now no stopping it. A deputy headmistress received her year&#8217;s annual salary once a month; heads of department earned less than their assistants, and some people had more tax deducted in a week than they earned all year.<br />
In February 1975 two hundred and eighty employees on the Council payroll attended a protest meeting. Of these, only eight had been paid the correct salary. They all went on strike.
</p></blockquote>
<p>The makers of <i><a href="http://www.youtube.com/watch?v=pVssz2VMJVM">Forklift Driver Klaus</a></i> probably did not know of this real-life precursor:</p>
<blockquote><p>
THE LEAST SUCCESSFUL SAFETY FILM<br />
In 1976 the British Aircraft Corporation showed a film on the dangers of not wearing protective goggles to employees at its Preston factory. It was so horrific that thirteen employees had to be helped out by workmates and State Registered Nurses.<br />
One scene was so realistic that a welder fell off his chair in fright and had to have seven stitches. During the same scene another worker fainted and had to be carried out. In one full-colour close-up a group of machine minders had to be led out feeling sick and faint.<br />
The divisional safety officer, Mr Ron Hesketh, said the film was being withdrawn because it was not safe. &#8216;We are very keen to get over the point of eye protection,&#8217; he said, &#8216;but at this point in time we have decided not to take any chances. We seem to have had at least one person keeling over on every course during the safety campaign.&#8217;
</p></blockquote>
<blockquote><p>
THE WORST TOURIST<br />
The least successful tourist on record is Mr Nicholas Scotti of San Francisco. In 1977 he flew from America to his native Italy to visit relatives.<br />
En route the plane made a one-hour fuel stop at Kennedy Airport. Thinking that he had arrived, Mr Scotti got out and spent two days in New York believing he was in Rome.<br />
When his nephews were not there to meet him, Mr Scotti assumed they had been delayed in the heavy Roman traffic mentioned in their letters. While tracking down their address, the great traveller could not help noticing that modernization had brushed aside most, if not all, of the ancient city&#8217;s landmarks.<br />
He also noticed that many people spoke English with a distinct American accent. However, he just assumed that Americans got everywhere. Furthermore, he assumed it was for their benefit that so many street signs were written in English.<br />
Mr Scotti spoke very little English himself and next asked a policeman (in Italian) the way to the bus depot. As chance would have it, the policeman came from Naples and replied fluently in the same tongue.<br />
After twelve hours travelling round on a bus, the driver handed him over to a second policeman. There followed a brief argument in which Mr Scotti expressed amazement at the Rome police force employing someone who did not speak his own language.<br />
Scotti&#8217;s brilliance is seen in the fact that even when told he was in New York, he refused to believe it.<br />
To get him on a plane back to San Francisco, he was raced to the airport in a police car with sirens screaming. &#8216;See,&#8217; said Scotti to his interpreter, &#8216;I know I&#8217;m in Italy. That&#8217;s how they drive.&#8217;
</p></blockquote>
<blockquote><p>
THE LEAST SUCCESSFUL LION<br />
In 1970 a lion escaped from a circus in Italy. Typically, it found a small boy and started to chase him. Less typically the small boy&#8217;s mother turned on the lion and badly mauled it. The animal suffered severe head and skin wounds, and received treatment for shock.
</p></blockquote>
<blockquote><p>
THE MOST UNSUCCESSFUL RELIGIOUS PROCESSION<br />
At the end of the sixteenth century regular processions were organized around Hereford Cathedral to mark holy occasions. Before one such, the Dean of Hereford, Dr Price decided that in view of his own importance he would not, as before, walk on foot with the ruck of lowlier canons. He would instead ride on horseback so that he might be more easily seen reading from his prayer book. The proud cleric mounted his mare, opened his book and took to the streets.<br />
His reading was at an early stage when a stallion broke loose, saw his mare and mounted her.<br />
The dean was trapped, read practically nothing and swore he would never ride in a procession again.
</p></blockquote>
<blockquote><p>
THE LEAST PROFITABLE ROBBERY<br />
Intending to steal cash from a supermarket in 1977, a Southampton thief employed a unique tactic to divert the till girl&#8217;s attention. His method was to collect a trolley full of goods, arrive at her till and put down £10 by way of payment. She would then take the money and open the till, upon which he would snatch the contents.<br />
He arrived at the cash desk and put down the £10. She took it and opened the till; but there was only £4.37 in it.<br />
Undeterred, the Southampton thief snatched that and made his getaway, having lost £5.63 on the raid.
</p></blockquote>
<blockquote><p>
THE LEAST SUCCESSFUL POLICE DOGS<br />
America has a very strong candidate in &#8216;La Dur&#8217;, a fearsome looking schnauzer hound, who was retired from the Orlando police force in Florida in 1978. He consistently refused to do anything which might ruffle or offend the criminal classes.<br />
His handling officer, Rick Grim, had to admit: &#8216;He just won&#8217;t go up and bite them. I got sick and tired of doing that dog&#8217;s work for him.&#8217;<br />
The British contenders in this category, however, took things a stage further. &#8216;Laddie&#8217; and &#8216;Boy&#8217; were trained as detector dogs for drug raids. Their employment was terminated following a raid in the Midlands in 1967. While the investigating officer questioned two suspects, they patted and stroked the dogs who eventually fell asleep in front of the fire. When the officer moved to arrest the suspects, one dog growled at him while the other leapt up and bit his thigh.
</p></blockquote>
<blockquote><p>
THE LEAST SUCCESSFUL EXHIBITION<br />
The Royal Society for the Prevention of Accidents held an exhibition at Harrogate in 1968. The entire display fell down.
</p></blockquote>
<p>Times have changed so that this next one is no longer worthy of comment:</p>
<blockquote><p>
THE LEAST PERCEPTIVE ARTISTIC JUDGMENT<br />
In the appreciation of modern art openmindedness is an essential quality. None have displayed it more than the hundred Frankfurt art lovers who accepted an invitation in spring 1978 to an exhibition of works by an &#8216;exciting&#8217; new artist, Yamasaki &#8211; &#8216;the discovery of the year&#8217;. The catalogue drew their attention to the &#8216;convincing luminosity of his colours&#8217; and &#8216;the excitement of his powerfully dynamic brushwork&#8217;. Within three hours all twenty-two exhibits had been bought for up to £500 each.<br />
Excitement increased when the organiser, Mr Behrend Feddersen, announced that the artist would be making a guest appearance to answer questions about his work. How rewarding that the openmindedness of these art lovers was vindicated when a chimpanzee was brought in. &#8216;I encouraged him to throw paint on 22 canvases,&#8217; said Mr Feddersen, and announced that the proceeds of the exhibition would be donated &#8216;to the circus where he works.&#8217;
</p></blockquote>
<blockquote><p>
THE SOLDIERS WHO FOUGHT THE SECOND WORLD WAR FOR LONGEST<br />
Lieutenant Hiroo Onoda of the Japanese army fought the Second World War until 3 p.m. on 10 March 1974, despite the continued absence of armed opposition in the later years. He used to come out of the jungle on his remote island in the Philippines and fire the odd bullet on behalf of Emperor Hirohito. In 1945 &#8216;come home&#8217; letters were dropped from the air but he ignored them believing it was just a Yankee trick to make him surrender. After he was found in 1974 it took six months to finally convince him that the war really was over.<br />
But even after this surrender the Second World War still continued on the Island of Morotai where Private Teruo Nakamura maintained unbending resistance to the Allied Forces. This Indonesian island was finally liberated nine months later in December 1974.
</p></blockquote>
<blockquote><p>
THE WORST HIJACKERS<br />
We shall never know the identity of the man who in 1976 made the most unsuccessful hijack attempt ever. On a flight across America, he rose from his seat, drew a gun and took the stewardess hostage.<br />
Take me to Detroit,&#8217; he said. &#8216;We&#8217;re already going to Detroit,&#8217; she replied. &#8216;Oh . . . good,&#8217; he said, and sat down again.
</p></blockquote>
<blockquote><p>
THE LEAST SUCCESSFUL COUP<br />
In 1964 a fascist coup was organized in Rome. Gathering on the outskirts of the city, the right wingers planned a stampede to the centre prior to overthrowing the government.<br />
However, the majority were not from Rome itself and so the bulk of the stampede got lost in the back streets.<br />
Five years after the coup, the authorities discovered that it had taken place and set up a commission to investigate it.
</p></blockquote>
<blockquote><p>
THE BURGLAR WHO FELL IN LOVE WITH HIS VICTIM<br />
One of the great romantic encounters occurred in November 1978 between a Streatham burglar and a blonde lady into whose house he had broken.<br />
As soon as he saw the lady he changed his tack entirely, choosing this, of all unlikely moments, to woo her.<br />
After thirty minutes he was getting on so famously that he tried to kiss her. To his horror, she not only refused, but also felled him with a right-hand punch, a left-hand jab and a half-nelson.<br />
In this state she frogmarched him to the porter&#8217;s lodge, while hitting him on the head with a spare shoe.<br />
&#8216;She was no ordinary helpless female,&#8217; the burglar commented, on discovering that prior to a sex change she had been employed as a bricklayer.
</p></blockquote>
<blockquote><p>
THE LEAST SUCCESSFUL PORNOGRAPHIC BOOKSELLER<br />
In February 1970 a Swiss pornographic bookseller was fined the equivalent of £47 and given a ten-month suspended sentence because his books were not sufficiently pornographic.<br />
Angry residents of Biel took him to court because his wares were not as &#8216;sexually erotic&#8217; as his advertising campaign had led them to believe. At the hearing many of them expressed the view that had they been interested in veils, curtains, cushions and household plants they would have bought a furnishing catalogue.
</p></blockquote>
<p>Finally:</p>
<blockquote><p>
Fredrick Augustus was Elector of Saxony and later King of Poland. When he died in 1699, his household records revealed that he had produced only one child in wedlock. It was called Maurice. However the records also showed that Augustus&#8217; marital devotion occasionally faltered. He was also responsible for 345 illegitimate children.
</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2157&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/03/21/the-book-of-heroic-failures/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>Indian names</title>
		<link>http://shreevatsa.wordpress.com/2011/03/21/indian-names/</link>
		<comments>http://shreevatsa.wordpress.com/2011/03/21/indian-names/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 13:53:43 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[funny]]></category>
		<category><![CDATA[names]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2153</guid>
		<description><![CDATA[When The New York Times carried a routine notice about a book in 1961, John Updike, then 29, was so impressed by the author&#8217;s name that he wrote a poem about it: I Missed His Book, But I Read His Name &#8220;The Silver Pilgrimage,&#8221; by M. Anantanarayanan. . . . 160 pages. Criterion. $3.95. &#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2153&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When <i>The New York Times</i> carried a routine notice about a <a href="http://anantanarayanan.twobelugas.net/Pamani/EngWritings/SilPilV1.htm">book</a> in <a href="http://select.nytimes.com/gst/abstract.html?res=F30D1FFC395D1B728DDDA10994DE405B818AF1D3">1961</a>, John Updike, then 29, was so impressed by the author&#8217;s name that he wrote a <a href="http://www.newyorker.com/archive/1961/11/04/1961_11_04_142_TNY_CARDS_000269728">poem</a> about it:</p>
<blockquote>
<p><b>I Missed His Book, But I Read His Name</b></p>
<p align="right"><font size="-2">&#8220;The Silver Pilgrimage,&#8221; by M. Anantanarayanan. . . . 160 pages.<br />
Criterion. $3.95. &nbsp; &nbsp; &nbsp;—<i>The Times</i></font></p>
<p>Though authors are a dreadful clan<br />
To be avoided if you can,<br />
I&#8217;d like to meet the Indian,<br />
M. Anantanarayanan.</p>
<p>I picture him as short and tan.<br />
We&#8217;d meet, perhaps, in Hindustan.<br />
I&#8217;d say, with admirable <i>élan</i>,<br />
&#8220;Ah, Anantanarayanan —</p>
<p>I&#8217;ve heard of you. <i>The Times</i> once ran<br />
A notice on your novel, an<br />
Unusual tale of God and Man.&#8221;<br />
And Anantanarayanan</p>
<p>Would seat me on a lush divan<br />
And read his name — that sumptuous span<br />
Of &#8216;a&#8217;s and &#8216;n&#8217;s more lovely than<br />
&#8220;In Xanadu did Kubla Khan&#8221; —</p>
<p>Aloud to me all day. I plan<br />
Henceforth to be an ardent fan<br />
of Anantanarayanan —<br />
<i>M.</i> Anantanarayanan.
</p></blockquote>
<p><font size="-2">(Also on <a href="http://www.youtube.com/watch?v=RlTD_aGhtjc">Youtube</a>)</font></p>
<br /> Tagged: <a href='http://shreevatsa.wordpress.com/tag/names/'>names</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2153&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/03/21/indian-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Your monkey did not jump high enough&#8221;</title>
		<link>http://shreevatsa.wordpress.com/2011/01/29/your-monkey-did-not-jump-high-enough/</link>
		<comments>http://shreevatsa.wordpress.com/2011/01/29/your-monkey-did-not-jump-high-enough/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 09:06:14 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[mathematics]]></category>
		<category><![CDATA[sanskrit]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2137</guid>
		<description><![CDATA[Yesterday, in Futility Closet there was a post: In Longfellow&#8217;s novel Kavanagh, Mr. Churchill reads a word problem to his wife: “In a lake the bud of a water-lily was observed, one span above the water, and when moved by the gentle breeze, it sunk in the water at two cubits&#8217; distance. Required the depth [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2137&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday, in <a href="http://www.futilitycloset.com/2011/01/28/a-pretty-problem/">Futility Closet</a> there was a post:</p>
<blockquote><p>
In Longfellow&#8217;s novel <em>Kavanagh</em>, Mr. Churchill reads a word problem to his wife:</p>
<p>“In a lake the bud of a water-lily was observed, one span above the water, and when moved by the gentle breeze, it sunk in the water at two cubits&#8217; distance. Required the depth of the water.”</p>
<p>“That is charming, but must be very difficult,” she says. “I could not answer it.”</p>
<p>Is it? If a span is 9 inches and a cubit is 18 inches, how deep is the water?</p>
</blockquote>
<p><img src="http://shreevatsa.files.wordpress.com/2011/01/lilavati-water.png?w=700" alt="" title="lilavati-water" .5" .5" class="aligncenter size-full wp-image-2184" /><br />
The problem is simple enough: if the depth of the water is x inches so that the lotus from bottom to tip is x+9 inches, then x<sup>2</sup>+36<sup>2</sup>=(x+9)<sup>2</sup>, which means x=(36<sup>2</sup>-9<sup>2</sup>)/18=135/2=67.5.</p>
<p>More interestingly, as I accidentally recognised (I don&#8217;t know how), it is from the Sanskrit mathematics text <i>Lilavati</i> (and also found in the <i>Bījagaṇita</i>) of Bhaskaracharya (Bhaskara II). That entire chapter of <i>Kavanagh</i> is essentially quoting the Lilavati (<i>Kavanagh</i> is written in a somewhat embarrassing tone that perhaps explains why it&#8217;s so obscure :p); it&#8217;s included later below the horizontal line in this post.</p>
<p>Bhaskaracharya, believed to have lived in the 12th century, is considered the last great Indian mathematician, outside of the Kerala school. Like most Sanskrit texts, the <i>Līlāvati</i> is written in verse, so as to be easier to memorise. Unlike many Sanskrit technical works (or for that matter technical works in any language), however, Bhāskara&#8217;s works are not written in the typical dry style, and can veer quite poetic at times. His description of the seasons in one of his astronomical works is one of the few true instances of poetry in the Sanskrit astronomical/mathematical corpus. This particular problem, it happens, is written in the beautiful <i>mandākrānta</i> metre: (If it helps: mandakranta is the metre of the Meghadūta, of &#8220;शान्ताकारं भुजगशयनं…&#8221;, of &#8220;नास्था धर्मे न वसुनिचये…&#8221;, etc., and you can listen to a recitation in the Marathi tradition <a href="http://pantheon.yale.edu/~asd49/meters.html">by Ashwini Deo</a>.)</p>
<blockquote><p>
<font size="+1">
<pre>
चक्रक्रौञ्चाकुलितसलिले क्वापि दृष्टं तडागे
तोयादूर्ध्वं कमलकलिकाग्रं वितस्तिप्रमाणम्
मन्दं मन्दं चलितमनिलेनाऽऽहतं हस्तयुग्मे
तस्मिन्मग्नं गणक कथय क्षिप्रमम्बुप्रमाणम्
</pre>
<p></font></p>
<p>cakra-krauñcākulita-salile kvāpi dṛṣṭaṃ taḍāge<br />
toyād ūrdhvaṃ kamala-kalikāgraṃ vitasti-pramāṇam<br />
mandaṃ mandaṃ calitam anilenāhataṃ hasta-yugme<br />
tasmin magnaṃ gaṇaka kathaya kṣipram ambu-pramāṇam</p>
<p>In a certain lake swarming with geese and cranes,<br />
the tip of a bud of lotus was seen one span above the water.<br />
Forced by the wind, it gradually moved, and was submerged at a distance of two cubits.<br />
O mathematician, tell quickly the depth of the water.
</p></blockquote>
<p><font size="-2"><br />
Well, that&#8217;s my translation, close to Longfellow&#8217;s quoted <a href="http://books.google.com/books?id=0KMIAAAAQAAJ&amp;pg=PA73&amp;dq=lake">translation by Taylor</a> and to <a href="http://books.google.co.in/books?id=wYI_AAAAcAAJ&amp;pg=PA66&amp;dq=lake">Colebrooke&#8217;s better translation</a>, but I may be wrong, so details for anyone who cares to improve it:</p>
<blockquote><p>
In a certain [kvāpi] pool [taḍāge] whose water [salile] was swarming [ākulita] with ruddy geese [cakra] and curlews [krauñcā],<br />
above the water [toyād ūrdhvaṃ] a lotus-bud-tip [kamala-kalikāgraṃ] at a distance of one span [vitasti-pramāṇam] was seen [dṛṣṭaṃ].<br />
Slowly slowly [mandaṃ mandaṃ] by the wind [anilena] moved [calitam] and forced [āhataṃ],<br />
at a distance of two cubits [hasta-yugme] it got submerged [magnaṃ] in the water [tasmin].<br />
O mathematician [gaṇaka], say [kathaya] quickly [kṣipram] the depth of the water [ambu-pramāṇam].
</p></blockquote>
<p></font></p>
<p>The structure of the book may be worth remarking on: the general formula for exactly this problem is given first (in more technical terms), and then this problem is given as an example!</p>
<p>Glancing through Longfellow, one finds he&#8217;s also written a tiny poem called <a href="http://en.wikisource.org/wiki/King_Trisanku">King Trisanku</a>:</p>
<blockquote><p>
Viswamitra the Magician,<br />
By his spells and incantations,<br />
Up to Indra&#8217;s realms elysian<br />
Raised Trisanku, king of nations.</p>
<p>Indra and the gods offended<br />
Hurled him downward, and descending<br />
In the air he hung suspended,<br />
With these equal powers contending.</p>
<p>Thus by aspirations lifted,<br />
By misgivings downward driven,<br />
Human hearts are tossed and drifted<br />
Midway between earth and heaven.
</p></blockquote>
<p>Ho hum (1845 America).</p>
<p>The chapter of <i>Kavanagh</i> below this line.</p>
<hr />
<span id="more-2137"></span></p>
<p>&#8220;I was thinking to-day,&#8221; said Mr. Churchill a few minutes afterwards, as he took some papers from a drawer scented with a quince, and arranged them on the study table, while his wife as usual seated herself opposite to him with her work in her hand,—&#8221;I was thinking to-day how dull and prosaic the study of mathematics is made in our school-books; as if the grand science of numbers had been discovered and perfected merely to further the purposes of trade.&#8221; </p>
<p>&#8220;For my part,&#8221; answered his wife, &#8220;I do not see how you can make mathematics poetical. There is no poetry in them.&#8221; </p>
<p>&#8220;Ah, that is a very great mistake! There is something divine in the science of numbers. Like God, it holds the sea in the hollow of its hand. It measures the earth; it weighs the stars;it illumines the universe; it is law, it is order, it is beauty. And yet we imagine—that is, most of us—that its highest end and culminating point is book-keeping by double entry. It is our way of teaching it that makes it so prosaic.&#8221; </p>
<p>So saying, he arose, and went to one of his book-cases, from the shelf of which he took down a little old quarto volume, and laid it upon the table. </p>
<p>&#8220;Now here,&#8221; he continued, &#8220;is a book of mathematics of quite a different stamp from ours.&#8221; </p>
<p>&#8220;It looks very old. What is it?&#8221; </p>
<p>&#8220;It is the Lilawati of Bhascara Acharya, translated from the Sanscrit.&#8221; </p>
<p>&#8220;It is a pretty name. Pray what does it mean?&#8221; </p>
<p>&#8220;Lilawati was the name of Bhascara&#8217;s daughter; and the book was written to perpetuate it. Here is an account of the whole matter.&#8221; </p>
<p>He then opened the volume, and read as follows:— </p>
<p>&#8220;It is said that the composing of Lilawati was occasioned by the following circumstance. Lilawati was the name of the author&#8217;s daughter, concerning whom it appeared, from the qualities of the Ascendant at her birth, that she was destinedto pass her life unmarried, and to remain without children. The father ascertained a lucky hour for contracting her in marriage, that she might be firmly connected, and have children. It is said that, when that hour approached, he brought his daughter and his intended son near him. He left the hour-cup on the vessel of water, and kept in attendance a time-knowing astrologer, in order that, when the cup should subside in the water, those two precious jewels should be united. But as the intended arrangement was not according to destiny, it happened that the girl, from a curiosity natural to children, looked into the cup to observe the water coming in at the hole; when by chance a pearl separated from her bridal dress, fell into the cup, and, rolling down to the hole, stopped the influx of the water. So the astrologer waited in expectation of the promised hour. When the operation of the cup had thus been delayed beyond all moderate time, the father was in consternation, and examining, he found that a small pearl had stopped the course of the water, and the long-expected hour was passed. In short, the father, thus disappointed, said to his unfortunate daughter, I will write a book of your name, which shall remain to the latest times,—for a good name isa second life, and the groundwork of eternal existence.&#8221; </p>
<p>As the school-master read, the eyes of his wife dilated and grew tender, and she said,— </p>
<p>&#8220;What a beautiful story! When did it happen?&#8221; </p>
<p>&#8220;Seven hundred years ago, among the Hindoos.&#8221; </p>
<p>&#8220;Why not write a poem about it?&#8221; </p>
<p>&#8220;Because it is already a poem of itself,—one of those things, of which the simplest statement is the best, and which lose by embellishment. The old Hindoo legend, brown with age, would not please me so well if decked in gay colors, and hung round with the tinkling bells of rhyme. Now hear how the book begins.&#8221; </p>
<p>Again he read;— </p>
<p>&#8220;Salutation to the elephant-headed Being who infuses joy into the minds of his worshippers, who delivers from every difficulty those that call upon him, and whose feet are reverenced by the gods!—Reverence to Ganesa, who is beautiful as the pure purple lotos, and around whose neck the black curling snake winds itself in playful folds!&#8221; </p>
<p>&#8220;That sounds rather mystical,&#8221; said his wife. </p>
<p>&#8220;Yes, the book begins with a salutation to the Hindoo deities, as the old Spanish Chronicles begin in the name of God, and the Holy Virgin. And now see how poetical some of the examples are.&#8221; </p>
<p>He then turned over the leaves slowly and read,— </p>
<p>&#8220;One-third of a collection of beautiful waterlilies is offered to Mahadev, one-fifth to Huri, one-sixth to the Sun, one-fourth to Devi, and six which remain are presented to the spiritual teacher. Required the whole number of water-lilies.&#8221; </p>
<p>&#8220;That is very pretty,&#8221; said the wife, &#8220;and would put it into the boy&#8217;s heads to bring you pond-lilies.&#8221; </p>
<p>&#8220;Here is a prettier one still. One-fifth of a hive of bees flew to the Kadamba flower; one-third flew to the Silandhara; three times the difference of these two numbers flew to an arbor; and one bee continued flying about, attracted on each side by the fragrant Ketaki and the Malati. What was the number of the bees?&#8221; </p>
<p>&#8220;I am sure I should never be able to tell.&#8221; </p>
<p>&#8220;Ten times the square root of a flock of geese—&#8221; </p>
<p>Here Mrs. Churchill laughed aloud; but he continued very gravely,— </p>
<p>&#8220;Ten times the square root of a flock of geese, seeing the clouds collect, flew to the Manus lake; one-eighth of the whole flew from the edge of the water amongst a multitude of water-lilies; and three couple were observed playing in the water. Tell me, my young girl with beautiful locks, what was the whole number of geese?&#8221; </p>
<p>&#8220;Well, what was it?&#8221; </p>
<p>&#8220;What should you think?&#8221; </p>
<p>&#8220;About twenty.&#8221; </p>
<p>&#8220;No, one hundred and forty-four. Now try another. The square root of half a number of bees, and also eight-ninths of the whole, alighted on the jasmines, and a female bee buzzed responsive to the hum of the male inclosed at night in a water-lily. O, beautiful damsel, tell me the number of bees.&#8221; </p>
<p>&#8220;That is not there. You made it.&#8221; </p>
<p>&#8220;No, indeed I did not. I wish I had made it. Look and see.&#8221; </p>
<p>He showed her the book, and she read it herself. He then proposed some of the geometrical questions. </p>
<p>&#8220;In a lake the bud of a water-lily was observed, one span above the water, and whenmoved by the gentle breeze, it sunk in the water at two cubits&#8217; distance. Required the depth of the water.&#8221; </p>
<p>&#8220;That is charming, but must be very difficult. I could not answer it.&#8221; </p>
<p>&#8220;A tree one hundred cubits high is distant from a well two hundred cubits; from this tree one monkey descends and goes to the well; another monkey takes a leap upwards, and then descends by the hypothenuse; and both pass over an equal space. Required the height of the leap.&#8221; </p>
<p>&#8220;I do not believe you can answer that question yourself, without looking into the book,&#8221; said the laughing wife, laying her hand over the solution. &#8220;Try it.&#8221; </p>
<p>&#8220;With great pleasure, my dear child,&#8221; cried the confident school-master, taking a pencil and paper. After making a few figures and calculations, he answered,— </p>
<p>&#8220;There, my young girl with beautiful locks, there is the answer,—forty cubits.&#8221; </p>
<p>His wife removed her hand from the book, and then, clapping both in triumph, she exclaimed,— </p>
<p>&#8220;No, you are wrong, you are wrong, my beautiful youth with a bee in your bonnet. It is fifty cubits!&#8221; </p>
<p>&#8220;Then I must have made some mistake.&#8221; </p>
<p>&#8220;Of course you did. Your monkey did not jump high enough.&#8221; </p>
<p>She signalized his mortifying defeat as if it had been a victory, by showering kisses, like roses, upon his forehead and cheeks, as he passed beneath the triumphal arch-way of her arms, trying in vain to articulate,— </p>
<p>&#8220;My dearest Lilawati, what is the whole number of the geese?&#8221; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2137&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/01/29/your-monkey-did-not-jump-high-enough/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/01/lilavati-water.png" medium="image">
			<media:title type="html">lilavati-water</media:title>
		</media:content>
	</item>
		<item>
		<title>People, Pens, Paper, and Computers</title>
		<link>http://shreevatsa.wordpress.com/2011/01/14/people-pens-paper-and-computers/</link>
		<comments>http://shreevatsa.wordpress.com/2011/01/14/people-pens-paper-and-computers/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 06:44:21 +0000</pubDate>
		<dc:creator>S</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shreevatsa.wordpress.com/?p=2122</guid>
		<description><![CDATA[(A post from November 2008 that had been marked private for some reason.) Attended a talk today that was part of the HCI (Human-Computer Interaction) Seminar Series at MIT CSAIL. Some very exciting stuff. For several decades now (say, since the Xerox Star was introduced in 1981) there have been dreams and hype of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2122&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><i>(A post from November 2008 that had been marked private for some reason.)</i></p>
<p>Attended a talk today that was part of the HCI (Human-Computer Interaction) Seminar Series at MIT CSAIL. Some very exciting stuff.</p>
<p>For several decades now (say, since the <a href="http://en.wikipedia.org/wiki/Xerox_Star">Xerox Star</a> was introduced in 1981) there have been dreams and hype of the &#8220;paperless office&#8221;. This dream has not been realised, because paper has many great qualities that suggest that it is not going to go anywhere. In many ways, technologies that have been touted to replace paper have proved rather cumbersome. Somewhat like writing like this:</p>
<div id="attachment_2127" class="wp-caption aligncenter" style="width: 460px"><a href="http://shreevatsa.files.wordpress.com/2011/01/pencil-brick.jpg"><img src="http://shreevatsa.files.wordpress.com/2011/01/pencil-brick.jpg?w=450" alt="" title="pencil-brick" width="450" class="size-medium wp-image-2127" /></a><p class="wp-caption-text">Pencil encumbered with brick</p></div>
<p>Some recent technologies that keep the dream alive are the Tablet PC and (new to me) the <a href="http://en.wikipedia.org/wiki/Anoto">Anoto</a> (etc.) <a href="http://en.wikipedia.org/wiki/Digital_pen">digital pens</a> that work in conjunction with <a href="http://en.wikipedia.org/wiki/Digital_paper">digital paper</a> (just normal paper printed with a pattern, not &#8220;electronic paper&#8221;). I played for a few seconds with <a href="http://en.wikipedia.org/wiki/Livescribe">Livescribe</a>&#8216;s &#8220;Pulse Smartpen&#8221;, but it was after the talk so I didn&#8217;t have much time. Here is a <a href="http://www.livescribe.com/sneakpeek/index.html">video</a> of all that it can do.</p>
<p><strong>People prefer paper.</strong> There have been two lines of work &#8212; trying to produce paper-like technology and trying to improve integration between paper and the PC. </p>
<p>I guess both the tablet PC and Livescribe-like technologies fall into the former category. For the Tablet PC, he described a model of interaction that (with a pen) is more natural than the point-and-click model: <em>crossing</em>. The idea is that instead of actions being performed when a target on the screen is clicked upon, actions are performed when targets are crossed across. It is claimed that crossing-based interface is at least as fast as point-and-click, and is faster when you require only &#8220;approximate&#8221; crossing, and it is possible to change all your applications to work with crossing instead by simply changing a system DLL. He showed a crossing-based drawing application called CrossY; see the <a href="http://www.cs.umd.edu/alandaluz/crossy/crossY.mov">video</a>.</p>
<p>Then he showed another work called PapierCraft, which fits into the other line of work. The insight is that although people prefer to read and annotate on paper, they usually get them in digital form. The common example is that academics download an article, then print it out, and work with the printed copy, making annotations etc. The idea is to keep in a database an image of what the printed copy looks like, and then consider people to be working on the digital copy with the printed copy as a proxy for it &#8212; when they perform annotations, cut-copy-paste etc., link those operations to the digital copy. See <a href="http://www.cs.umd.edu/~francois/Videos/PapierCraft.mov">video</a>.</p>
<p>He also showed some two-display e-book readers that can emulate flipping pages, working with different documents, etc; see <a href="http://www.cs.umd.edu/~francois/Videos/dualdisp-chi.mov">video</a>.</p>
<p>The speaker was <a href="http://www.cs.umd.edu/~francois/">François Guimbretière</a>; see his page for more details. All very cool stuff.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shreevatsa.wordpress.com/2122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shreevatsa.wordpress.com/2122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shreevatsa.wordpress.com/2122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shreevatsa.wordpress.com/2122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shreevatsa.wordpress.com/2122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shreevatsa.wordpress.com/2122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shreevatsa.wordpress.com/2122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shreevatsa.wordpress.com/2122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shreevatsa.wordpress.com&amp;blog=412588&amp;post=2122&amp;subd=shreevatsa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shreevatsa.wordpress.com/2011/01/14/people-pens-paper-and-computers/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
<enclosure url="http://www.cs.umd.edu/alandaluz/crossy/crossY.mov" length="27295369" type="video/quicktime" />
<enclosure url="http://www.cs.umd.edu/~francois/Videos/PapierCraft.mov" length="25250699" type="video/quicktime" />
<enclosure url="http://www.cs.umd.edu/~francois/Videos/dualdisp-chi.mov" length="9597961" type="video/quicktime" />
	
		<media:content url="http://0.gravatar.com/avatar/6ca82d17e7496d3c20b9c8038f87ae49?s=96&#38;d=identicon" medium="image">
			<media:title type="html">S</media:title>
		</media:content>

		<media:content url="http://shreevatsa.files.wordpress.com/2011/01/pencil-brick.jpg?w=450" medium="image">
			<media:title type="html">pencil-brick</media:title>
		</media:content>
	</item>
	</channel>
</rss>
