<?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>MATH with my KIDS</title>
	<atom:link href="http://toomai.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://toomai.wordpress.com</link>
	<description>Math: The playground in your mind.</description>
	<lastBuildDate>Thu, 09 May 2013 00:15:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='toomai.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>MATH with my KIDS</title>
		<link>http://toomai.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://toomai.wordpress.com/osd.xml" title="MATH with my KIDS" />
	<atom:link rel='hub' href='http://toomai.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A Case of Accidental Symmetry</title>
		<link>http://toomai.wordpress.com/2013/05/07/a-case-of-accidental-symmetry/</link>
		<comments>http://toomai.wordpress.com/2013/05/07/a-case-of-accidental-symmetry/#comments</comments>
		<pubDate>Wed, 08 May 2013 01:48:14 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[polyominoes]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[binomial coefficients]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[dominoes]]></category>
		<category><![CDATA[grids]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[rec math]]></category>
		<category><![CDATA[recreational math]]></category>
		<category><![CDATA[recreational mathematics]]></category>
		<category><![CDATA[symmetry]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=971</guid>
		<description><![CDATA[The other day I was thinking about putting dominoes onto a 4-by-4 grid without any of the dominoes contacting each others&#8217; sides. I wanted to know how many dominoes you could fit onto the 4-by-4 grid in this way, and what the different configurations looked like. I was pretty sure that the answer to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=971&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://toomai.files.wordpress.com/2013/05/symmetry.jpg"><img src="http://toomai.files.wordpress.com/2013/05/symmetry.jpg?w=300&#038;h=111" alt="symmetry" width="300" height="111" class="aligncenter size-medium wp-image-979" /></a>
<p>The other day I was thinking about putting dominoes onto a 4-by-4 grid without any of the dominoes contacting each others&#8217; sides. I wanted to know how many dominoes you could fit onto the 4-by-4 grid in this way, and what the different configurations looked like. I was pretty sure that the answer to the first question was that four dominoes could be fit onto the grid. I was less sure that I had found all of the configurations allowed. (I had three configurations.)</p>
<p>So, I started from square one: I found all of the ways (up to symmetry) of putting one domino on the grid (there are four). Then combining those I found all of the ways of putting two dominoes on (there are 20). Then by taking all of my configurations of two dominoes and adding one I found all of the ways of putting three dominoes on (there are 20). Finally I used my 3-domino configurations and found all of the 4-domino configurations by adding one to the ones that allowed it. I discovered that I <strong>had</strong> missed a 4-domino configuration! So there are four 4-domino configurations. And since I couldn&#8217;t legally add a domino to any of those, I knew there were no 5-domino configurations. Cool.</p>
<p>But wait&#8230;4, 20, 20, 4. There&#8217;s symmetry there! Could it be that this is a general thing? Is there a way to transform the four 1-domino configurations into the four 4-domino configurations? Likewise, did the same (or a similar) transformation change the 20 2-domino configurations into the 20 3-domino configurations? It might be something like the binomial coefficients: the number of ways to choose two people out of a group of five is the same as the number of ways to choose three people out of a group of five.</p>
<p>Then, my heart sank&#8230;I thought of this fact: there is exactly one configuration with no dominoes (just an empty grid), but there are zero 5-domino configurations. The symmetry is broken. There apparently is no such transformation.</p>
<p>Still, the 4, 20, 20, 4 pattern is fascinating (even if the pattern is really 1, 4, 20, 20, 4). I shared this with Jason Lee, a mathematical friend. Jason thought (as I had originally) that there was some transformation that we were missing. He suggested we look at larger grids to see if we see similar patterns. I bet him a bottle of rootbeer that we wouldn&#8217;t. He accepted the bet, and proceeded to code up an algorithm for enumerating domino configurations with grid-size as a parameter. The algorithm didn&#8217;t find any such nice symmetries for larger grids. I wish I could be more specific about the details, but I don&#8217;t have them in front of me right now. In the next couple of days I&#8217;ll talk to Jason about sharing his Python code here on my blog, along with specifics of numbers of configurations for larger grids. In any case, I got my rootbeer!</p>
<p>Above I&#8217;ve posted a drawing of the 4, 20, 20, 4 configurations mentioned (<a href="http://toomai.files.wordpress.com/2013/05/symmetry.jpg">click on it</a> to see it enlarged). Do you see a reason for the symmetry? Is there some transformation we&#8217;re missing? In any case, I think it makes for a nice picture.</p>
<p>By the way, the original impetus for thinking about this was the <a href="http://domino.research.ibm.com/Comm/wwwr_ponder.nsf/Challenges/December2012.html" title="IBM. Ponder This">December 2012 IBM Ponder This puzzle.</a> There we are asked to place numbers in a 6-by-6 grid. The highest numbers that we can place are fives, and the rules given there imply that any fives come as dominoes of four-five pairs lying in the central 4-by-4 grid with our no-contact constraint.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/971/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=971&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2013/05/07/a-case-of-accidental-symmetry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2013/05/symmetry.jpg?w=300" medium="image">
			<media:title type="html">symmetry</media:title>
		</media:content>
	</item>
		<item>
		<title>Radix sort with index cards</title>
		<link>http://toomai.wordpress.com/2013/03/23/radix-sort-with-index-cards/</link>
		<comments>http://toomai.wordpress.com/2013/03/23/radix-sort-with-index-cards/#comments</comments>
		<pubDate>Sat, 23 Mar 2013 12:14:58 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[numbers]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[math education]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[radix sort]]></category>
		<category><![CDATA[sorting]]></category>
		<category><![CDATA[sorting algorithm]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=947</guid>
		<description><![CDATA[I showed my kids the radix sort.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=947&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='538' height='333' src='http://www.youtube.com/embed/AO8wFYqaUxQ?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span><br />
I showed my kids the <a href="http://en.wikipedia.org/wiki/Radix_sort" title="radix sort on Wikipedia" target="_blank">radix sort</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/947/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=947&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2013/03/23/radix-sort-with-index-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>
	</item>
		<item>
		<title>Benzene Flexagons</title>
		<link>http://toomai.wordpress.com/2013/02/18/871/</link>
		<comments>http://toomai.wordpress.com/2013/02/18/871/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 01:44:46 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[benzene]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[chemical reaction]]></category>
		<category><![CDATA[flexagons]]></category>
		<category><![CDATA[hexaflexagons]]></category>
		<category><![CDATA[hexagon]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[organic chemistry]]></category>
		<category><![CDATA[origami]]></category>
		<category><![CDATA[paper folding]]></category>
		<category><![CDATA[trihexaflexagons]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=871</guid>
		<description><![CDATA[My wife is taking an organic chemistry class. I don&#8217;t know much about organic chemsitry, but I did learn from her that benzene rings are hexagons. So I got thinking, what about benzene hexaflexagons? These are the result of those thoughts. I&#8217;ve included my templates as PDFs: benzene_flexagon_1 benzene_flexagon_2 benzene_flexagon_3 benzene_flexagon_4 benzene_flexagon_5 benzene_flexagon_6 These are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=871&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>My wife is taking an organic chemistry class. I don&#8217;t know much about organic chemsitry, but I did learn from her that <a href="http://en.wikipedia.org/wiki/Benzene">benzene rings</a> are hexagons. So I got thinking, what about benzene hexaflexagons? These are the result of those thoughts.<br />
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='538' height='333' src='http://www.youtube.com/embed/prJsis1dGHc?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span><br />
<a href="http://toomai.files.wordpress.com/2012/01/img_7423.jpg"><img src="http://toomai.files.wordpress.com/2012/01/img_7423.jpg?w=300&#038;h=225" alt="IMG_7423" width="300" height="225" class="aligncenter size-medium wp-image-945" /></a><br />
<a href="http://toomai.files.wordpress.com/2012/01/img_7421.jpg"><img src="http://toomai.files.wordpress.com/2012/01/img_7421.jpg?w=300&#038;h=225" alt="ten benzene flexagons" width="300" height="225" class="aligncenter size-medium wp-image-946" /></a></p>
<p>I&#8217;ve included my templates as PDFs: </p>
<p><a href="http://toomai.files.wordpress.com/2013/02/benzene_flexagon_1.pdf">benzene_flexagon_1</a><br />
<a href="http://toomai.files.wordpress.com/2013/02/benzene_flexagon_2.pdf">benzene_flexagon_2</a><br />
<a href="http://toomai.files.wordpress.com/2013/02/benzene_flexagon_3.pdf">benzene_flexagon_3</a><br />
<a href="http://toomai.files.wordpress.com/2013/02/benzene_flexagon_4.pdf">benzene_flexagon_4</a><br />
<a href="http://toomai.files.wordpress.com/2013/02/benzene_flexagon_5.pdf">benzene_flexagon_5</a><br />
<a href="http://toomai.files.wordpress.com/2013/02/benzene_flexagon_6.pdf">benzene_flexagon_6</a></p>
<p>These are based on the templates that can be found at the excellent website <a href="http://www.flexagon.net/" title="flexagon portal">The Flexagon Portal</a>. They are pretty easy to fold, simply cut them out. pre-crease along all lines. then fold along the long center line and glue. This leaves two triangles that are not double-thiknesses of paper. Finally fold into a hexagon shape, making sure the benzene ring comes together appropriately and glue those final two single-thickness triangles together on top of each other.</p>
<p>See the instructions on <a href="http://www.flexagon.net/" title="flexagon portal">The Flexagon Portal</a> templates, or <a href="http://www.youtube.com/watch?v=VIVIegSt81k" title="Vi Hart on Flexagons">Vi Hart&#8217;s videos</a> if you are still confused.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/871/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/871/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=871&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2013/02/18/871/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/img_7423.jpg?w=300" medium="image">
			<media:title type="html">IMG_7423</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/img_7421.jpg?w=300" medium="image">
			<media:title type="html">ten benzene flexagons</media:title>
		</media:content>
	</item>
		<item>
		<title>Kid Snippets: Math Class</title>
		<link>http://toomai.wordpress.com/2013/02/01/kid-snippets-math-class/</link>
		<comments>http://toomai.wordpress.com/2013/02/01/kid-snippets-math-class/#comments</comments>
		<pubDate>Fri, 01 Feb 2013 10:49:35 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[counting]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[subraction]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=913</guid>
		<description><![CDATA[If you&#8217;re a math teacher, is this ever what class feels like?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=913&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='538' height='333' src='http://www.youtube.com/embed/KdxEAt91D7k?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></p>
<p>If you&#8217;re a math teacher, is this ever what class feels like?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/913/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=913&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2013/02/01/kid-snippets-math-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>
	</item>
		<item>
		<title>Counting</title>
		<link>http://toomai.wordpress.com/2012/01/31/counting/</link>
		<comments>http://toomai.wordpress.com/2012/01/31/counting/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 03:05:35 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[children]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[numbers]]></category>
		<category><![CDATA[counting]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=817</guid>
		<description><![CDATA[My five-year-old has been able to rattle off the numbers in order into the teens for a while, but when you ask her to count a set of objects, she can only get up to three consistently. &#8220;One, two, three&#8211;um&#8211;five?&#8221; I have an idea of what might be going on in her head. It is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=817&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>My five-year-old has been able to rattle off the numbers in order into the teens for a while, but when you ask her to count a set of objects, she can only get up to three consistently. &#8220;One, two, three&#8211;um&#8211;five?&#8221;</p>
<p>I have an idea of what might be going on in her head. It is pretty clear that she knows that four comes after three. I suspect that she has also figured out that when counting objects you are announcing at each step how many you have pointed to so far. When she points to the first object she knows that she has pointed to one object and announces &#8220;one.&#8221; Upon pointing to the second object she knows that she has pointed to two objects and announces &#8220;two.&#8221; When she points to the third things go similarly, but when she gets to the fourth she runs into trouble, because she doesn&#8217;t have any good idea how many have been pointed to.</p>
<p>I hear you saying &#8220;Whoa, if she knows that four comes after three then of course she knows that after pointing to one more than three things she has pointed to four things.&#8221; Not so, because she hasn&#8217;t learned that yet. Sure, <em>you</em> know what counting is all about, but kids don&#8217;t until they&#8217;ve been taught. What my daughter is doing when pointing to the first three objects is <a href="http://en.wikipedia.org/wiki/Subitizing#cite_note-atkinson-9">subitizing</a> the number of objects pointed to so far. Subitizing is the act of being aware immediately of how many objects are in a collection <em>without counting them.</em> We humans can easily subitize collections of one, two, or three objects.</p>
<p>Up to this point my suspicion is merely that: a suspicion. My hypothesis has to be tested. We need to isolate the pieces of counting. The elements of counting are: 1) reciting the names of the numbers in order; 2) pointing to objects one-by-one; 3) doing 1 and 2 simultaneously; and 4) coordinating actions 1 and 2, saying exactly one number for each object pointed to. We isolate these elements in the case of my daughter by asking ourselves a series of questions:</p>
<p>First, can she recite the numbers aloud, in order consistently? Yes. She has no problem with this up to at least ten.</p>
<p>Second, can she point to objects one-by-one, in sequence? Yes. No problems there.</p>
<p>Third, can she point to objects one-by-one, in sequence while reciting the numbers aloud? Initially we aren&#8217;t sure, and we decide that we need to distance this skill from counting itself, so we ask ourselves:</p>
<p>a. Can she recite aloud a sequence of words <em>other than</em> the counting numbers? Sure, she knows the alphabet, as well as many songs.</p>
<p>b. Can she point to objects one-by-one, in sequence while reciting aloud a predefined sequence of words in order? We don&#8217;t know initially, but my wife tries it with her and she is successful (for instance, with the alphabet).</p>
<p>Fourth, can she coordinate the two actions above? That is, as she points to objects in sequence and recites words, can she match them up, pointing to exactly one object for each word she says? Again, we aren&#8217;t sure initially, but my wife  tries it with her and she is in fact able to do it.</p>
<p>This last one is the complete skill of counting. Once she can do that she can count, right? So what&#8217;s tripping her up? Well, counting is two separate things: it&#8217;s a process as just described, and it&#8217;s a way to ascertain the number of objects in a collection. These are distinct facets of counting, but they are intimately connected. You do the process and the last number that you say is the number of objects in the collection. These two facets of counting are usually learned by children separately. It is my understanding that most children first learn the process of counting and only later learn that this process gives you information about how many things are in a collection. A young child who has &#8220;learned to count&#8221; may count the cookies on a plate &#8220;one, two three, four, five, six, seven,&#8221; but then when asked &#8220;how many are there?&#8221; reply with &#8220;I don&#8217;t know.&#8221;</p>
<p>I think that my five-year-old learned things opposite the usual order. I&#8217;m pretty sure that she has figured out that counting is all about determining the size of a collection, but initially she is unclear on how the process works. Only by divorcing the counting process from numbers were we able to make any progress. In the last several months she has progressed well, and is on her way to being a proficient counter.</p>
<p>See also: <a href="http://en.wikipedia.org/wiki/Counting#Education_and_development">Wikipedia article on counting</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/817/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/817/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=817&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2012/01/31/counting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>
	</item>
		<item>
		<title>Latin Squares, Squared Squares, and Legoed Squares</title>
		<link>http://toomai.wordpress.com/2012/01/16/latin-squares-squared-squares-and-legoed-squares/</link>
		<comments>http://toomai.wordpress.com/2012/01/16/latin-squares-squared-squares-and-legoed-squares/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 23:10:30 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[geometry]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[polyominoes]]></category>
		<category><![CDATA[combinatorics]]></category>
		<category><![CDATA[graph paper]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[latin squares]]></category>
		<category><![CDATA[legos]]></category>
		<category><![CDATA[squares]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=853</guid>
		<description><![CDATA[I introduced my kids to Latin Squares the other day. If you know Sudoku then you have seen examples of Latin squares. The idea is to fill in a grid of squares with colors or numbers or some other symbols, such that each symbol appears exactly once in each row and each column. (see also [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=853&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I introduced my kids to Latin Squares the other day. If you know Sudoku then you have seen examples of Latin squares. The idea is to fill in a grid of squares with colors or numbers or some other symbols, such that each symbol appears exactly once in each row and each column. (see also the <a href="http://en.wikipedia.org/wiki/Latin_square" title="Latin square at Wikipedia">Wikipedia Latin square entry</a>). I handed them graph paper and let them loose. This is what my eight-year-old produced:<br />
<a href="http://toomai.files.wordpress.com/2012/01/squares2.jpeg"><img src="http://toomai.files.wordpress.com/2012/01/squares2.jpeg?w=230&#038;h=300" alt="" title="squares2" width="230" height="300" class="aligncenter size-medium wp-image-854" /></a> Note that she produced some Latin squares, but also explored other ideas.</p>
<p>I wasn&#8217;t sure initially how long my kids would be content to explore Latin squares, so I also planned to tell them about <a href="http://en.wikipedia.org/wiki/Squared_square" title="squared square at Wikipedia">squared squares</a>. A squared square is just a square made up of smaller squares (this is easy to accomplish). A perfect squared square is much more difficult, consisting of squares each of different sizes. For a long time it was thought that perfect squared squares didn&#8217;t exist, but they do! Here is the smallest (in some sense) one:<br />
<a href="http://toomai.files.wordpress.com/2012/01/450px-squaring_the_square-svg.png"><img src="http://toomai.files.wordpress.com/2012/01/450px-squaring_the_square-svg.png?w=300&#038;h=300" alt="" title="450px-Squaring_the_square.svg" width="300" height="300" class="aligncenter size-medium wp-image-856" /></a> We got excited about it and decided to make one for our wall:<a href="http://toomai.files.wordpress.com/2012/01/bailey_square.jpg"><img src="http://toomai.files.wordpress.com/2012/01/bailey_square.jpg?w=300&#038;h=225" alt="" title="squared_square" width="300" height="225" class="aligncenter size-medium wp-image-858" /></a></p>
<p>Next, the ten-year-old wanted to produce some squared squares of his own, but found the perfect ones difficult (they were thought to be completely non-existent for a long time after all). He settled for producing imperfect ones. After making an imperfect squared square on graph paper, he decided to reproduce it with Legos. Here is the result:<a href="http://toomai.files.wordpress.com/2012/01/img_5871.jpg"><img src="http://toomai.files.wordpress.com/2012/01/img_5871.jpg?w=300&#038;h=225" alt="" title="IMG_5871" width="300" height="225" class="aligncenter size-medium wp-image-861" /></a> This led us to considered perfect Legoed squares. That is to say, squares made up of some number of Lego pieces, each piece having a unique size. Here is one of our first examples: <a href="http://toomai.files.wordpress.com/2012/01/img_5870.jpg"><img src="http://toomai.files.wordpress.com/2012/01/img_5870.jpg?w=225&#038;h=300" alt="" title="IMG_5870" width="225" height="300" class="aligncenter size-medium wp-image-862" /></a> It&#8217;s a 3&#215;3 made up of a 1&#215;1, a 1&#215;2, and a 2&#215;3. Here&#8217;s another, somewhat larger: <a href="http://toomai.files.wordpress.com/2012/01/img_5873.jpg"><img src="http://toomai.files.wordpress.com/2012/01/img_5873.jpg?w=225&#038;h=300" alt="" title="IMG_5873" width="225" height="300" class="aligncenter size-medium wp-image-865" /></a> We found a bunch more (maybe ten or so total). I&#8217;m not sure that we got all of them. How many can you find?</p>
<p>Look for up-coming posts on: 1) further progress in <a href="http://toomai.wordpress.com/2011/03/19/building-a-computer-1-numerals/">building our marble computer</a>, and 2) teaching my five-year-old to count (which required some deep thought about just what counting <em>is</em>).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/853/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/853/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=853&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2012/01/16/latin-squares-squared-squares-and-legoed-squares/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/squares2.jpeg?w=230" medium="image">
			<media:title type="html">squares2</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/450px-squaring_the_square-svg.png?w=300" medium="image">
			<media:title type="html">450px-Squaring_the_square.svg</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/bailey_square.jpg?w=300" medium="image">
			<media:title type="html">squared_square</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/img_5871.jpg?w=300" medium="image">
			<media:title type="html">IMG_5871</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/img_5870.jpg?w=225" medium="image">
			<media:title type="html">IMG_5870</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2012/01/img_5873.jpg?w=225" medium="image">
			<media:title type="html">IMG_5873</media:title>
		</media:content>
	</item>
		<item>
		<title>Dots and Boxes</title>
		<link>http://toomai.wordpress.com/2011/10/21/dots-and-boxes/</link>
		<comments>http://toomai.wordpress.com/2011/10/21/dots-and-boxes/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 03:19:22 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[dots and boxes]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=807</guid>
		<description><![CDATA[Tonight we had a friend&#8217;s kids over as well as ours, so our place was kind of a mad house. A colleague had recently shown me the book The Dots and Boxes Game by Elwyn Berlekamp I had read about the first chapter and was intrigued, so I wanted to introduce the game to my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=807&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Tonight we had a friend&#8217;s kids over as well as ours, so our place was kind of a mad house. A colleague had recently shown me the book <em>The Dots and Boxes Game</em> by Elwyn Berlekamp <a href="http://toomai.files.wordpress.com/2011/10/books.jpg"><img src="http://toomai.files.wordpress.com/2011/10/books.jpg?w=538" alt="" title="books"   class="aligncenter size-full wp-image-808" /></a> I had read about the first chapter and was intrigued, so I wanted to introduce the game to my kids. as the night was about to descend into total chaos I called everyone to the table and gave them the run-down on how to play the dots and boxes game: start with a grid of dots. On your turn connect any two adjacent dots. If you complete one or more little squares (a box) initial the box and go again. The three-year-olds basically scribbled. The five- through eight-year-olds played a few games and moved on to something else, but my ten-year-old eventually decided to challenge me. I played against him enough times for him to see me use, and then learn to use himself the double-cross tactic (which is explained in the <a href="http://en.wikipedia.org/wiki/Dots_and_Boxes">dots and boxes Wikipedia article</a>).</p>
<p>Anyway, we&#8217;ll probably continue to have fun with dots and boxes. Something else that I wanted to set them loose on is the following game that I first heard of from Singing Banana:<br />
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='538' height='333' src='http://www.youtube.com/embed/ue4Baa8Mhn8?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span><br />
But we didn&#8217;t get around to it tonight&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/807/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/807/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=807&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2011/10/21/dots-and-boxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/10/books.jpg" medium="image">
			<media:title type="html">books</media:title>
		</media:content>
	</item>
		<item>
		<title>The Math Games&#8211;One: Block Towers</title>
		<link>http://toomai.wordpress.com/2011/07/23/the-math-games-one-block-towers/</link>
		<comments>http://toomai.wordpress.com/2011/07/23/the-math-games-one-block-towers/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 19:13:23 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[children]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=788</guid>
		<description><![CDATA[We had some time today, so I suggested a little competition: try to build the tallest tower with our wooden blocks. My nine-year-old and I were the only ones to compete, and the nine-year-old got bored pretty quickly and essentially gave up. Below is his tower. The rules that I laid out are as follows: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=788&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://toomai.files.wordpress.com/2011/07/blocks1.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks1.jpg?w=300&#038;h=225" alt="" title="blocks1" width="300" height="225" class="aligncenter size-medium wp-image-789" /></a><br />
We had some time today, so I suggested a little competition: try to build the tallest tower with our wooden blocks.  My nine-year-old and I were the only ones to compete, and the nine-year-old got bored pretty quickly and essentially gave up.  Below is his tower.<br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks2.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks2.jpg?w=225&#038;h=300" alt="" title="blocks2" width="225" height="300" class="aligncenter size-medium wp-image-790" /></a><br />
The rules that I laid out are as follows:<br />
1) Build a tower by stacking the wooden blocks as you wish.<br />
2) The tower is measured from base to tip.  Your final score is calculated by taking the height of your tower in inches and subtracting an inch for each year of your age.<br />
My son&#8217;s tower was 29.5 inches, so his calculated score was 19.5<br />
My tower was 79.25 inches, so my calculated score was *****. Let&#8217;s just say that I won by a wide margin.<br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks5.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks5.jpg?w=225&#038;h=300" alt="" title="blocks5" width="225" height="300" class="aligncenter size-medium wp-image-793" /></a><br />
Of course the crux of designing these towers is managing your block resources.  You want the base to be wide and sturdy enough to give good support to the tower, but you don&#8217;t want to waste too many blocks on any single layer.<br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks3.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks3.jpg?w=300&#038;h=225" alt="" title="blocks3" width="300" height="225" class="aligncenter size-medium wp-image-791" /></a></p>
<p>Here are some more shots of my tower:<br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks6.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks6.jpg?w=225&#038;h=300" alt="" title="blocks6" width="225" height="300" class="aligncenter size-medium wp-image-794" /></a><br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks7.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks7.jpg?w=225&#038;h=300" alt="" title="blocks7" width="225" height="300" class="aligncenter size-medium wp-image-795" /></a><br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks8.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks8.jpg?w=225&#038;h=300" alt="" title="blocks8" width="225" height="300" class="aligncenter size-medium wp-image-796" /></a><br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks9.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks9.jpg?w=225&#038;h=300" alt="" title="blocks9" width="225" height="300" class="aligncenter size-medium wp-image-797" /></a><br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks10.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks10.jpg?w=225&#038;h=300" alt="" title="blocks10" width="225" height="300" class="aligncenter size-medium wp-image-798" /></a><br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks11.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks11.jpg?w=225&#038;h=300" alt="" title="blocks11" width="225" height="300" class="aligncenter size-medium wp-image-799" /></a><br />
<a href="http://toomai.files.wordpress.com/2011/07/blocks12.jpg"><img src="http://toomai.files.wordpress.com/2011/07/blocks12.jpg?w=225&#038;h=300" alt="" title="blocks12" width="225" height="300" class="aligncenter size-medium wp-image-800" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/788/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/788/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=788&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2011/07/23/the-math-games-one-block-towers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks1.jpg?w=300" medium="image">
			<media:title type="html">blocks1</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks2.jpg?w=225" medium="image">
			<media:title type="html">blocks2</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks5.jpg?w=225" medium="image">
			<media:title type="html">blocks5</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks3.jpg?w=300" medium="image">
			<media:title type="html">blocks3</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks6.jpg?w=225" medium="image">
			<media:title type="html">blocks6</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks7.jpg?w=225" medium="image">
			<media:title type="html">blocks7</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks8.jpg?w=225" medium="image">
			<media:title type="html">blocks8</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks9.jpg?w=225" medium="image">
			<media:title type="html">blocks9</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks10.jpg?w=225" medium="image">
			<media:title type="html">blocks10</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks11.jpg?w=225" medium="image">
			<media:title type="html">blocks11</media:title>
		</media:content>

		<media:content url="http://toomai.files.wordpress.com/2011/07/blocks12.jpg?w=225" medium="image">
			<media:title type="html">blocks12</media:title>
		</media:content>
	</item>
		<item>
		<title>Math Camp II: Eternity</title>
		<link>http://toomai.wordpress.com/2011/07/17/math-camp-ii-eternity/</link>
		<comments>http://toomai.wordpress.com/2011/07/17/math-camp-ii-eternity/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 02:21:00 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=778</guid>
		<description><![CDATA[This is the second installment describing my experiences teaching at a math camp for high-schoolers. More about the computers class later, right now I just wanted to mention an evening talk that I gave to the entire camp. It was on the Eternity Puzzle and its solution by a pair of mathematicians. Here is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=778&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img alt="" src="http://www.mathpuzzle.com/winning_sol.gif" title="Eternity Solution" class="aligncenter" width="265" height="263" /><br />
This is the second installment describing my experiences teaching at a math camp for high-schoolers.  More about the computers class later, right now I just wanted to mention an evening talk that I gave to the entire camp.  It was on <a href="http://en.wikipedia.org/wiki/Eternity_puzzle">the Eternity Puzzle</a> and its solution by a pair of mathematicians.  Here is a <a href="http://plus.maths.org/content/prize-specimens">link to a good article</a> describing the weaknesses accidentally built into the puzzle by <a href="http://en.wikipedia.org/wiki/Christopher_Monckton,_3rd_Viscount_Monckton_of_Brenchley">the designer</a> (because he didn&#8217;t <strong>do the math!</strong>) and how two Cambridge mathematicians were able to successfully attack it (because they did <strong>do the math!</strong>).  </p>
<p>Take home message is: <strong>Do the math!</strong></p>
<p>I also have in mind a slightly more philosophical message.  Though, we all know that math is fun and beautiful&#8211;We all know that, right?&#8211;it is also useful.  For instance, given some problem in the real world, it is often productive to model it mathematically.  The hope is that, even though the model is not perfect, working with it will give insight into the real problem.  What may come as a surprise is that this also works for problems in the mathematical world.  That is, given some mathematical problem, it may be productive to model it with a <em>simpler</em> mathematical problem.  The simpler problem will not model the more complicated one perfectly.  However, working with the simpler model may give useful insights to the original problem.  This sort of paradigm plays out for the solution of the Eternity Puzzle.  I will forbear giving further details and instead recommend that you read the <a href="http://plus.maths.org/content/prize-specimens">article linked previously</a>, as well as this <a href="http://www.archduke.demon.co.uk/eternity/talk/notes.html">more detailed article</a>, and if those leave you wanting more a few additional details can be found at <a href="http://www.archduke.demon.co.uk/eternity/method/desc.html">this third article</a>.</p>
<p>One final thing: it turns out that I also gave this talk in Portuguese to some camp students from Mozambique.  Do I speak Portuguese?  Well, I did 13 years ago.  This was my first attempt at giving a technical talk in Portuguese.  It was exhausting, but an experience I&#8217;m glad I had.  A reminder that I really should keep current with my Portuguese skills&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/778/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/778/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=778&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2011/07/17/math-camp-ii-eternity/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>

		<media:content url="http://www.mathpuzzle.com/winning_sol.gif" medium="image">
			<media:title type="html">Eternity Solution</media:title>
		</media:content>
	</item>
		<item>
		<title>Math Camp I: Recursion and such</title>
		<link>http://toomai.wordpress.com/2011/07/12/math-camp-i/</link>
		<comments>http://toomai.wordpress.com/2011/07/12/math-camp-i/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 01:01:30 +0000</pubDate>
		<dc:creator>toomai</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://toomai.wordpress.com/?p=770</guid>
		<description><![CDATA[The past two years I&#8217;ve taught at a summer math camp for high school students. In 2010 I assisted with a class on chaos and fractals. This year I assisted with a computers class. I&#8217;m planning to do a couple of posts about the class. This is the first of those posts. The computer class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=770&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The past two years I&#8217;ve taught at a summer math camp for high school students.  In 2010 I assisted with a class on chaos and fractals.  This year I assisted with a computers class.  I&#8217;m planning to do a couple of posts about the class.  This is the first of those posts.</p>
<p>The computer class that I helped teach focused on hardware, but also included some software topics.  My main role was teaching programming.  I should point out that I am not really a programmer.  I&#8217;m a mathematician who uses some programming in his work.  I&#8217;ve never had a programming class.  Nevertheless, I hope that I was able to get some of the basics across to the students.</p>
<p>I first introduced programming to the students by describing a simple language for manipulating a cube, the goal being to get the cube in a prescribed orientation.  More on that in a later post.</p>
<p>We did our programming in two languages: <a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29">Python</a> (which you can try in your browser at: <a href="http://trypython.jcubic.pl/">Try Python</a>) and <a href="http://www.alice.org/">Alice</a>.  Both are freely available.  In Python we did some simple procedural programming (I had them code up a function that computes the factorial of a number and another that runs <a href="http://en.wikipedia.org/wiki/Collatz_conjecture">the Collatz algorithm</a>).  One of the students was able to produce a factorial algorithm very quickly.  Here is his python code:</p>
<pre>
def factorial(n):
    if n == 0:
        return 1
    else:
        return n * factorial(n-1)
</pre>
<p>It surprised me that he used <a href="http://en.wikipedia.org/wiki/Recursion_%28computer_science%29">recursion</a>, though I think he has had some programming experience in the past.  Most of the other students had had no prior programming experience and were having a hard time producing a factorial function.  This also surprised me.  This was my first time teaching programming, so I had little intuition for where the students might get hung up.</p>
<p>Alice is a drag-and-drop object-oriented language for manipulating characters in a 3-D virtual world.  We mostly let the students explore Alice on their own as their interests dictated.  One student wrote a <em>very</em> simple first-person shooter game.</p>
<p>In any case it was hard to get any of the kids very interested in programming.  If I go back next year and assist with this same class, then I think I would like to have some compelling problems or mini-projects that would grab the kids attention and require them to do some programming.  Suggestions anyone?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toomai.wordpress.com/770/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toomai.wordpress.com/770/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toomai.wordpress.com&#038;blog=3335131&#038;post=770&#038;subd=toomai&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://toomai.wordpress.com/2011/07/12/math-camp-i/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/896e054898cccc40da88e096c33ad121?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jamie</media:title>
		</media:content>
	</item>
	</channel>
</rss>
