The official answer is very similar to IGW's (congrats,
@i'vegotwinners ), although it's a little more elegant:
You now have 12 gold coins, but again, one has been doctored. It’s known to have a different weight than the others, but it could be heavier or lighter. How can you determine the doctored coin, and whether it’s heavier or lighter, with only three weighings?
The goal is to tease out as much information as you can from a single weighing, so you can get down to three candidates that you can figure out in a single weighing, like we did in the Express.
Start by putting four coins on each side of the scale. Assume that your first weighing balances. You now have four impure candidates (the four coins you did not weigh) and eight control coins (the eight you did weigh). Weigh three of the candidates against three of the controls, setting aside one candidate. If your second weighing balances, you’re almost done: The culprit is the candidate you left aside and you can use your third weighing to test whether it’s heavier or lighter than the pure coins. If your second weighing tips, you know whether the culprit is heavier or lighter based on how it tips, and you know it is one of three candidate coins. Your third weighing is the same as in the Riddler Express: Weigh one candidate against one other. If they balance, the one you left aside is the culprit. If it tips, the culprit is the one causing the tipping, and you already know if it’s heavier or lighter.
But what if your first weighing tips? Things get a little trickier here, as the puzzle’s submitter, Josh Kaplan, explains. You now have four heavy candidate coins, four light candidate coins, and four control coins. Keep good track of these! For your second weighing, place the coins like so: HHLL vs. HLCC. If this second weighing balances, you are left with one heavy candidate coin and one light candidate coin. Use your third weighing to compare a heavy candidate with a control coin — if it tips, you found the culprit heavy coin, and if it balances, the culprit is a light coin you set aside. If this second weighing tips, it’ll tip either left-side up or right-side up. If it tips left-side up, you are left with only the two light candidates on the left and the one heavy candidate on the right. For the third weighing, pit the two light candidates against each other, and you’re done. If it tips right-side up, you are left with only the two heavy candidates on the left and the one light candidate on the right. For the third weighing, pit the two heavy candidates each other, and you’re done.