<?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 World</title>
	<atom:link href="http://slevy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://slevy.wordpress.com</link>
	<description>explanation for unexplainable math facts</description>
	<lastBuildDate>Thu, 20 Nov 2008 00:30:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='slevy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Math World</title>
		<link>http://slevy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://slevy.wordpress.com/osd.xml" title="Math World" />
	<atom:link rel='hub' href='http://slevy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Random walk 10/28/08</title>
		<link>http://slevy.wordpress.com/2008/11/04/random-walk-102808/</link>
		<comments>http://slevy.wordpress.com/2008/11/04/random-walk-102808/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 20:40:44 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=24</guid>
		<description><![CDATA[For class today we attempted to use Mathematica to come up with a simple code to write a random path with the use of probabilities. This is the code Gary, Matt and I came up with: (*This makes the first step of the random path.*) randompath = {{0, 0}}; (*This defines the neighbors of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=24&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For class today we attempted to use Mathematica to come up with a simple code to write a random path with the use of probabilities. This is the code Gary, Matt and I came up with:</p>
<p>(*This makes the first step of the random path.*)</p>
<p>randompath = {{0, 0}};<br />
(*This defines the neighbors of the point{x,y}.*)</p>
<p>left[{x_, y_}] := {x &#8211; 1, y};<br />
right[{x_, y_}] := {x + 1, y};<br />
up[{x_, y_}] := {x, y + 1};<br />
down[{x_, y_}] := {x, y &#8211; 1};<br />
lasteightsites = randompath[[-Min[{Length[randompath], 8}] ;; -1]];<br />
neighbors[{x_, y_}] := {left[{x, y}], right[{x, y}], up[{x, y}],<br />
down[{x, y}]};<br />
beenthere[{x_, y_}] := Intersection[neighbors , lasteightsites];<br />
p = If[Length[beenthere[{x, y}]] == 4, 0,<br />
1/(4 &#8211; Length[beenthere[{x, y}]])];</p>
<p>basically the code start out at the point (0, 0).</p>
<p>Then define (x, y) for the four neighboring points. (left, right, up, and down)</p>
<p>After defining the neighboring points we have to come up with a code that defines the last eights sites visited in the walk and then we intersect those points with the neighboring points. This gives us the values of the (x, y) we have been in the random walk.</p>
<p>The probability of the random walk is 1/ 4 -the length of the been there (x,y) values.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=24&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/11/04/random-walk-102808/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Random walk1</title>
		<link>http://slevy.wordpress.com/2008/10/24/random-walk1/</link>
		<comments>http://slevy.wordpress.com/2008/10/24/random-walk1/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 17:21:48 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=21</guid>
		<description><![CDATA[In class we were introduced to the random walk concept. Elise came up with a concept that: n= number  of steps m= number of vertices x= number of open vertices at each steps Have been           Have not been at a place P(x)= n/m           P(1-x) = 1-n/m x &#62;= 3   creates four mini squares in a pane [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=21&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In class we were introduced to the random walk concept. Elise came up with a concept that:</p>
<p>n= number  of steps</p>
<p>m= number of vertices</p>
<p>x= number of open vertices at each steps</p>
<p>Have been           Have not been at a place</p>
<p>P(x)= n/m           P(1-x) = 1-n/m</p>
<p>x &gt;= 3   creates four mini squares in a pane</p>
<p>P(x=1) = (1- n/m)</p>
<p>P(x=2) = (1- n/m)^2</p>
<p>P(x=3) = (1- n/m)^3</p>
<p>if it is on a vertices a square we get (1- n/m)^0</p>
<p>has n goes to infinity.</p>
<p>Expected values</p>
<p>E(x) = 3 (P(x=3)&#8230;.)) + 2 (P(x=2)&#8230;.)+ P(x=1)&#8230;..)</p>
<p>random walk 2^n is linear</p>
<p>E(x)^n = approximation # of random walk</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=21&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/10/24/random-walk1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Prob. min memory path ending</title>
		<link>http://slevy.wordpress.com/2008/10/24/prob-min-memory-path-ending/</link>
		<comments>http://slevy.wordpress.com/2008/10/24/prob-min-memory-path-ending/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 17:11:56 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=18</guid>
		<description><![CDATA[In our class discussion we attempted to find the min memory path ending for the random walk graph. We decided it was 7 since if we start at a point there is only four possible moves left, right , up, dpwn(l,r,u, d). The branches of the four possible moves then create there own three possible moves since [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=18&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In our class discussion we attempted to find the min memory path ending for the random walk graph. We decided it was 7 since if we start at a point there is only four possible moves left, right , up, dpwn(l,r,u, d). The branches of the four possible moves then create there own three possible moves since it cannot go back to the first move.</p>
<p>We then attempted to find a probability for getting seven has the min memory path ending. We tried to use Bernolli Trial. Which states that sqrt(p (1-p)).</p>
<p>p=(1/4)^7.</p>
<p>4^7= 16384</p>
<p>p= (1/16384)</p>
<p>sqrt [(1/16384)* (1-(1/16384))] = 0.0078</p>
<p>We then tried a different method:</p>
<p>P(x) = (0,1, 2, 3, 4, 5, 6, 7)</p>
<p>the possible move for the first is 4, any other move after is 3, and r = 20,000 (the mathemaitca program attempted a walk for 20, 00 step).</p>
<p>possible move 1st choice 2nd choice</p>
<p>                4  *   [(1/4)   (1/3)^6]</p>
<p>we have to repeat this 20,00o times since it is a walk of 20,000 steps.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=18&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/10/24/prob-min-memory-path-ending/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Random Walk</title>
		<link>http://slevy.wordpress.com/2008/10/24/random-walk/</link>
		<comments>http://slevy.wordpress.com/2008/10/24/random-walk/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 16:43:42 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=15</guid>
		<description><![CDATA[Two weeks ago we attempted to do random walk starting at zero. Prof. Davis created a Mathematica program to show a random walk graph. He kept changing the values to get the session time it took to walk. Starting it a zero there is only four possible moves left, right, up or down (l, r, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=15&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Two weeks ago we attempted to do random walk starting at zero. Prof. Davis created a Mathematica program to show a random walk graph. He kept changing the values to get the session time it took to walk. Starting it a zero there is only four possible moves left, right, up or down (l, r, u, d).</p>
<p>Since random walk = {(0.0)}</p>
<p>a= random walk (1-&gt; 4)</p>
<p>(x, y) = last point n random walk</p>
<p>(-1, 0) if a =1</p>
<p>(1, 0) if a =2</p>
<p>(0, -1) if a = 3</p>
<p>(0, 1) if a =4</p>
<p>By looking at the last four steps in the random walk add (x, y) to random walk if it does not intersect with the last four points other wise do not. In doing this we are trying to keep a track of the last four points we were located on. We next attempted to calcuate a program that not only check the last four points but also if one intersect with the new (x, y) value we simple check the other possible moves available and move to the next one.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=15&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/10/24/random-walk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Tower of Hanoi 4 peg</title>
		<link>http://slevy.wordpress.com/2008/10/07/tower-of-haoi-4-peg/</link>
		<comments>http://slevy.wordpress.com/2008/10/07/tower-of-haoi-4-peg/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 05:34:09 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=13</guid>
		<description><![CDATA[In class on Sept. 30, 2008, we had an interesting session. Elise and Adam lead the class with their recursive patterns for solving the 4 peg system.  The concept was that a 3 peg sytem can be used to give the answer for the minimal amount of moves needed to solve a 4 peg system. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=13&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In class on Sept. 30, 2008, we had an interesting session. Elise and Adam lead the class with their recursive patterns for solving the 4 peg system.  The concept was that a 3 peg sytem can be used to give the answer for the minimal amount of moves needed to solve a 4 peg system. Elise came up with a mathematical calculation process to attain the least amount of moves.</p>
<p>{Let P denote the number of pegs and let the number of disks be at least <img class="latex" title="1 + \sum_i^{P-1}i" src="http://l.wordpress.com/latex.php?latex=1+%2B+%5Csum_i%5E%7BP-1%7Di&amp;bg=ffffff&amp;fg=000000&amp;s=0" alt="1 + \sum_i^{P-1}i" />.  We attempted to formulate a function <img class="latex" title="\psi (P, P-k)" src="http://l.wordpress.com/latex.php?latex=%5Cpsi+%28P%2C+P-k%29&amp;bg=ffffff&amp;fg=000000&amp;s=0" alt="\psi (P, P-k)" />.  P in the function denotes the number of available pegs. P-k denotes the number of disks moved.  found that the opening moves would always be <img class="latex" title="\psi(P, P-1), \psi(P-1, P-2), \psi(P-2, P-3),...,\psi(2 , 1)" src="http://l.wordpress.com/latex.php?latex=%5Cpsi%28P%2C+P-1%29%2C+%5Cpsi%28P-1%2C+P-2%29%2C+%5Cpsi%28P-2%2C+P-3%29%2C...%2C%5Cpsi%282+%2C+1%29&amp;bg=ffffff&amp;fg=000000&amp;s=0" alt="\psi(P, P-1), \psi(P-1, P-2), \psi(P-2, P-3),...,\psi(2 , 1)" />  Let A denote the first parameter in the function and B denote the second.  Then, the function <img class="latex" title="\psi" src="http://l.wordpress.com/latex.php?latex=%5Cpsi&amp;bg=ffffff&amp;fg=000000&amp;s=0" alt="\psi" /> evaluates to the least number of moves to move B disks with A available pegs.  The function <img class="latex" title="\psi" src="http://l.wordpress.com/latex.php?latex=%5Cpsi&amp;bg=ffffff&amp;fg=000000&amp;s=0" alt="\psi" /> can be viewed as a sequence which ends when there are no more empty pegs.} from elise blog&#8230;.</p>
<p>With the help of the class we were able to make logical sense of our classmates suggestions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=13&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/10/07/tower-of-haoi-4-peg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>

		<media:content url="http://l.wordpress.com/latex.php?latex=1+%2B+%5Csum_i%5E%7BP-1%7Di&#038;bg=ffffff&#038;fg=000000&#038;s=0" medium="image">
			<media:title type="html">1 + \sum_i^{P-1}i</media:title>
		</media:content>

		<media:content url="http://l.wordpress.com/latex.php?latex=%5Cpsi+%28P%2C+P-k%29&#038;bg=ffffff&#038;fg=000000&#038;s=0" medium="image">
			<media:title type="html">\psi (P, P-k)</media:title>
		</media:content>

		<media:content url="http://l.wordpress.com/latex.php?latex=%5Cpsi%28P%2C+P-1%29%2C+%5Cpsi%28P-1%2C+P-2%29%2C+%5Cpsi%28P-2%2C+P-3%29%2C...%2C%5Cpsi%282+%2C+1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0" medium="image">
			<media:title type="html">\psi(P, P-1), \psi(P-1, P-2), \psi(P-2, P-3),...,\psi(2 , 1)</media:title>
		</media:content>

		<media:content url="http://l.wordpress.com/latex.php?latex=%5Cpsi&#038;bg=ffffff&#038;fg=000000&#038;s=0" medium="image">
			<media:title type="html">\psi</media:title>
		</media:content>

		<media:content url="http://l.wordpress.com/latex.php?latex=%5Cpsi&#038;bg=ffffff&#038;fg=000000&#038;s=0" medium="image">
			<media:title type="html">\psi</media:title>
		</media:content>
	</item>
		<item>
		<title>Tower of Hanoi</title>
		<link>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi-2/</link>
		<comments>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi-2/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 20:03:47 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=10</guid>
		<description><![CDATA[The edges of the graph are the legal moves of a single top disc. The graph is simple, connected and on a plane. For the Pascal triangle the odd numbers are the legal move and can be connected to form simple, connected triangle on a graph.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=10&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The edges of the graph are the legal moves of a single top disc. The graph is simple, connected and on a plane. For the Pascal triangle the odd numbers are the legal move and can be connected to form simple, connected triangle on a graph.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/slevy.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/slevy.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=10&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Tower of Hanoi</title>
		<link>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi/</link>
		<comments>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 19:59:35 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=7</guid>
		<description><![CDATA[In playing the Tower of Hanoi for a 3 peg with n amount of disk. In order to get the least amount of moves, in class, we derived the formula M(n) = 2*m(n-1) + 1 M(n)= m(n-1) + 1+ M(n-1) M(n)= # of moves for n disk. This formula hold true for all n disks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=7&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In playing the Tower of Hanoi for a 3 peg with n amount of disk. In order to get the least amount of moves, in class, we derived the formula<br />
M(n) = 2*m(n-1) + 1<br />
M(n)= m(n-1) + 1+ M(n-1)</p>
<p>M(n)= # of moves for n disk. This formula hold true for all n disks on a 3 peg. This formula simple states that you move twice the number of moves made for n-1 disks. Then since we have a extra disks that is the +1 move for the game. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/slevy.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/slevy.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=7&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Tower of Hanoi, Pascal triangle and sierpinski triangle</title>
		<link>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi-pascal-triangle-and-sierpinski-triangle/</link>
		<comments>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi-pascal-triangle-and-sierpinski-triangle/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 19:48:32 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://slevy.wordpress.com/?p=4</guid>
		<description><![CDATA[I realized that the Sierpinski graph is obtained from drawing a closed equilateral triangle. If we delete the middle triangle and do the same for the subtriangles we end up with the same graph has the tower of Hanoi. The pascal triange Graph if attach all the odd numbers forming triangles we have the same [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=4&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I realized that the Sierpinski graph is obtained from drawing a closed equilateral triangle. If we delete the middle triangle and do the same for the subtriangles we end up with the same graph has the tower of Hanoi.  The pascal triange Graph if attach all the odd numbers forming triangles we have the same graph has the tower of hanoi for a 3 peg with n amount of disks. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/slevy.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/slevy.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=4&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/09/16/tower-of-hanoi-pascal-triangle-and-sierpinski-triangle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://slevy.wordpress.com/2008/09/09/hello-world/</link>
		<comments>http://slevy.wordpress.com/2008/09/09/hello-world/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 19:38:41 +0000</pubDate>
		<dc:creator>sslevy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=1&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/slevy.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/slevy.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/slevy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/slevy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/slevy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/slevy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/slevy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/slevy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/slevy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/slevy.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=slevy.wordpress.com&amp;blog=4789530&amp;post=1&amp;subd=slevy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://slevy.wordpress.com/2008/09/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/90ddc3ac0551b6e0b00b9c2859f440c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sslevy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
