jack: (Default)
[personal profile] jack
OK, so before the bizarre misunderstandings in my previous post, I had been going to repost question which I thought was an interesting logic puzzle in its own right.

You have five bags of holding. One contains a fabulous treasure. Two contain liches who can't escape until you open the bag. Two contain nothing.

You have a spell which tells you something about the result of a course of action you propose. (This description is slightly altered from the functionality of the original spell to make the puzzle work, feel free to ask for clarification as needed.)

"Weal" for good result (eg. treasure, no liches)
"Woe" for bad result (eg. 1+ lich, no treasure)
"Weal and Woe" for a good and bad result (eg. treasure and also lich)
"Nothing" for a result of no particular good or bad (eg. open no bags or only open empty bags)

Puzzle

What's the minimum number of castings of the spell needed? (I think 3 is easy and 1 is impossible, so basically, can you do 2?)

Clarifications

The course of action has to be 30 minutes or less.

We don't have specifics on how you define the course of action, ask if it needs to be more explicit.

Assume you can include other results in the plan if they help, eg. "if this bad contains nothing, I stab myself in the leg", without necessarily needing to follow through. (This is slightly more generous than the original spell.)

Assume you don't include the castings of further divination spells within the scope of the course of action considered by casting the first spell.

Follow-ups (may be unnecessary depending on the best solution to the original)

If you only have one casting, what's the greatest chance you can give yourself of finding the treasure whilst finding no liches.

The original restrictions of the spell say that if you cast it four times in a day (ignored for the basic puzzle), the second, third and fourth times have a 25%, 50% and 75% chance of giving a random answer. What's the highest chance you can give yourself of finding the treasure and no liches in up to four castings with those failure chances.

Previously we assumed you couldn't create a paradox. If you *can*, and causing a paradox causes the spell to fail to give an answer in a way distinct from "nothing", can you reduce the number of castings?

If you *can* ask about a course of action including further divination spells, does that help?

Does the answer generalise to a larger number of bags (assuming 1 treasure, N liches and N nothing)

ETA: Fix formatting.
From:
Anonymous (will be screened)
OpenID (will be screened if not validated)
Identity URL: 
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Links will be displayed as unclickable URLs to help prevent spam.