3
u/OwnPressure3616 3d ago
Note that if there are 3n people the first one survives(after one “round” it will just simplify to the 3n-1 case) 1001-729=272, after 136 turns 272 people will have been eliminated and it will be the same as 729 case, first person after all those kicked out will be the one to survive, 136*3+1= 409
2
u/Odd-Collection-5429 2d ago
The easiest way to do this is to use linear transforms to make the numbers easier.
For example, subtract 1 from every player’s number at the beginning. Now the only survivors are multiples of 3 through 999. 999 eliminates 1000 and 0, making the next survivor #3. So as of right now, the current survivors are all multiples of 3 from 3 through 999.
Divide by 3 and subtract 1. Now positions 0-332 are all still alive. Only multiples of 3 survive. 330 eliminates 331 and 332 so there is no carryover. Multiples of 3 from 0-330 survive.
Divide by 3. 0-110 are all still alive. Only multiples of 3 survive. 108 eliminates 109 and 110 so no carryover. Multiples of 3 from 0 to 108 survive.
Divide by 3. 0-36 still alive. Only multiples of 3 survive. 36 eliminates 0 and 3. Only multiples of 3 from 6-36 survive.
Divide by 3 and then subtract 2. 0-10 are still alive. Only multiples of 3 survive. 9 eliminates 10 and 0. 3 survives and eliminates 6 and 9, becoming the last survivor.
Now undo the linear transforms. 3+2=5. 5x3x3x3= 135. 135+1=136. 136x3=408. 408+1=409.
Position 409 survives.
1
1
u/lolcrunchy 3d ago
>!First round: 1 mod 3 survives. 1000 eliminates 1001 and 1, making the next person 4.
Second round: 4 mod 9 survives. 994 eliminates 997 and 1000. The next person is 4.
Third round: 4 mod 27 survives. 976 eliminates 985 and 994. The next person is 4.
Fourth round: 4 mod 81 survives. 976 eliminates 4 and 85. The next person is 166.
Fifth round: 166 mod 243 survives. 895 eliminates 976 and 166. The next person is 409.
Last round: 409 mod 729 survives. 409 eliminates 652 and 895. 409 is last one standing.!<
1
1
u/Smash_Factor 3d ago edited 3d ago
EDIT: I guess this answer is wrong. I submitted correct answer under u/lolcrunchy who got it right.
So hard!
Player #1 eliminates #2 and #3, but he himself does not get eliminated. He survives for the next round. Using that logic I went over to excel and found the answer without using math. It took me about 30 minutes.
The answer is player #364
Mathematically, I'm not sure exactly why or how we can arrive at that number.
Here is what it looks like in excel.
With player #1 starting things off, players #1000 and #1001 survive at the end of the round because #997 eliminates #998 and #999.
So then the next round is started off by player #1000 who eliminates #1001 and #1. At the end of his round, player #994 is the last to survive. #994 therefore starts off the next round.
When #994's round is done, #985 is the last to survive. He starts the next round.
And it just continues like that until we get to survivor #850 who starts a round. The survivor at the end of his round is #364, who then starts a round and eliminates #850 and wins.
1
u/Ancient_Eggplant_123 3d ago edited 3d ago
Another way to look at this is each time you finish a cycle depending on the mod you add (3-(remaining people in previous cycle mod3))*3n to the beginning of the of the previous cycle where n is the previous cycle number and you repeat this till you exhaust the remaining people.
Sorry if the answer is a little complicated

4
u/x5163x 3d ago
Per AI, the 408th personsurvives. Its proof cannot fit it in the margins of this post and I will come up with a proof later.