<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with combinations</title>
      <link>http://ask.metafilter.com/tags/combinations</link>
      <description>Questions tagged with 'combinations' at Ask MetaFilter.</description>
	  <pubDate>Fri, 30 Oct 2009 15:31:27 -0800</pubDate> <lastBuildDate>Fri, 30 Oct 2009 15:31:27 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Pick my lock, please</title>
	<link>http://ask.metafilter.com/136890/Pick%2Dmy%2Dlock%2Dplease</link>	
	<description>Help me tear-apart, clean and reset my combination lock. I have a slightly older version of &lt;a href=&quot;http://www.paragonsports.com/images/large/1180-1505d_assorted_cl.jpg&quot;&gt;this Master lock.&lt;/a&gt; It&apos;s a type where you can open it up and set the combination to whatever you want. Over the years, it has become very...sticky...in its operation. So much so that it sometimes takes quite a bit of force to make it work. So, I&apos;d like to clean the works.&lt;br&gt;
&lt;br&gt;
Unfortunately, I no longer have the instructions on how to disassemble and re-set the combination for this lock. MasterLock&apos;s website is a marvel of non-information for this, unfortunately. I know the end cap without the hasp can be pulled-off, but I&apos;m not about to dive into dissection until I know how to set the combination.&lt;br&gt;
&lt;br&gt;
Anyone have good lock-fu tonight?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136890</guid>
	<pubDate>Fri, 30 Oct 2009 15:31:27 -0800</pubDate>
	<category>combinations</category>
	<category>locks</category>
	<category>resolved</category>
	<dc:creator>Thorzdad</dc:creator>
	</item>
	<item>
	<title>Permutations: an extension of the odd sock problem</title>
	<link>http://ask.metafilter.com/131707/Permutations%2Dan%2Dextension%2Dof%2Dthe%2Dodd%2Dsock%2Dproblem</link>	
	<description>I&apos;ve annoyed myself by getting stuck attempting to work out a silly maths problem relating to permutations. It&apos;s an extension of the &apos;how many odd socks do I have to pull out of a drawer before I find a pair&apos; problem. Only my theoretical sock-wearer has three legs. And a penchant for odd socks. Let&apos;s say I&apos;m &lt;a href=&quot;http://www.youtube.com/watch?v=GS-itkO9ia8&quot;&gt;Jake the Peg&lt;/a&gt;. I have &lt;strong&gt;&lt;em&gt;s&lt;/em&gt;&lt;/strong&gt; socks in a drawer. There are &lt;strong&gt;&lt;em&gt;n&lt;/em&gt;&lt;/strong&gt; different types of sock. On average, how many socks must I remove from the drawer before I get three odd ones?&lt;br&gt;
&lt;br&gt;
I&apos;ve worked this out from scratch using a drawer containing only 5 socks. Obviously, if all 5 socks are different (s=n=5), then there are &lt;em&gt;5!&lt;/em&gt; different ways of pulling the 5 socks from the drawer, and every single one of those leads to me having an odd triplet after only 3 socks. &lt;br&gt;
&lt;br&gt;
If I only have 4 types of sock (i.e. in the drawer of 5, there&apos;s 1 pair and 3 odd ones), again, there are 120 ways of pulling all 5 socks out of the drawer, but this time there are only 60 unique sequences [I managed to work out from first principles that the number of unique ways of withdrawing the socks is &lt;em&gt;s!/(s-n+1)!&lt;/em&gt;, not that that seems to help me at all ]. 84 of these sequences lead me to have an odd triplet after the first three socks. 36 of these lead me to have an odd triplet after the first four socks. At no stage do I need to withdraw all 5. So now the average number of socks I need to withdraw to get an odd triplet is (3x84 + 4*36)/120 = 3.3. &lt;br&gt;
&lt;br&gt;
If I now only have 3 types of sock (i.e. in the drawer of 5, there are three black ones, a &apos;Worlds Best Dad&apos; and a Homer Simpson), there are 20 unique ways of removing them all, and, if I&apos;ve counted right, 37 ways of getting an odd triplet after 3 socks; 35 ways of getting an odd triplet after 4 socks; 48 ways of only getting an odd triplet after removing all 5 socks from the drawer. This leads to an average of 4.09.&lt;br&gt;
&lt;br&gt;
My tiny brain is now too overheated to take this further. There must be a connection between these numbers, but I can&apos;t get a handle on a pattern, and am too daunted by the prospect of writing out all the variations of 720 sequences for a drawer of 6 socks to do it by brute force. Can anyone please put me out of my misery and point me towards a general formula for this, to solve the average number of socks necessary to achieve an odd triplet given &lt;em&gt;s&lt;/em&gt; socks and &lt;em&gt;n&lt;/em&gt; different types?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.131707</guid>
	<pubDate>Tue, 01 Sep 2009 15:00:02 -0800</pubDate>
	<category>combinations</category>
	<category>math</category>
	<category>maths</category>
	<category>permutations</category>
	<category>socks</category>
	<dc:creator>Beautiful Screaming Lady</dc:creator>
	</item>
	<item>
	<title>Where are custom settings stored in Word 2000?</title>
	<link>http://ask.metafilter.com/112014/Where%2Dare%2Dcustom%2Dsettings%2Dstored%2Din%2DWord%2D2000</link>	
	<description>What file are settings (created macros, custom toolbar buttons, etc.) stored in in Word 2000? I want to try upgrading to Word 2003 but don&apos;t want to lose all the custom stuff in my current version of 2000 (in case I decide to go back). When I reinstalled Photoshop in a new computer, I was able to find a settings file that preserved all of my created actions. I think something similar must exist with Word, but I haven&apos;t been able to find it. Help!&lt;br&gt;
&lt;br&gt;
Extra credit points if you know whether it&apos;s possible to import custom stuff from earlier versions into 2003 after you upgrade!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.112014</guid>
	<pubDate>Sun, 18 Jan 2009 19:57:31 -0800</pubDate>
	<category>2000</category>
	<category>2003</category>
	<category>buttons</category>
	<category>combinations</category>
	<category>custom</category>
	<category>file</category>
	<category>key</category>
	<category>macros</category>
	<category>settings</category>
	<category>toolbar</category>
	<category>word</category>
	<dc:creator>roxie110</dc:creator>
	</item>
	<item>
	<title>Movie Treats!</title>
	<link>http://ask.metafilter.com/102156/Movie%2DTreats</link>	
	<description>What movies and treats go together? Tonight is Movie Night at our house.  We&apos;re going to be watching E.T and as our treat, I&apos;m serving Reese&apos;s Pieces.  What other movie and snack combinations are there?  I thought of Fried Green Tomatoes and um, serving fried green tomatoes.  What else?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.102156</guid>
	<pubDate>Fri, 19 Sep 2008 14:29:08 -0800</pubDate>
	<category>combinations</category>
	<category>movie</category>
	<category>snacks</category>
	<category>treats</category>
	<dc:creator>Sassyfras</dc:creator>
	</item>
	<item>
	<title>Help me play with my image collection!</title>
	<link>http://ask.metafilter.com/88252/Help%2Dme%2Dplay%2Dwith%2Dmy%2Dimage%2Dcollection</link>	
	<description>I have a large image collection that I use for illustration reference. Are there any programs (I have a mac, but could get access to a PC if there&apos;s something cool) that can play with large collections of images in unexpected ways? Here are two examples of something I&apos;d like to play with. Since the collection is so large that  I can never get an overview, one thing that I could use is something that can pull &quot;X&quot; number of images from a folder, and I can just hit refresh, pulling up unexpected combinations for inspiration. Another thing is something that uses math to maybe pull images and slice or rearrange, flip, make a rorsach, a mandala, etc. Basically I&apos;m not looking for something to make art (I don&apos;t really have an interest on sorting things by dominant colors or anything like that) so much as something to use to view my images in new ways with very little manual input from me. Just slamming them together. The more random and simpler to modify variables, the better. Maybe I need to learn to make something myself?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.88252</guid>
	<pubDate>Tue, 08 Apr 2008 17:30:08 -0800</pubDate>
	<category>collection</category>
	<category>combinations</category>
	<category>image</category>
	<category>inspiration</category>
	<category>manipulation</category>
	<category>random</category>
	<category>randomize</category>
	<dc:creator>apetpsychic</dc:creator>
	</item>
	<item>
	<title>Math help for the right brained</title>
	<link>http://ask.metafilter.com/61533/Math%2Dhelp%2Dfor%2Dthe%2Dright%2Dbrained</link>	
	<description>I have a math question involving combinations and sets. I just participated in my first MeFi CD swap, and I got to wondering if there was an algorithmic way to make sure each round&apos;s swap sets are as unique as possible. IANAMathPerson, so here&apos;s a wordy explanation of the problem:&lt;br&gt;
&lt;br&gt;
Let&apos;s say we have 9 people who are going to be split up into groups of 3 over several rounds. How can I determine how many unique combinations there are? &lt;br&gt;
&lt;br&gt;
For an example of this size, it&apos;s trivial by hand:&lt;br&gt;
Round 1: [ABC] [DEF] [GHI]&lt;br&gt;
Round 2: [ADG] [BEH] [CFI]&lt;br&gt;
Round 3: [AEI] [BFG] [CDH]&lt;br&gt;
Round 4: [AFH] [BDI] [CEG]&lt;br&gt;
&lt;br&gt;
4 rounds, no one ever shares a set with the same person twice, and there are no further unique solutions. For larger sets of size N and subsets of size K, is there an equation that will tell me how many unique combinations can be made?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.61533</guid>
	<pubDate>Sat, 28 Apr 2007 13:10:35 -0800</pubDate>
	<category>combinations</category>
	<category>combinatorials</category>
	<category>math</category>
	<dc:creator>sonofslim</dc:creator>
	</item>
	<item>
	<title>Website that will create combinations?</title>
	<link>http://ask.metafilter.com/56814/Website%2Dthat%2Dwill%2Dcreate%2Dcombinations</link>	
	<description>I&apos;m working on a presentation for a public speaking class, and my chosen topic is group choice. Is there a website (or program) that I could use to generate all possible preference orderings for a specific set of preferences? Or just numbers in general? It&apos;s not central to my presentation, but I&apos;d like to have a slide or two that I could use to demonstrate how many different sets of individual preferences are possible given a certain number of alternatives, in order to explain why group choice is such a difficult and interesting topic. Moreover, I&apos;d rather not go through and do all of the preference orderings/rankings by hand...</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.56814</guid>
	<pubDate>Mon, 12 Feb 2007 06:01:29 -0800</pubDate>
	<category>combinations</category>
	<category>preferenceordering</category>
	<dc:creator>almostbarefoot</dc:creator>
	</item>
	<item>
	<title>Balls in boxes algorithm</title>
	<link>http://ask.metafilter.com/56687/Balls%2Din%2Dboxes%2Dalgorithm</link>	
	<description>Is there a standard ball picking algorithm? I have 10 balls that I want put in four boxes (A-D). Every box can hold zero to all balls. So one possible combination is:&lt;br&gt;
box A: 0,1,3&lt;br&gt;
box B: 5&lt;br&gt;
box C: 2,4,6,7,8,9&lt;br&gt;
box D: -&lt;br&gt;
&lt;br&gt;
I want to generate all possible combinations. I realise that this makes 4^10, which is over 1 million possibilities so efficiency is important.&lt;br&gt;
&lt;br&gt;
I expected that this would be a common homework problem for computer scientists and I assumed there would be a sort-of standard way to do this (like &quot;quicksort&quot; is a standard way to sort). I don&apos;t think I know the terms to search for though, because I cannot find anything. &lt;br&gt;
&lt;br&gt;
Any help with this specific problem would be appreciated (pseudo code is fine). If there is a language that is exceptionally suited for this kind of task, I would be interested in that as well. If there are useful websites about this problem, that would be great as well.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.56687</guid>
	<pubDate>Fri, 09 Feb 2007 13:35:03 -0800</pubDate>
	<category>algorithm</category>
	<category>ballpicking</category>
	<category>combinations</category>
	<category>math</category>
	<category>programming</category>
	<dc:creator>davar</dc:creator>
	</item>
	<item>
	<title>Catch a cheater by the toe...</title>
	<link>http://ask.metafilter.com/55973/Catch%2Da%2Dcheater%2Dby%2Dthe%2Dtoe</link>	
	<description>How can one cheat and predict the outcome of eenie meenie miny moe? Given a fixed version of eenie meenie, (e.g. the english version from &lt;br&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Eeny,_meeny,_miny,_moe&quot;  _blank&gt;wikipedia&lt;/a&gt;), a set number of people to choose among, and assuming the person pointed at changes with every word including &quot;a&quot; , &lt;br&gt;
&lt;br&gt;
My verse is:&lt;br&gt;
&lt;br&gt;
    Eeny, meeny, miny, moe&lt;br&gt;
    Catch a baby by the toe&lt;br&gt;
    If it squeals let it go,&lt;br&gt;
    Eeny, meeny, miny, moe. &lt;br&gt;
&lt;br&gt;
My set is, from left to right:&lt;br&gt;
&lt;br&gt;
Alice&lt;br&gt;
Bert&lt;br&gt;
Charlie&lt;br&gt;
Derek&lt;br&gt;
Eudora&lt;br&gt;
&lt;br&gt;
Is it possible to devise a rule of thumb that will predict the final person in advance, e.g. If I start with Derek, I know I&apos;ll end up with Eudora. If I start with Alice, I&apos;ll end up with Bert.&lt;br&gt;
&lt;br&gt;
Can this be boiled down to, for example : If I pick the second person from the right, I&apos;ll always end up with the first person on the left.&lt;br&gt;
&lt;br&gt;
Yes, this really is the kind of thing that weighs heavily on my mind...</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.55973</guid>
	<pubDate>Mon, 29 Jan 2007 16:41:20 -0800</pubDate>
	<category>combinations</category>
	<category>eenie</category>
	<category>meenie</category>
	<category>miny</category>
	<category>moe</category>
	<category>permutations</category>
	<category>random</category>
	<category>selection</category>
	<dc:creator>snailer</dc:creator>
	</item>
	<item>
	<title>Yummy yummy in my tummy</title>
	<link>http://ask.metafilter.com/39167/Yummy%2Dyummy%2Din%2Dmy%2Dtummy</link>	
	<description>Quick &amp;amp; healthy food pairing suggestions? In an effort to adhere to a better diet, I&apos;m looking for additional food pairings that are (1) fairly healthy, (2) quickly and easily-prepared, and (3) good-tasting.&lt;br&gt;
&lt;br&gt;
Examples:&lt;br&gt;
- apple slices + peanut butter&lt;br&gt;
- toast + honey + banana slices&lt;br&gt;
- cottage cheese + pineapple chunks&lt;br&gt;
- wheat crackers + gouda (or other) cheese&lt;br&gt;
- tomato slices + mozzaralla&lt;br&gt;
&lt;br&gt;
Thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.39167</guid>
	<pubDate>Tue, 30 May 2006 11:18:27 -0800</pubDate>
	<category>combinations</category>
	<category>eating</category>
	<category>food</category>
	<category>healthy</category>
	<category>pairings</category>
	<dc:creator>masymas</dc:creator>
	</item>
	<item>
	<title>Sounding the horn for people who know something about math</title>
	<link>http://ask.metafilter.com/38141/Sounding%2Dthe%2Dhorn%2Dfor%2Dpeople%2Dwho%2Dknow%2Dsomething%2Dabout%2Dmath</link>	
	<description>Suppose there&apos;s a web form with 50 checkboxes (representing options or interests), and that checking one has no effect on any of the others.  A user could select any two boxes, or a half dozen, or a different half dozen, or all 50.   The only constraint on the form submission is that the user must check at least two boxes.  How many possible combinations are there? Also, what is the underlying principle here and what is it called?  (That is, how could I figure out this problem on my own later, if the situation changed or if a similar situation came up?)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.38141</guid>
	<pubDate>Sat, 13 May 2006 22:22:30 -0800</pubDate>
	<category>combinations</category>
	<category>math</category>
	<category>resolved</category>
	<dc:creator>Tuwa</dc:creator>
	</item>
	<item>
	<title>Combinations and Permutations</title>
	<link>http://ask.metafilter.com/18112/Combinations%2Dand%2DPermutations</link>	
	<description>Combinations and permutations are something that&apos;s starting cropping up a lot in my work and I need to rapidly elevate myself from utterly rubbish to vaguely proficient (example included). My current problem is this: in an 8 player game I have a start screen from which the user chooses what character they wish to be. After they&apos;ve chosen, that character disappears from the screen and the next player chooses from the remaining 7, etc etc. So I need to work out how many different screens are required to show all the different possible combinations of characters.&lt;br&gt;
&lt;br&gt;
I&apos;m not necessarily looking for an answer to this question, more direction as to how I can solve this, and other problems of this nature which will inevitably come my way. I do remember doing combs and perms at school and being utterly confused by it, so if anyone knows a more user friendly approach, I&apos;d be most grateful....&lt;br&gt;
&lt;br&gt;
thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2005:site.18112</guid>
	<pubDate>Thu, 28 Apr 2005 11:07:37 -0800</pubDate>
	<category>combinations</category>
	<category>permutations</category>
	<dc:creator>forallmankind</dc:creator>
	</item>
	
	</channel>
</rss>

