##
22 posts tagged with combinations.

Displaying 1 through 22 of 22. Subscribe:

## Need help with creating a CSV from python3 itertools.combination list

I'm working on creating combinations of colors. I have been able to do a simple "print" of the combinations and piped that to a text file, each entry on its own line.
In order to facilitate further work with this, I want to create a CSV to import to spreadsheet. I have tried to use information online to create the CSV, however, I can't quite grok how iterators work and how to generate the CSV. HALP! [more inside]

## Fruit salad for statisticians

What formula do I need to determine the probability that a set of size N contains two elements, each appearing with a specific frequency? [more inside]

## Bar Crawl Planning + Math = Happy Drunks!

I am currently planning a bar crawl and could use some help.
There are 6 groups and 6 bars. Each group will start at a different bar (Stop 1). Each group will then meet up with a different group at Stop 2, Stop 3, etc., totaling 6 stops. Each group will need to meet each other group one time. Ideally, no group would repeat a bar, ie. each group will meet each other group and hit all 6 designated bars.
I've been trying to manually chart this and I'm pulling my hair out. Is there a way to figure this out with math or some other voodoo that I'm not aware of?

## 2 problems of combinations and permutations.

How many unique ways are there to put X rocks into Y boxes?
(Given two different sets of attributes for both the rocks and the boxes.) [more inside]

## Help me with a permutations probability problem.

I'm an answer-checker who is rusty at probability. Can you solve this problem?
What is the probability that a random arrangement of the letters in the word THRUSTS will have the two T's next to each other? [more inside]

## Non-intuitive food combinations that work

So when I was little I was the weird kid who mixed up food in weird and non-intuitive ways that grossed out many of my peers, but many of those combinations, discovered through largely blind trial and error, turned out to work really well - What are ones that you've discovered? [more inside]

## Show me how to flip a coin 15 times and tell me all 32,768 possible outcomes

How do I find every possible outcome of an arbitrary length set of coin flips? [more inside]

## Don't meet the same person twice (involves math ... somehow)

36 people total, meeting in groups of 6. After 5 minutes, the groups shuffle into completely new groups. How many "rounds" can we go without people meeting with someone they've already met? [more inside]

## unique combinations

I have a list of 6 items. I need to make a list of unique combinations where 3 items are taken from the list in any order and the 4th item is also taken from the same list but cannot be one of the 3 items already selected [more inside]

## Two great tastes that taste terrible together

What are some terrible flavor combinations? [more inside]

## Pick my lock, please

Help me tear-apart, clean and reset my combination lock. [more inside]

## Permutations: an extension of the odd sock problem

I've annoyed myself by getting stuck attempting to work out a silly maths problem relating to permutations. It's an extension of the 'how many odd socks do I have to pull out of a drawer before I find a pair' problem. Only my theoretical sock-wearer has three legs. And a penchant for odd socks. [more inside]

## Where are custom settings stored in Word 2000?

What file are settings (created macros, custom toolbar buttons, etc.) stored in in Word 2000? [more inside]

## Movie Treats!

What movies and treats go together? [more inside]

## Help me play with my image collection!

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's something cool) that can play with large collections of images in unexpected ways? [more inside]

## Math help for the right brained

I have a math question involving combinations and sets. [more inside]

## Website that will create combinations?

I'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? [more inside]

## Balls in boxes algorithm

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. [more inside]

## Catch a cheater by the toe...

How can one cheat and predict the outcome of eenie meenie miny moe? [more inside]

## Yummy yummy in my tummy

Quick & healthy food pairing suggestions? [more inside]

## Sounding the horn for people who know something about math

Suppose there'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? [more inside]

## Combinations and Permutations

Combinations and permutations are something that's starting cropping up a lot in my work and I need to rapidly elevate myself from utterly rubbish to vaguely proficient (example included). [more inside]

Page:
1