<?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>Concrete Nonsense &#187; Matryoshka Problems</title>
	<atom:link href="http://concretenonsense.wordpress.com/category/matryoshka-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://concretenonsense.wordpress.com</link>
	<description>A group blog about mathematics</description>
	<lastBuildDate>Mon, 30 Nov 2009 21:48:46 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='concretenonsense.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2b77f97368a020180b21c93e224b3ae1?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Concrete Nonsense &#187; Matryoshka Problems</title>
		<link>http://concretenonsense.wordpress.com</link>
	</image>
			<item>
		<title>M-2: Forcing properties onto integer pairs</title>
		<link>http://concretenonsense.wordpress.com/2009/11/30/m-2-forcing-properties-onto-integer-pairs/</link>
		<comments>http://concretenonsense.wordpress.com/2009/11/30/m-2-forcing-properties-onto-integer-pairs/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 21:46:21 +0000</pubDate>
		<dc:creator>yanzhang</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Matryoshka Problems]]></category>
		<category><![CDATA[elementary]]></category>
		<category><![CDATA[number theory]]></category>

		<guid isPermaLink="false">http://concretenonsense.wordpress.com/?p=848</guid>
		<description><![CDATA[Steven greeted me with a puzzle when I entered the office today. I got it after thinking a bit, though I definitely have seen this a long time ago:
Given 51 numbers between 1 and 100, show that you can find two of them that are relatively prime
Proof:
By pigeonhole, we must get at least two numbers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=848&subd=concretenonsense&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Steven greeted me with a puzzle when I entered the office today. I got it after thinking a bit, though I definitely have seen this a long time ago:</p>
<p style="padding-left:30px;">Given 51 numbers between 1 and 100, show that you can find two of them that are relatively prime<span id="more-848"></span></p>
<p>Proof:</p>
<p style="padding-left:30px;">By pigeonhole, we must get at least two numbers of the form {x, x+1}, where x is odd. These two are relatively prime.</p>
<p>Steven then gave me a strictly harder followup. This took me a bit longer, and afterwards I was very happy to have come up with an unorthodox solution, and hence a new post:</p>
<p style="padding-left:30px;">Given 51 numbers between 1 and 100, show that you can find two of them such that one divides the other.</p>
<p>Proof and analysis:</p>
<p style="padding-left:30px;">Start by putting every number between 1 and 100 into a bucket. Now, starting with 100 and moving down to 2, move *all* the numbers in the bin of every even number of the form <img src='http://l.wordpress.com/latex.php?latex=2n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2n' title='2n' class='latex' /> into the bucket where <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> is. Each time we do this, a bucket becomes empty. So at the end we have 50 buckets. By pigeonhole, we must get at least two numbers in the same bucket. The quotient of those two numbers is a power of two, so we&#8217;re done.</p>
<p style="padding-left:30px;">Note I could have just said something like: &#8220;for every odd number <img src='http://l.wordpress.com/latex.php?latex=q&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='q' title='q' class='latex' />, put all numbers of the form <img src='http://l.wordpress.com/latex.php?latex=2%5Ekq&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2^kq' title='2^kq' class='latex' /> into the same equivalence class&#8221; and then counted equivalence classes. However, it seems that in this language, counting equivalence classes requires at least a couple of steps of thought. For some unknown reason, by using this handwavy &#8220;bucket&#8221; talk, the number of equivalence classes is obviously 50, whereas by using the more rigorous language above, I don&#8217;t see an immediate way to get the answer at quite the same speed.</p>
<p>People used to competitions would probably recognize the first problem as an old chestnut; this is actually a puzzle Uncle Erdos used to test mathematical ability in young kids (&#8216;epsilons&#8217;). I don&#8217;t know where the second problem comes from.</p>
<p>Happy Thanksgiving,<br />
-Yan</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/concretenonsense.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/concretenonsense.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/concretenonsense.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/concretenonsense.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/concretenonsense.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/concretenonsense.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/concretenonsense.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/concretenonsense.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/concretenonsense.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/concretenonsense.wordpress.com/848/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=848&subd=concretenonsense&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://concretenonsense.wordpress.com/2009/11/30/m-2-forcing-properties-onto-integer-pairs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">KR</media:title>
		</media:content>
	</item>
		<item>
		<title>M-2 (maybe M-3) &#8211; People and Hats</title>
		<link>http://concretenonsense.wordpress.com/2008/09/10/m-2-maybe-m-3-people-and-hats/</link>
		<comments>http://concretenonsense.wordpress.com/2008/09/10/m-2-maybe-m-3-people-and-hats/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 02:55:14 +0000</pubDate>
		<dc:creator>yanzhang</dc:creator>
				<category><![CDATA[Matryoshka Problems]]></category>
		<category><![CDATA[Probability]]></category>

		<guid isPermaLink="false">http://concretenonsense.wordpress.com/?p=66</guid>
		<description><![CDATA[Today we have a M-2&#8230; but it feels more like a M-3 or M-4. I&#8217;ll explain after the two problems.
The first problem is fairly classical. It appears in many texts, and was first brought to my attention by Chris Evans:
N people stand in line, all facing right, where each person can only see the people [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=66&subd=concretenonsense&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today we have a M-2&#8230; but it feels more like a M-3 or M-4. I&#8217;ll explain after the two problems.</p>
<p>The first problem is fairly classical. It appears in many texts, and was first brought to my attention by Chris Evans:</p>
<p style="padding-left:30px;">N people stand in line, all facing right, where each person can only see the people in front. They each get a hat (red or blue), and in order (from left to right), they are asked to guess the color of their own hat. Find a strategy to maximize the number of people who guess their hat colors correctly. Note that the strategy can depend on what people further right hear from the guesses of people further left.</p>
<p>Solution:</p>
<p style="padding-left:30px;">The funny thing about this problem is that you can ask it as a stronger statement (&#8220;find a strategy so that N-1 people guess their hat color correctly&#8221;), which makes the problem a lot easier =) This is why I ask the problem in the above form.</p>
<p style="padding-left:30px;">Now that I&#8217;ve said that, you may want to take a moment to try to do it again.</p>
<p style="padding-left:30px;">Give up? Do this: Think of a red hat as a 0 and a blue hat as a 1. The first person guesses the color corresponding to the sum of everyone else (mod 2). Note that this gives each person after him enough information; the second person can just subtract off what he sees from what the first person says. The third person, after hearing the second person&#8217;s guess, knows the sum of all hats after and including the third, so he can just subtract off what he sees to get his own hat. This gets at least N-1 right, and half of the times gets all N right. Note we can&#8217;t possibly do anything better since the first person can only ever get his own hat right with probability 1/2.</p>
<p>I heard the second problem recently from Nick Rosenbloom and Dustin Clausen:</p>
<p style="padding-left:30px;">Countably infinite people stand in line, all facing right&#8230; the rest of the setup is the same. Find a strategy to maximize the cardinality of people who guess their hat colors correctly.<span id="more-66"></span></p>
<p>Sketch:</p>
<p style="padding-left:30px;">The awesome thing about this problem is there is also a way to ask this problem that hints at the answer. What is slightly different about this formulation of asking the problem is that it sounds like a strictly harder problem has been asked: one can restrict the problem so that the strategy <em>cannot rely on hearing what people left of each person answers</em>.</p>
<p style="padding-left:30px;">This looks kind of impossible, which is perfect for things like the Axiom of choice (or equivalently, Zorn&#8217;s Lemma). Consider all countably infinite binary strings and divide them up into equivalence classes, where two strings A and B are equivalent if they share a truncation (i.e. the bits after the k_th bit of A are equal to the bits after the l_th bit of B). Note it takes a bit of work to show that this is an equivalence class, which I&#8217;ll leave as an exercise. You might want to do the case of the string being periodic after a certain point differently from the case where it is not.</p>
<p style="padding-left:30px;">Now, just pick a representative from each equivalence class. I leave it as another exercise to see that you are done =) It basically involves each person to try to fit himself into a string which has the same equivalence class at what he sees. The earliest people may get this wrong, but the later people (once you get to the common truncation) will get them all right. So you get all but finitely many guesses correct.</p>
<p>I think the coolest thing about this set of problems is the way you can rephrase each one and still ask the problem at the same strength. Note this becomes a M-3 if there was a solution to the second problem that breaks the restriction given at the beginning of the proof. So if any of you have ideas, let me know!</p>
<p>-Y</p>
<p>Source: Chris Evans, Nick Rosenbloom, Dustin Clausen<a href="http://gowers.wordpress.com/" target="_blank"> </a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/concretenonsense.wordpress.com/66/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/concretenonsense.wordpress.com/66/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/concretenonsense.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/concretenonsense.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/concretenonsense.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/concretenonsense.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/concretenonsense.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/concretenonsense.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/concretenonsense.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/concretenonsense.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/concretenonsense.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/concretenonsense.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=66&subd=concretenonsense&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://concretenonsense.wordpress.com/2008/09/10/m-2-maybe-m-3-people-and-hats/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">KR</media:title>
		</media:content>
	</item>
		<item>
		<title>M-2: Two Probability Paradoxes</title>
		<link>http://concretenonsense.wordpress.com/2008/08/01/m-2-two-probability-paradoxes/</link>
		<comments>http://concretenonsense.wordpress.com/2008/08/01/m-2-two-probability-paradoxes/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 02:14:38 +0000</pubDate>
		<dc:creator>yanzhang</dc:creator>
				<category><![CDATA[Matryoshka Problems]]></category>
		<category><![CDATA[Probability]]></category>

		<guid isPermaLink="false">http://concretenonsense.wordpress.com/?p=53</guid>
		<description><![CDATA[Here is another Matryoshka problem &#8211; well not really, since I can&#8217;t prove that the second problem is &#8220;strictly harder&#8221; than the first in any meaningful way, but it does have the property that the most intuitive trick needed to solve the first one fails on the second one:
Timothy Gowers posted a fairly classical &#8220;paradox&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=53&subd=concretenonsense&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is another Matryoshka problem &#8211; well not really, since I can&#8217;t prove that the second problem is &#8220;strictly harder&#8221; than the first in any meaningful way, but it does have the property that the most intuitive trick needed to solve the first one fails on the second one:</p>
<p>Timothy Gowers posted a fairly classical &#8220;paradox&#8221; in probability involving two boxes:</p>
<p style="padding-left:30px;"><a href="http://gowers.wordpress.com/2008/02/01/a-paradox-in-probability/" target="_blank">original post</a></p>
<p>My analysis:</p>
<p style="padding-left:30px;">Note that the guy who gives you the box must pick (a, 2a) with equal probability for every a &#8211; i.e., he needs to be able to pick a real number uniformly. Unfortunately, this is impossible.</p>
<p>This is actually a common sleight of hand that many probability &#8220;paradoxes&#8221; use at some level. You can increase your &#8220;defense against probability paradoxes&#8221; by adding this to the list of things to check against every time you find a strange probability situation, in the same way that recognizing Russell&#8217;s Paradox counters many logic &#8220;paradoxes.&#8221;</p>
<p>&#8212;</p>
<p>Now the inner doll. Prof. Gowers attributes this one to Noga Alon:</p>
<p style="padding-left:30px;"><a href="http://gowers.wordpress.com/2008/02/03/probability-paradox-ii/" target="_blank">original post</a><span id="more-53"></span></p>
<p>These two problems are similar in spirit. However, the trick that works for the first one no longer works here: we have a very well-defined distribution! So we have to dig a little deeper. Here is my take:</p>
<p style="padding-left:30px;">In the paradox, we considered the random variable of the values of the two envelopes (call them <img src='http://l.wordpress.com/latex.php?latex=X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X' title='X' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Y' title='Y' class='latex' />, and proceeded to divide the probability space into a series of sums x_i (where <img src='http://l.wordpress.com/latex.php?latex=%5Csum+P%28x_i%29+%3D+1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum P(x_i) = 1' title='\sum P(x_i) = 1' class='latex' />), seeing that <img src='http://l.wordpress.com/latex.php?latex=E%28x_i%7CX%29P%28x_i%29+%3E+E%28x_i%7CY%29+P%28x_i%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E(x_i|X)P(x_i) &gt; E(x_i|Y) P(x_i)' title='E(x_i|X)P(x_i) &gt; E(x_i|Y) P(x_i)' class='latex' /> for all i. Then we did an implicit sum of all of these equations to conclude that <img src='http://l.wordpress.com/latex.php?latex=E%28X%29+%3E+E%28Y%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E(X) &gt; E(Y)' title='E(X) &gt; E(Y)' class='latex' />.</p>
<p style="padding-left:30px;">The problem is in the sum &#8211; we cannot do this summation when the expectation of X and Y are infinite (we can easily check, by the way, that <img src='http://l.wordpress.com/latex.php?latex=E%28X%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E(X)' title='E(X)' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=E%28Y%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='E(Y)' title='E(Y)' class='latex' /> are both infinite), so we cannot conclude that one is larger than the other. Here is a clearer example: consider the list of inequalities <img src='http://l.wordpress.com/latex.php?latex=1+%3E+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1 &gt; 0' title='1 &gt; 0' class='latex' />, <img src='http://l.wordpress.com/latex.php?latex=2+%3E+1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2 &gt; 1' title='2 &gt; 1' class='latex' />, <img src='http://l.wordpress.com/latex.php?latex=3+%3E+2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='3 &gt; 2' title='3 &gt; 2' class='latex' />&#8230; each one of these statements is true, but it makes no sense to then argue that <img src='http://l.wordpress.com/latex.php?latex=1+%2B+2+%2B+%5Cldots+%3E+0+%2B+1+%2B+2+%2B+%5Cldots+%3D+1+%2B+2+%2B+%5Cldots&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1 + 2 + \ldots &gt; 0 + 1 + 2 + \ldots = 1 + 2 + \ldots' title='1 + 2 + \ldots &gt; 0 + 1 + 2 + \ldots = 1 + 2 + \ldots' class='latex' />, because the sums diverge and cannot be defined. If you track the list of inequalities in the problem, you will notice the exact analogous chicanery going on, just with different numbers.</p>
<p>The cool lesson form this M-2 pair is that I am reminded again to appreciate why math books always mention &#8220;boundary cases&#8221; like infinity and deal with them very carefully. Usually we see them as just stupid limitations for corner cases, but this is a case where not thinking about the clauses on these border cases can mislead (to be honest, I never remember these boundary cases, like the algebra theorems that hold for every ring except the zero ring).</p>
<p>By the way, I bet there is some way to turn each one of these into a &#8220;paradox&#8221; in their respective fields. Probability is just riper for these conundrums since the problems offer more intuitive statements.</p>
<p>-Y</p>
<p>Source: <a href="http://gowers.wordpress.com/" target="_blank">Gowers&#8217; Weblog</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/concretenonsense.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/concretenonsense.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/concretenonsense.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/concretenonsense.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/concretenonsense.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/concretenonsense.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/concretenonsense.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/concretenonsense.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/concretenonsense.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/concretenonsense.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/concretenonsense.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/concretenonsense.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=53&subd=concretenonsense&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://concretenonsense.wordpress.com/2008/08/01/m-2-two-probability-paradoxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">KR</media:title>
		</media:content>
	</item>
		<item>
		<title>M-2: Numbers in a Square</title>
		<link>http://concretenonsense.wordpress.com/2008/04/18/m-2-numbers-in-a-square/</link>
		<comments>http://concretenonsense.wordpress.com/2008/04/18/m-2-numbers-in-a-square/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 17:16:56 +0000</pubDate>
		<dc:creator>yanzhang</dc:creator>
				<category><![CDATA[Combinatorics]]></category>
		<category><![CDATA[Matryoshka Problems]]></category>
		<category><![CDATA[matryoshka]]></category>

		<guid isPermaLink="false">http://concretenonsense.wordpress.com/?p=11</guid>
		<description><![CDATA[As I stated, we&#8217;ll start with something easy:
We put  in a  grid. Call two squares adjacent if they touch either on a corner or on a side. Show that there are two adjacent numbers which differ by at least .
Proof and analysis:
Look at 1 and n^2. They differ by at most n-1 steps [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=11&subd=concretenonsense&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As I stated, we&#8217;ll start with something easy:</p>
<p style="padding-left:30px;">We put <img src='http://l.wordpress.com/latex.php?latex=1%5Cldots+n%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1\ldots n^2' title='1\ldots n^2' class='latex' /> in a <img src='http://l.wordpress.com/latex.php?latex=n%2An&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n*n' title='n*n' class='latex' /> grid. Call two squares adjacent if they touch either on a corner or on a side. Show that there are two adjacent numbers which differ by at least <img src='http://l.wordpress.com/latex.php?latex=n%2B1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n+1' title='n+1' class='latex' />.</p>
<p>Proof and analysis:</p>
<p style="padding-left:30px;"><span style="color:#ffffff;">Look at 1 and n^2. They differ by at most n-1 steps (where a &#8217;step&#8217; is a chess King-move), which means their average gap is (n^2 &#8211; 1) / (n-1) = n+1 &#8211; so at least one step must actually take this value or more.</span></p>
<p style="padding-left:30px;"><span style="color:#ffffff;">The concepts are simple &#8211; the pigeonhole principle and the &#8220;strip away irrelevant information&#8221; metatechnique. Being &#8220;adjacent&#8221; is a weird thing to quantify, but an idea of &#8220;distance&#8221; is not &#8211; so we turn things to &#8220;distance.&#8221;</span></p>
<p>I saw the first problem a really long time ago (elementary/middle school?) when I was practicing problem-solving, so I don&#8217;t remember exactly where it was from. So I was delighted to see the second problem in Bela Bollobas&#8217;s <em>The Art of Mathematics</em>:</p>
<p style="padding-left:30px;">We put <img src='http://l.wordpress.com/latex.php?latex=1%5Cldots+n%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1\ldots n^2' title='1\ldots n^2' class='latex' /> in a <img src='http://l.wordpress.com/latex.php?latex=n%2An&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n*n' title='n*n' class='latex' /> grid. Call two squares adjacent if they touch on a  side. Show that there are two adjacent numbers which differ by at least <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' />.</p>
<p>Proof and analysis:</p>
<p style="padding-left:30px;"><span style="color:#ffffff;">For each row and column of n elements, there is a maximum element. Find the smallest of these (possibly overlapping) maximum elements, and call it k. Note that for each other row, there is at least one &#8217;small&#8217; number less than k (namely the element in its column) but at least one &#8216;big&#8217; number greater than k (namely the maximal element in that row). Since every number is one of these two types, there exists at least two adjacent numbers in that row where one is &#8217;small&#8217; and the other is &#8216;big&#8217;.</span></p>
<p style="padding-left:30px;"><span style="color:#ffffff;">Since there are n-1 of these pairs, at least one of the pairs must differ by n (this is because at least one number must be less than or equal to (k-n+1), and the smallest &#8216;big&#8217; number it can pair with is (k+1), which already gives the difference n), so we are done.</span></p>
<p>This is very elegant, surprisingly nonconstructive, but shows the cool things you can do with seemingly arbitrary combinatorial constructions. Okay, I admit I cheated, since this problem is not &#8220;strictly harder&#8221; than the first one (it would if we changed &#8220;n+1&#8243; to &#8220;n&#8221; in the first problem, which loosens it and doesn&#8217;t really change it much). But whatever, let&#8217;s stop being picky mathematicians.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/concretenonsense.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/concretenonsense.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/concretenonsense.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/concretenonsense.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/concretenonsense.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/concretenonsense.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/concretenonsense.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/concretenonsense.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/concretenonsense.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/concretenonsense.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/concretenonsense.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/concretenonsense.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=11&subd=concretenonsense&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://concretenonsense.wordpress.com/2008/04/18/m-2-numbers-in-a-square/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">KR</media:title>
		</media:content>
	</item>
		<item>
		<title>Matryoshka Problems</title>
		<link>http://concretenonsense.wordpress.com/2008/04/14/matryoshka-problems/</link>
		<comments>http://concretenonsense.wordpress.com/2008/04/14/matryoshka-problems/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 16:20:42 +0000</pubDate>
		<dc:creator>yanzhang</dc:creator>
				<category><![CDATA[Matryoshka Problems]]></category>

		<guid isPermaLink="false">http://concretenonsense.wordpress.com/?p=9</guid>
		<description><![CDATA[ True to the nature with their obsession with sets, combinatorialists like to collect stuff assorted by theme. Thus, we have Richard Stanley&#8217;s collection of Catalan-number-enumerated sets, Bridgit Tenner&#8217;s collection of permutation-avoidance occurrences, and of course&#8230; this. One day I&#8217;ll make a collection of these collections just for the sake of having a metacollection, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=9&subd=concretenonsense&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Russian-Matroshka_no_bg.jpg/750px-Russian-Matroshka_no_bg.jpg" alt="[Image]" width="200" height="160" /> True to the nature with their obsession with sets, combinatorialists like to collect stuff assorted by theme. Thus, we have Richard Stanley&#8217;s <a href="http://www-math.mit.edu/~rstan/ec/catadd.pdf" target="_blank">collection</a> of Catalan-number-enumerated sets, Bridgit Tenner&#8217;s <a href="http://math.depaul.edu/~bridget/patterns.html" target="_blank">collection </a>of permutation-avoidance occurrences, and of course&#8230; <a href="http://www.research.att.com/~njas/sequences/" target="_blank">this</a>. One day I&#8217;ll make a collection of these collections just for the sake of having a metacollection, but until then my main collectible hobby will be of <em>Matryoshka problems</em>, a term I just made up today.</p>
<p>Like its namesake, a &#8220;matryoshka problem&#8221; is not a single problem but a family (a &#8220;chain&#8221; really &#8211; although in practice the length is usually 2) of problems that increase strictly in difficulty. Then, as I am bewildered at discovering a smaller doll inside another, I realize I can push the boundaries of what I can prove.</p>
<p>Of course, this nested structure is not rare &#8211; in fact, it occurs very naturally in mathematics. Why? Because mathematics come from theory-building and generalization. Usually, some real-world (I use this term loosely) problem needs to be solved, so some smart person (the other mathematicians) goes ahead and generates just enough math to solve that. Then we want to generalize &#8211; say from <img src='http://l.wordpress.com/latex.php?latex=R%5En&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R^n' title='R^n' class='latex' /> to Hilbert spaces, and then from Hilbert Spaces to Banach spaces&#8230; and we naturally get a nested sequence of problems.</p>
<p>Usually, these families all have solutions which are at heart the same (just a little harder technically at each step) &#8211; like nested dolls who look exactly alike. For me, the fun comes when the techniques used to solve each level of the problem are completely different. It is great practice for think ing outside the box, because doing the &#8220;easier&#8221; versions of the problems tend to trap me into modes of thinking that makes it harder to do later problems.</p>
<p>To start this series, I&#8217;ll just do a pair of problems (again, most of my posts will probably end up being pairs, so I&#8217;ll call them &#8220;<em>M-2 problems</em>&#8220;). This one isn&#8217;t particularly nice, but I hope it demonstrates the spirit of what I&#8217;m trying to do (as a warning, since I give these in tuples, it is tempting to move through the &#8220;easy&#8221; ones quickly. But I think a lot of the fun and appreciation of these problems come from having thought about and being able to appreciate the &#8220;easy&#8221; versions of the roblems before going ahead, so keep this in mind).</p>
<p>-Y</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/concretenonsense.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/concretenonsense.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/concretenonsense.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/concretenonsense.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/concretenonsense.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/concretenonsense.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/concretenonsense.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/concretenonsense.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/concretenonsense.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/concretenonsense.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/concretenonsense.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/concretenonsense.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=concretenonsense.wordpress.com&blog=2918042&post=9&subd=concretenonsense&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://concretenonsense.wordpress.com/2008/04/14/matryoshka-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">KR</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Russian-Matroshka_no_bg.jpg/750px-Russian-Matroshka_no_bg.jpg" medium="image">
			<media:title type="html">[Image]</media:title>
		</media:content>
	</item>
	</channel>
</rss>