How many rings can you guess? -Riddle

  • B
  • Thread starter Andreas C
  • Start date
  • Tags
    Rings
In summary, a person is caught begging in a square where it is strictly forbidden and is given the choice to solve a puzzle to avoid punishment or be sold as a slave. The puzzle involves guessing which box contains 5 identical diamond rings and 5 identical amethyst rings out of 10 boxes. The person can increase their chances of getting diamond rings, but also risks being sold as a slave. There are also optional challenges to generalize the rules for different numbers of rings and determine the optimal number of rings to maximize chances of getting 8 rings right.
  • #1
Andreas C
197
20
Inspired by micromass' statistics challenge, I hope you enjoy it!

Recently your financial situation has been less than optimal, and you are left with no other choice but to beg for money in the square in front of the king's palace. However, begging is strictly forbidden in that particular square, and, unfortunately, you are caught. The usual punishment is 20 lashes, but the king gives you a grace. He gives you the option to be let go unharmed, or solve a puzzle, with a reward, but also a punishment if you don't manage to solve it. Intrigued, you chose to accept it.

The King's Puzzle: The king will hide 5 identical diamond and 5 identical amethyst rings in 10 boxes. Both types are precious, but diamond rings worth more than amethyst ones. Your task is to guess which box contains which type of ring. Once you make a guess, you don't see if you guessed right or wrong, you have to move on to the next box. If you guess either 0, 5 or 10 rings right, you will be sold as a slave (which is unfortunate). If, however, you guess exactly 8 rings right, since the king's birthday is on the 8th of August, you will be gifted all of the rings that you guessed right. If you guess any other number of rings right, you won't be awarded anything, but you won't be punished either.

Is there something that you can do to maximize your chances of getting mostly diamond rings (I forgot to mention that you're so greedy, amethyst rings just aren't good enough), or even any rings at all, but also minimize the chances of you being sold as a slave? Justify your answer.

Optional challenge 1: Say now that the king retains this 0-5-10 = punishment, 8 = reward rule, but changes the number of rings? For example, what if he gives you instead 10 diamond and 10 amethyst rings to guess? Can you generalize the rule?

Optional challenge 2: Are there numbers of rings to guess would you chose not to waste your precious time (which you could spend wandering around with no purpose) with, if the punishment-reward rule remains unchanged? Is there a number of rings that would maximize your chances of getting precisely 8 rings right?

Happy solving! If you enjoyed this puzzle, I will try to come up with a "sequel", and also try not to jump the shark with it, like so many movies these days :smile:
 
Last edited:
  • Like
Likes mfb and micromass
Mathematics news on Phys.org
  • #2
Do we have to guess all at once, or do we see the ring in the first guessed box before we make the next guess?
 
  • Like
Likes Andreas C
  • #3
mfb said:
Do we have to guess all at once, or do we see the ring in the first guessed box before we make the next guess?

No, you have to guess all at once. I should specify it in the original post, thanks for pointing this out! It would still make an interesting riddle though.
 
  • #4
Okay, then I can get 0% risk of getting sold as slave, and 1/12 probability to get 5 diamond and 3 amethyst rings. Not sure if the probability is ideal, but I think it is, and the result is ideal for sure because you cannot get more than that.

Guess 7 boxes as "diamonds" and 3 as "amethyst".

You get at least two diamond guesses wrong and at least two right, so 0 and 10 correct guesses are out. There is also no way to get exactly 5 guesses right, because every wrong amethyst guess also gives a wrong diamond guess, which means you are always right for an even number of guesses. You are never sold as slave.

You get exactly 8 guesses right if the three amethyst guesses are right, for a probability of 5/10*4/9*3/8=1/12.

Edit: How does optional challenge 1 work? Does the king pick 10 out of the (e.g.) 20 rings at random? Optional challenge 2 also depends on that question.
 
  • #5
mfb said:
Okay, then I can get 0% risk of getting sold as slave, and 1/12 probability to get 5 diamond and 3 amethyst rings. Not sure if the probability is ideal, but I think it is, and the result is ideal for sure because you cannot get more than that.

Guess 7 boxes as "diamonds" and 3 as "amethyst".

You get at least two diamond guesses wrong and at least two right, so 0 and 10 correct guesses are out. There is also no way to get exactly 5 guesses right, because every wrong amethyst guess also gives a wrong diamond guess, which means you are always right for an even number of guesses. You are never sold as slave.

You get exactly 8 guesses right if the three amethyst guesses are right, for a probability of 5/10*4/9*3/8=1/12.

Spot on! There is a way to increase your chances though (not going to say what), but you risk being sold as a slave. Now only the optional challenges remain unsolved. Optional challenge 2 should be easy enough, Optional challenge 1 is a little bit trickier.
 
  • #6
You can increase your chance to win to 25/252 or nearly 10%, but with a 1/126 risk to get sold as slave, sure.
Guess diamond 5 times and amethyst 5 times

For the optional challenges, see my edit in the previous post: how are they defined?
 
  • #7
mfb said:
You can increase your chance to win to 25/252 or nearly 10%, but with a 1/126 risk to get sold as slave, sure.
Guess diamond 5 times and amethyst 5 times

For the optional challenges, see my edit in the previous post: how are they defined?

Optional challenge 1: Instead of showing you 5 boxes containing rings of each type, he shows you 10 of each type (a total of 20). You have to make a guess for each one of them, just like in the case of 5 boxes of each. The second part of optional challenge 2 should be very easy to solve when defined like that, the first is just a little bit trickier, but generalizing the rule in optional challenge 1 should be just a bit harder, depending on your knowledge.
 
  • #8
Ah, more boxes then. Well, you can evaluate the hypergeometric distribution for all those cases, and see which one gives the best combination of "avoid 0 or 10 but aim for 8". Things quickly get dangerous as the difference between 8 and 10 becomes less significant.
 
  • #9
mfb said:
Ah, more boxes then. Well, you can evaluate the hypergeometric distribution for all those cases, and see which one gives the best combination of "avoid 0 or 10 but aim for 8". Things quickly get dangerous as the difference between 8 and 10 becomes less significant.

Indeed they do. In fact, after a certain number (not too hard to figure out), it's impossible to have any chances of getting 8 rings right without also having chances of getting 10 rings right. And then there's an optimal number (even easier to figure out) where you have the maximum chances of getting them right.
 
  • #10
Ok, it looks like so far, the main question has been answered, the optional challenges remain unanswered. Anyway, I have come up with the next puzzle (hint: it involves dices), and will probably be posting it tomorrow (I haven't yet solved it in its entirety, because some of the questions are a bit... too hard for me...)!
 

Related to How many rings can you guess? -Riddle

1. How does the riddle work?

The riddle works by asking the person to guess how many rings there are without providing any specific information about the rings, leading them to rely on their own assumptions and logic.

2. Is there a specific number of rings that the riddle is looking for?

No, the riddle does not have a specific number of rings in mind. It is open-ended and can have multiple correct answers depending on the person's interpretation.

3. Can I ask for hints or clues?

No, the riddle does not have any hints or clues. It is meant to be solved using only the information provided.

4. Is there a scientific or mathematical solution to the riddle?

No, the riddle does not have a specific scientific or mathematical solution. It relies on critical thinking and logic.

5. Are there any limitations or rules to the answer?

No, there are no limitations or rules to the answer. As long as the answer is logical and makes sense, it can be considered correct.

Similar threads

  • General Math
Replies
2
Views
2K
Replies
66
Views
4K
Replies
1
Views
2K
  • General Discussion
Replies
4
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
2K
Replies
23
Views
14K
  • General Math
4
Replies
125
Views
17K
Replies
1
Views
1K
Replies
3
Views
2K
  • General Math
Replies
4
Views
2K
Back
Top