I'm making this here instead of the Mathy subforum because I don't think most people have figured out that it was unlocked. Also, this is a pretty interesting problem that a wider audience may enjoy. If it's deemed appropriate, feel free to move it to the lands of math!
The basic question I'm asking is, "At which point should we choose to examine the chest for a random hint, and at which point should begin to just guess numbers?"
Spoiler: show
For those who don't know, the casket system works like this:
- A brown casket drops, you examine it and it tells you how many attempts you have to figure out its key value between 10 and 99. (3~6, typically 5 or 6 for high level brown caskets from Grounds of Valor)
- You can either guess a number and be told if the key value is Higher or Lower than your guess (~50% reduction in possibilities per guess).
- -or- you can "Examine" the chest and obtain one of the hints below.
After doing Brown casket hunting and Grounds of Valor for a few nights, I think there are the following options for Casket hints, and I've combined options that I think are exclusive to each other, meaning that "Examining" the chest multiple times will only get you one of each category:
1) Range of ~14-30 numbers. "The number is between 25 and 40." I think this becomes "Above XX" or "Below XX" if one of the limits exceeds 90 or 10 respectively.
2) First digit is Odd/Even.
3) Last digit is Odd/Even.
4) First digit is {set of 3 consecutive numbers}.
5) Last digit is {set of 3 consecutive numbers}.
6) One of the digits is X.
Minor stats to get you started:
1) If have 90 possible options and 6 guesses, then 2^5/90 = 1:2.8 chance of guessing the chest if we do nothing but optimally guess numbers splitting the distance between our limits.
Example: 54 -> Above -> 77 -> Below -> 65 -> Above -> 71 -> Below -> 68 -> Above -> Guessing from {69,70} on our 6th guess. You end up guessing between 3 more of the time, unless I did my math wrong.
2) At first glance, it seems that "Examining" the chest on your first (and possibly second) attempt is always the best option. The worst cases (2 and 3) still reduce your set of possible values by 50%, which is the best you can hope for from a guess/hint.
3) The last guess, similarly, always has to be a number (in order to potentially open the chest) and the hint that you receive on it doesn't matter because the box disappears if you get it wrong. So the real focus should be on guesses 2~5.
This problem amounts to a trade-off. The "Hints" become increasingly less valuable the more of them you have. For instance, if you've already gotten "The first digit is odd" then getting a "The first digit is 5, 6, and 7" hint only decreases your set of numbers by 1/3.
XI Wiki


