<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for The Math Factor Podcast</title>
	<link>http://mathfactor.uark.edu</link>
	<description>The Math Factor Podcast Site</description>
	<pubDate>Sat, 17 May 2008 02:52:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>Comment on DX. Dumb Robots by strauss</title>
		<link>http://mathfactor.uark.edu/2008/05/13/dx-dumb-robots/#comment-330</link>
		<dc:creator>strauss</dc:creator>
		<pubDate>Fri, 16 May 2008 11:12:42 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/13/dx-dumb-robots/#comment-330</guid>
		<description>(* Man, 27 by hand is quite a treat! Here's the same result in Mathematica; I love the compactness of this language! *)

Collatz[1] = 1;

Collatz[n_] := If[EvenQ[n], n/2, 3 n + 1];

DoCollatz[n_] := (Print[Length[#] - 1, " steps: ", #, "\n"]) &#038;@ FixedPointList[Collatz, n]



(* so typing in DoCollatz[27] spits out the sequence starting at 27; DoCollatz /@ Range[1,200] spits out results for 1 through 200 *)

(* You can hash the results, using

Collatz[n_] := Collatz[n] = If[EvenQ[n], n/2, 3 n + 1];

*)

</description>
		<content:encoded><![CDATA[<p>(* Man, 27 by hand is quite a treat! Here&#8217;s the same result in Mathematica; I love the compactness of this language! *)</p>
<p>Collatz[1] = 1;</p>
<p>Collatz[n_] := If[EvenQ[n], n/2, 3 n + 1];</p>
<p>DoCollatz[n_] := (Print[Length[#] - 1, &#8221; steps: &#8220;, #, &#8220;\n&#8221;]) &#038;@ FixedPointList[Collatz, n]</p>
<p>(* so typing in DoCollatz[27] spits out the sequence starting at 27; DoCollatz /@ Range[1,200] spits out results for 1 through 200 *)</p>
<p>(* You can hash the results, using</p>
<p>Collatz[n_] := Collatz[n] = If[EvenQ[n], n/2, 3 n + 1];</p>
<p>*)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DX. Dumb Robots by cybersekkin</title>
		<link>http://mathfactor.uark.edu/2008/05/13/dx-dumb-robots/#comment-328</link>
		<dc:creator>cybersekkin</dc:creator>
		<pubDate>Fri, 16 May 2008 05:05:21 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/13/dx-dumb-robots/#comment-328</guid>
		<description>#I (being a dumb chemical robot) made an error going by hand 
#so put this together as a simple test for a single number (27))

#!/usr/bin/perl
#
#
my $num = 27;
my $count = 0;
my $test3 = 0;

until( $test3  == 1 )
{
   print "$count number is: $num\n";
   
   if($num eq 1)
   {
      $test3 = 1;
   }
   #get last digit if even divide by 2
   if(!($num % 2))
   {
      $num = $num / 2;
   }
   #if not multiply by 3 and add 1
   else
   {
      $num = (($num * 3) + 1)
   }
   $count++;
}</description>
		<content:encoded><![CDATA[<p>#I (being a dumb chemical robot) made an error going by hand<br />
#so put this together as a simple test for a single number (27))</p>
<p>#!/usr/bin/perl<br />
#<br />
#<br />
my $num = 27;<br />
my $count = 0;<br />
my $test3 = 0;</p>
<p>until( $test3  == 1 )<br />
{<br />
   print &#8220;$count number is: $num\n&#8221;;</p>
<p>   if($num eq 1)<br />
   {<br />
      $test3 = 1;<br />
   }<br />
   #get last digit if even divide by 2<br />
   if(!($num % 2))<br />
   {<br />
      $num = $num / 2;<br />
   }<br />
   #if not multiply by 3 and add 1<br />
   else<br />
   {<br />
      $num = (($num * 3) + 1)<br />
   }<br />
   $count++;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AW. Will we run out of Social Security Numbers? by strauss</title>
		<link>http://mathfactor.uark.edu/2006/07/19/will-we-run-out-of-social-security-numbers/#comment-327</link>
		<dc:creator>strauss</dc:creator>
		<pubDate>Fri, 16 May 2008 00:01:09 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2006/07/19/will-we-run-out-of-social-security-numbers/#comment-327</guid>
		<description>Thank you, ye many legions, for investigating this on Google! I am pleased and surprised that we so consistently rank highly for 

&lt;i&gt; Will We Run Out Of Social Security?&lt;/i&gt;

I'm less surprised we rank highly for

&lt;i&gt; Will We Run Out Of Social Security Numbers&lt;/i&gt;

Glad we're contributing to this important discourse!! But while you're here, &lt;a href="http://mathfactor.uark.edu" rel="nofollow"&gt;please look around...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thank you, ye many legions, for investigating this on Google! I am pleased and surprised that we so consistently rank highly for </p>
<p><i> Will We Run Out Of Social Security?</i></p>
<p>I&#8217;m less surprised we rank highly for</p>
<p><i> Will We Run Out Of Social Security Numbers</i></p>
<p>Glad we&#8217;re contributing to this important discourse!! But while you&#8217;re here, <a href="http://mathfactor.uark.edu" rel="nofollow">please look around&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DX. Dumb Robots by intchanter</title>
		<link>http://mathfactor.uark.edu/2008/05/13/dx-dumb-robots/#comment-322</link>
		<dc:creator>intchanter</dc:creator>
		<pubDate>Wed, 14 May 2008 22:16:24 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/13/dx-dumb-robots/#comment-322</guid>
		<description>I whipped up some Python code that any of you can hack on to try out the Collatz function.  By posting it here, I am releasing it into the public domain, so have fun with it.

-------------
#!/usr/bin/env python

def collatz(start):
&#160;&#160;&#160;&#160;&apos;&apos;&apos;
&#160;&#160;&#160;&#160;Run through the collatz series for a given number and return the number of
&#160;&#160;&#160;&#160;iterations and the largest number found.
&#160;&#160;&#160;&#160;&apos;&apos;&apos;
&#160;&#160;&#160;&#160;current = start
&#160;&#160;&#160;&#160;iter = 0
&#160;&#160;&#160;&#160;max = start
&#160;&#160;&#160;&#160;while current != 1:
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;iter += 1
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if current % 2: # odd
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;current = current * 3 + 1
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;else: # even
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;current = current / 2
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if current &#62; max:
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;max = current
&#160;&#160;&#160;&#160;return (iter, max)

if __name__ == &#34;__main__&#34;:
&#160;&#160;&#160;&#160;target = 1000
&#160;&#160;&#160;&#160;max_tuple = (0, 0, 0)
&#160;&#160;&#160;&#160;iter_tuple = (0, 0, 0)
&#160;&#160;&#160;&#160;for start in xrange(1, target + 1):
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(iter, max) = collatz(start)
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if max &#62; max_tuple[2]:
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;max_tuple = (start, iter, max)
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if iter &#62; iter_tuple[1]:
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;iter_tuple = (start, iter, max)
&#160;&#160;&#160;&#160;print &apos;Largest integer hit:&apos;, max_tuple
&#160;&#160;&#160;&#160;print &apos;Longest series hit:&apos;, iter_tuple
-------------</description>
		<content:encoded><![CDATA[<p>I whipped up some Python code that any of you can hack on to try out the Collatz function.  By posting it here, I am releasing it into the public domain, so have fun with it.</p>
<p>&#8212;&#8212;&#8212;&#8212;-<br />
#!/usr/bin/env python</p>
<p>def collatz(start):<br />
&nbsp;&nbsp;&nbsp;&nbsp;&apos;&apos;&apos;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Run through the collatz series for a given number and return the number of<br />
&nbsp;&nbsp;&nbsp;&nbsp;iterations and the largest number found.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&apos;&apos;&apos;<br />
&nbsp;&nbsp;&nbsp;&nbsp;current = start<br />
&nbsp;&nbsp;&nbsp;&nbsp;iter = 0<br />
&nbsp;&nbsp;&nbsp;&nbsp;max = start<br />
&nbsp;&nbsp;&nbsp;&nbsp;while current != 1:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iter += 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if current % 2: # odd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;current = current * 3 + 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else: # even<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;current = current / 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if current &gt; max:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max = current<br />
&nbsp;&nbsp;&nbsp;&nbsp;return (iter, max)</p>
<p>if __name__ == &quot;__main__&quot;:<br />
&nbsp;&nbsp;&nbsp;&nbsp;target = 1000<br />
&nbsp;&nbsp;&nbsp;&nbsp;max_tuple = (0, 0, 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;iter_tuple = (0, 0, 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;for start in xrange(1, target + 1):<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(iter, max) = collatz(start)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if max &gt; max_tuple[2]:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max_tuple = (start, iter, max)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if iter &gt; iter_tuple[1]:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iter_tuple = (start, iter, max)<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &apos;Largest integer hit:&apos;, max_tuple<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &apos;Longest series hit:&apos;, iter_tuple<br />
&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DV. Dealing with Chaos by djogon</title>
		<link>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-314</link>
		<dc:creator>djogon</dc:creator>
		<pubDate>Fri, 09 May 2008 16:38:20 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-314</guid>
		<description>I created a little program that calculates the tags, saves the states of each player and the graphically represents them. It may help, but it is highly amusing to see how the number of required tag varies with different number of players/cards.

I planned to create more graphical representations that may help "discover" a patter or at least look pretty :)

Anyway...
You can pick it up from
http://www.softwareriver.com/download/orderlychaos.zip

You only need to have .NET 2.x on your computer and it should run. Select the number of cards, players and select start.
You will then see a graphical representation of each tag as a line for each player. 
The player with no cards will have an empty line - the player with all cards will have the full line for that tag (row).
Starting player is colored blue.

If the "graph" cannot fit in your window a red line will show up indicating that there is more so try to resize your window.

Have fun!</description>
		<content:encoded><![CDATA[<p>I created a little program that calculates the tags, saves the states of each player and the graphically represents them. It may help, but it is highly amusing to see how the number of required tag varies with different number of players/cards.</p>
<p>I planned to create more graphical representations that may help &#8220;discover&#8221; a patter or at least look pretty :)</p>
<p>Anyway&#8230;<br />
You can pick it up from<br />
<a href="http://www.softwareriver.com/download/orderlychaos.zip" rel="nofollow">http://www.softwareriver.com/download/orderlychaos.zip</a></p>
<p>You only need to have .NET 2.x on your computer and it should run. Select the number of cards, players and select start.<br />
You will then see a graphical representation of each tag as a line for each player.<br />
The player with no cards will have an empty line - the player with all cards will have the full line for that tag (row).<br />
Starting player is colored blue.</p>
<p>If the &#8220;graph&#8221; cannot fit in your window a red line will show up indicating that there is more so try to resize your window.</p>
<p>Have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DV. Dealing with Chaos by nklein</title>
		<link>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-312</link>
		<dc:creator>nklein</dc:creator>
		<pubDate>Thu, 08 May 2008 00:45:54 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-312</guid>
		<description>Ugh.  I cannot figure out how to put an image inline here in the comments.
So, I'm just going to point you to &lt;a href="http://patrickwonders.livejournal.com/31362.html" rel="nofollow"&gt;my LiveJournal&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Ugh.  I cannot figure out how to put an image inline here in the comments.<br />
So, I&#8217;m just going to point you to <a href="http://patrickwonders.livejournal.com/31362.html" rel="nofollow">my LiveJournal</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DV. Dealing with Chaos by trivial34</title>
		<link>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-311</link>
		<dc:creator>trivial34</dc:creator>
		<pubDate>Tue, 06 May 2008 03:07:23 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-311</guid>
		<description>I have been working on this problem daily since I heard the first  show on the wonderful game of Tag Deal. I have a few interesting observations to report along with my progress. I noticed on the show and in the comments that people are trying to find a pattern for a given number of players with a varying number of cards. I do not believe this is the right way to look at this. If we look at a  given number of cards and vary the number of players, the cycle length is much more  orderly. In fact, for k cards and p&#62;=k-1 players the cycle lengths form an arithmetic sequence with a common difference that is always a power of 2. This common difference will be 2^Ceiling(log_2 k) where k is the number of  cards. This has given me hope that a formula for at least all cycle lengths of k  cards and p&#62;=k-1 players exists. Since we can calculate these differences we  almost have a formula. All we need to find is a formula which gives us the cycle length for k cards and k-1 players (which I call the stabilized values) and  then add the correct number of differences. The sequence of stabilized values is even more surprising. Making a table of differences between these values (and  then a table of the differences between those!) shows a really nice pattern forming. I don't have the proper notation or typeset to display the differences here but I'm sure if you make a table you'll see the pattern. The patterns are recursive which is giving me trouble but I think I am getting very close to a formula. Let me know what anyone can make of these patterns.</description>
		<content:encoded><![CDATA[<p>I have been working on this problem daily since I heard the first  show on the wonderful game of Tag Deal. I have a few interesting observations to report along with my progress. I noticed on the show and in the comments that people are trying to find a pattern for a given number of players with a varying number of cards. I do not believe this is the right way to look at this. If we look at a  given number of cards and vary the number of players, the cycle length is much more  orderly. In fact, for k cards and p&gt;=k-1 players the cycle lengths form an arithmetic sequence with a common difference that is always a power of 2. This common difference will be 2^Ceiling(log_2 k) where k is the number of  cards. This has given me hope that a formula for at least all cycle lengths of k  cards and p&gt;=k-1 players exists. Since we can calculate these differences we  almost have a formula. All we need to find is a formula which gives us the cycle length for k cards and k-1 players (which I call the stabilized values) and  then add the correct number of differences. The sequence of stabilized values is even more surprising. Making a table of differences between these values (and  then a table of the differences between those!) shows a really nice pattern forming. I don&#8217;t have the proper notation or typeset to display the differences here but I&#8217;m sure if you make a table you&#8217;ll see the pattern. The patterns are recursive which is giving me trouble but I think I am getting very close to a formula. Let me know what anyone can make of these patterns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DV. Dealing with Chaos by nklein</title>
		<link>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-310</link>
		<dc:creator>nklein</dc:creator>
		<pubDate>Mon, 05 May 2008 22:29:31 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/05/05/dw-dealing-with-chaos/#comment-310</guid>
		<description>I just wanted to add another reason this makes a very bad bar bet:  any misdeal gets you out of the good circuit. Chaim said two players with 52 cards takes 7 deals. But, if two cards stick together unnoticed on deal five, you've got to hope for some very special misdeals in the future to get you back on track.

There are 53 ways to divide the cards between two people. Only 7 of those ways are on the good loop. You don't want to end up in the other 46.

(It is only 7 and not 14, right? because it matters who is dealing...)</description>
		<content:encoded><![CDATA[<p>I just wanted to add another reason this makes a very bad bar bet:  any misdeal gets you out of the good circuit. Chaim said two players with 52 cards takes 7 deals. But, if two cards stick together unnoticed on deal five, you&#8217;ve got to hope for some very special misdeals in the future to get you back on track.</p>
<p>There are 53 ways to divide the cards between two people. Only 7 of those ways are on the good loop. You don&#8217;t want to end up in the other 46.</p>
<p>(It is only 7 and not 14, right? because it matters who is dealing&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Q&#038;A: Numerous Numbers by strauss</title>
		<link>http://mathfactor.uark.edu/2007/06/06/qa-numerous-numbers/#comment-307</link>
		<dc:creator>strauss</dc:creator>
		<pubDate>Tue, 29 Apr 2008 10:03:06 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2007/06/06/qa-numerous-numbers/#comment-307</guid>
		<description>Things have really gotten crowded in just the last year. All of the numbers in the comments above now get at least a couple of hits and in some cases a great many. 

It looks like the demand for numbers on the internet (for auctions, for indexing photos, etc) is running very high. 

And some folks are &lt;i&gt;really&lt;/i&gt; hogging up numbers, listing all the primes and other wasteful practices.

This will just get worse as time goes by!!

I'd love to see a systematic search done. For the moment, this is what I came up with. I'll use something like Ken's trick above to keep google at bay.

Two3001293Eight

Two0331125Six</description>
		<content:encoded><![CDATA[<p>Things have really gotten crowded in just the last year. All of the numbers in the comments above now get at least a couple of hits and in some cases a great many. </p>
<p>It looks like the demand for numbers on the internet (for auctions, for indexing photos, etc) is running very high. </p>
<p>And some folks are <i>really</i> hogging up numbers, listing all the primes and other wasteful practices.</p>
<p>This will just get worse as time goes by!!</p>
<p>I&#8217;d love to see a systematic search done. For the moment, this is what I came up with. I&#8217;ll use something like Ken&#8217;s trick above to keep google at bay.</p>
<p>Two3001293Eight</p>
<p>Two0331125Six</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DU. Chaos at the Card Table by trivial34</title>
		<link>http://mathfactor.uark.edu/2008/04/18/du-chaos-at-the-card-table/#comment-304</link>
		<dc:creator>trivial34</dc:creator>
		<pubDate>Fri, 25 Apr 2008 12:54:23 +0000</pubDate>
		<guid>http://mathfactor.uark.edu/2008/04/18/du-chaos-at-the-card-table/#comment-304</guid>
		<description>It is also notable that for k cards the cycle length will stabalize for all players greater than or equal to (k-1) in the sense that the cycle lengths begin to form an arithemetic sequence with a common difference being a power of two (so I've found thus far) I haven't been able to prove this yet but I've tested it for 2-&#62;15 cards (1 is a trivial case).

Common differences for k cards after k-1 players for 2-&#62;15 cards

1, 2, 4, 4, 8, 8, 8, 8, 16, 16, 16, 16, 16, 16

 The non technical reason I presume is that once there are k-1 players, the cards have enouh room to go around without overlapping. Then, adding more players just increases the number of times one card has to travel around the table. Since the common differences all seem to be powers of two this might say something about how many times the cards travel all the way around the table (adding one more player increases the number of turns by one each time we go around the table, so increasing my some power of two indicates a number of times around)

The main conclusion is that the cycle length is chaotic only for k cards and p&#60;k-1 players.</description>
		<content:encoded><![CDATA[<p>It is also notable that for k cards the cycle length will stabalize for all players greater than or equal to (k-1) in the sense that the cycle lengths begin to form an arithemetic sequence with a common difference being a power of two (so I&#8217;ve found thus far) I haven&#8217;t been able to prove this yet but I&#8217;ve tested it for 2-&gt;15 cards (1 is a trivial case).</p>
<p>Common differences for k cards after k-1 players for 2-&gt;15 cards</p>
<p>1, 2, 4, 4, 8, 8, 8, 8, 16, 16, 16, 16, 16, 16</p>
<p> The non technical reason I presume is that once there are k-1 players, the cards have enouh room to go around without overlapping. Then, adding more players just increases the number of times one card has to travel around the table. Since the common differences all seem to be powers of two this might say something about how many times the cards travel all the way around the table (adding one more player increases the number of turns by one each time we go around the table, so increasing my some power of two indicates a number of times around)</p>
<p>The main conclusion is that the cycle length is chaotic only for k cards and p&lt;k-1 players.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
