<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Reflection Media &#187; puzzle</title>
	<atom:link href="http://www.reflectionmedia.ro/tag/puzzle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reflectionmedia.ro</link>
	<description>Custom WordPress Solutions</description>
	<lastBuildDate>Tue, 24 Jan 2012 10:34:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fun with numbers</title>
		<link>http://www.reflectionmedia.ro/2009/03/09/fun-with-numbers/</link>
		<comments>http://www.reflectionmedia.ro/2009/03/09/fun-with-numbers/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 14:48:48 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Conway]]></category>
		<category><![CDATA[look]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[puzzle]]></category>
		<category><![CDATA[say]]></category>
		<category><![CDATA[sequence]]></category>

		<guid isPermaLink="false">http://www.reflectionmedia.ro/?p=231</guid>
		<description><![CDATA[Remember the math puzzle? You have the following sequence of terms: 1 11 21 1211 111221 312211 13112221 What is the algorithm? What is the next term? &#8212; Spoiler warning. Continue at your own risk. &#8212; The next term is 1113213211. And the one after that, 31131211131221. This is called the Look-and-say sequence. Wikipedia says [...]]]></description>
			<content:encoded><![CDATA[<p>Remember the <a href="http://www.reflectionmedia.ro/en/2009/03/math-puzzle/">math puzzle</a>?</p>
<p>You have the following sequence of terms:<br />
1<br />
11<br />
21<br />
1211<br />
111221<br />
312211<br />
13112221</p>
<p>What is the algorithm? What is the next term?</p>
<p><strong>&#8212; Spoiler warning. Continue at your own risk. &#8212;</strong><br />
<span id="more-231"></span></p>
<p>The next term is 1113213211.<br />
And the one after that, 31131211131221.</p>
<p>This is called the <a href="http://en.wikipedia.org/wiki/Look-and-say_sequence">Look-and-say sequence</a>. Wikipedia says that:</p>
<blockquote><p>To generate a member of the sequence from the previous member, read off the digits of the previous member, counting the number of digits in groups of the same digit. For example:</p>
<ul>
<li>1 is read off as &#8220;one 1&#8243; or 11.</li>
<li>11 is read off as &#8220;two 1&#8242;s&#8221; or 21.</li>
<li>21 is read off as &#8220;one 2, then one 1&#8243; or 1211.</li>
<li>1211 is read off as &#8220;one 1, then one 2, then two 1&#8242;s&#8221; or 111221.</li>
<li>111221 is read off as &#8220;three 1, then two 2, then one 1&#8243; or 312211.</li>
</ul>
</blockquote>
<p>Apparently it was extensively studied in the 80&#8242;s by a certain mathematician dude called <a href="http://en.wikipedia.org/wiki/John_Horton_Conway">John Conway</a>. He discovered quite a few interesting properties for this sequence, especially the fact that certain patterns emerge that are somehow similar to chemical elements.</p>
<p>Surprisingly enough, my friend Irina knew about this puzzle from a romanian book called Cireşarii, by Constantin Chiriţă, which was written in the 50&#8242;s.</p>
<p>A bit of Wikipedia research (aka <a href="http://en.wikipedia.org/wiki/Procrastination">procrastination</a>) revealed that this John Conway guy is also responsible for only the most amazing <a href="http://en.wikipedia.org/wiki/Cellular_automaton">cellular automaton</a> (man, I love the sound of it) in the world, <a href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Conway&#8217;s Game of Life</a>.</p>
<p>But let&#8217;s return to our Look and Say Sequence. I think I might have discovered a new property. Let me first define the concept of &#8220;average digit&#8221; for a term. It&#8217;s the sum of digits divided by the number of digits.</p>
<p>The interesting thing about this &#8220;average digit&#8221; is that it converges to a certain value. See <a href="http://www.reflectionmedia.ro/projects/gab/alg/index.php?start=1&#038;displimit=50&#038;rows=40">this table</a>, and <a href="http://www.reflectionmedia.ro/projects/gab/alg/graph.php">this graph</a>.</p>
<p>I&#8217;d really like to know how to get that exact value. Perhaps it&#8217;s the root of a polynomial or something. I asked <a href="http://www.mymathforum.com/viewtopic.php?f=40&#038;t=6500">some math people</a>, but I didn&#8217;t get much help.</p>
<p>In addition to that, Cristian, my friend here at work suggested that I should try and see if there is a pattern in the spectral density, in other words, the percentage of one&#8217;s two&#8217;s and three&#8217;s.</p>
<p>As expected, and as can be seen <a href="http://www.reflectionmedia.ro/projects/gab/alg/index123.php?start=1&#038;displimit=50&#038;rows=40">here</a>, these percentages also converge to certain values (about 50% for one&#8217;s, 30% for two&#8217;s and 20% for three&#8217;s).</p>
<p>Last but not least, I&#8217;d like to show you a great way of representing a Look and Say term, it looks a bit fractal-like. Check it out <a href="http://two-star.livejournal.com/191031.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reflectionmedia.ro/2009/03/09/fun-with-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Math puzzle</title>
		<link>http://www.reflectionmedia.ro/2009/03/04/math-puzzle/</link>
		<comments>http://www.reflectionmedia.ro/2009/03/04/math-puzzle/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 10:32:28 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://www.reflectionmedia.ro/?p=251</guid>
		<description><![CDATA[A friend of mine has recently introduced me to a quite puzzling math puzzle. You have the following sequence of terms: 1 11 21 1211 111221 312211 13112221 And you have to figure out what the algorithm is. To prove yourself you&#8217;ve got it, just write down the next term. The answer will come in [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine has recently introduced me to a quite puzzling math puzzle.</p>
<p>You have the following sequence of terms:<br />
1<br />
11<br />
21<br />
1211<br />
111221<br />
312211<br />
13112221</p>
<p>And you have to figure out what the algorithm is. To prove yourself you&#8217;ve got it, just write down the next term. <strong>The answer will come in a future post.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.reflectionmedia.ro/2009/03/04/math-puzzle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

