Puzzle time - the ant lottery
-
@klaus said in Puzzle time - the ant lottery:
I wonder what the significance of the “integer” tag (as opposed to natural number) is.
In my solution it doesn’t matter what you use to label individual ants. Could be letters and numbers, whatever.
-
:::
The simple case for one ant is that the first ant has a 100% chance of winning. The case for two ants is that you roll a 50/50 shot for whether that new ant wins, and if not the current winner wins. This leaves a 50/50 shot for each ant. Third ant, you roll a 1/3 shot for it to win, if not then the current winner stands. Those two first ants each had a .5 chance to be the current winner, and now that the third ant might be the winner, they have a .5 * 2/3 chance, or 1/3, just like the third ant. Fourth ant comes along, it is given a 1/4 chance of winning, and if it doesn't, the current winner stands, who had a 1/3 * 3/4 chance of being winner, or 1/4. And so on...
:::
-
@jon-nyc said in Puzzle time - the ant lottery:
Yep.
:::
I worked backwards from the last ant. She needs a 1/n chance. Second to last would have had her 1/(n-1) chance followed by a (n-1)/n chance. From there I generalized to ant k and saw that the pattern holds.
:::
When the puzzle author found themselves with a trivially solvable problem scenario and had to add that kludge about not being able to record all the ant IDs, that's when they should have re-thought the whole scenario and found a better one that didn't have a trivial solution.
-
@klaus said in Puzzle time - the ant lottery:
Horace's solution makes sense, but I also think the description is confusing and overly complicated.
How about the objective is to take a picture of the winning ant, but your digital camera has storage for only one picture, which can be overwritten any number of times with a new photo.
-
@klaus said in Puzzle time - the ant lottery:
Nice idea!
Thanks Klaus. Another problem with not being able to record the ID of every ant is that the solution assumes a non zero chance of having to record every ant, as the interim lottery winner.