All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
pot draw permutations (Posted on 2020-02-12) Difficulty: 4 of 5
There are four parts to this problem, numbered 0 to 3:

#0 You have four pots, each with three balls. All the balls are different. You may think of them as having the numbers 1-12 written on them. You are to remove all 12 balls one at a time. The only rule: you must not remove twice in a row from the same pot. How many different ways are there to remove all 12? (solving w/out computer simulation).

#1 The same as #0, but once, and only once, you must replace a ball, returning it to its pot immediately after the removal. So you draw-out 13 times, each time from a different pot. How many possible ways are there?

#2 This time you must replace two balls, replacing each immediately after its removal and replacing each into its pot of origin. It could happen to be the same ball more than once, but you must always move on to a different pot for the next draw, if not done with all 14 draws. How many ways?

#3 Same as #2 but now 3 mandatory replacements are done at some times in the process, again, never drawing from the same pot twice.

See The Solution Submitted by Steven Lord    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts outline of a solution methodology | Comment 1 of 2
There are two approaches, and I don't know if either is amenable to a pencil and paper methodology.  

#0:

Let the pots be labeled a, b, c and d. Whatever order each pot's balls are chosen, theres a specific order in whith the pots' order will be chosen--some permutation of aaabbbcccddd. Each valid permutation must have no two successive letters match. At any given stage there are three choices, unless one or more has been used three times already. The depletion of a given letter may occur at different points in the process, so it isn't as simple as 4*3^11, or even an easy variation on that. So an idea would be to, for each stage, multiply by, not 3, but rather 3 times the fraction of the preceding portions of the permutation that did not deplete any of the remaining letters, etc.  But these are not independent.

Of course a computer could examine each permutation to determine if it is a valid one.  Perhaps this would not be disqualified on the prohibition of simulations, as this is only part of the overall solution; that would depend on what one considers to be a simulation. A simulation would use either a Monte Carlo technique or an exhaustive count of all possibilities.  The exhaustive count we consider here is only of the permutations of aaabbbcccddd (and in later parts, such strings as aaaabbbcccddd), not of the entire set of possibilities.

For each ordering of the pots, there are 6^4 overall ways of choosing all 12 balls, as there are 6 orders for choice of balls within a pot for the three occurrences of each of the four pots.

So the final answer would be the number of valid permutations of aaabbbcccddd multiplied by 6^4.

#1:

Well, this time there are 13 selection from among, say aaaabbbcccddd. Once the valid permutations of this string are counted, we first must multiply by 4, as any of the four pots may be chosen for a repetition.

Then, within the choice orders for a given pot, there are the usual 6 (i.e., 3!) for primary choice. In each of the pots not chosen for a replacement this number stands. This time there are only three such non-replacement pots, accounting for a multiplication by 6^3.

Now we factor in the possibilities for the pot in which replacement occurs. Again there are 6 orders of choice, and now if the first one chosen is replaced it may be chosen again in any of the three positions thereafter; the second one, only two possible positions; the last one, only 1. In summary, for balls 1, 2 and 3:

1123, 1213, 1231, 1223, 1232, 1233 are the possible orderings, for the initial ordering 123. As there are 6 initial orderings the total possibility is 6*6=36.

To summarize: the valid permutations of aaaabbbcccddd must be multiplied by 4 * 6^3 * 36.

Parts #2 and #3 are so complicated they wouldn't be fun any more, at least for me.


  Posted by Charlie on 2020-02-12 19:01:48
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information