2019 gold coins to shareFilling up 100 coins in 10 bagsThe Devil's BrotherLots of Gold Stacks and a Balance ScaleLots of Gold Golden Coins and a ScaleBest strategy to get all heads/tails from three coinsMike's Coin Duplicator99 chips into more chips V2Maximize gold bars33 stones into gold transmuter99 coins into the sacks

Why does the numerical solution of an ODE move away from an unstable equilibrium?

Does the Distant Spell metamagic apply to the Sword Burst cantrip?

What would Earth look like at night in medieval times?

Why would people reject a god's purely beneficial blessing?

Declining an offer to present a poster instead of a paper

Alphabet completion rate

How should I behave to assure my friends that I am not after their money?

Is adding a new player (or players) a DM decision, or a group decision?

Content builder HTTPS

MH370 blackbox - is it still possible to retrieve data from it?

Why isn’t the tax system continuous rather than bracketed?

"It will become the talk of Paris" - translation into French

How many satellites can stay in a Lagrange point?

Singing along to guitar chords (harmony)

Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?

Impossible darts scores

Calculating the partial sum of a expl3 sequence

Is it okay to visually align the elements in a logo?

Why is Madam Hooch not a professor?

How to get cool night-vision without lame drawbacks?

Does image quality of the lens affect "focus and recompose" technique?

Is there a maximum distance from a planet that a moon can orbit?

Transition from ascending to descending a rope

Can a US President have someone sent to prison?



2019 gold coins to share


Filling up 100 coins in 10 bagsThe Devil's BrotherLots of Gold Stacks and a Balance ScaleLots of Gold Golden Coins and a ScaleBest strategy to get all heads/tails from three coinsMike's Coin Duplicator99 chips into more chips V2Maximize gold bars33 stones into gold transmuter99 coins into the sacks






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








11












$begingroup$


You and your friend has found in total 2019 gold coins in a treasure hunt. Since your friend found the place to dig up, he deserves a bit more gold than you so you offer a game to share the coins to him:



"We have 2019 coins, I will put as many of the coins as I want into a bag and you will see how many coins I place inside. Every time I have finished putting coins into a bag, you will (based on the number of coins in the bag) determine whether or not you want that bag. If you don't want that bag, I will take it. Then I will start putting coins into another bag and so on...



After one of us has 13 bags in total, we will stop playing the game, and the rest of the coins will be given to whomever doesn't have 13 bags."



Your friend likes the game and accept the offer. He thinks this is a fair game to share the coins.




At least how many gold coins can you guarantee to win at the end of this game?




for example: you put 50 coins in the first bag then your friend decides not to take that bag, after that you decide to put 100 coins into another bag, this time your friend decides to take that bag... etc.










share|improve this question











$endgroup$











  • $begingroup$
    I find the wording a bit confusing, could you clarify a couple of things: 1: Do I fill the bags one-by-one or all at once? 2: Do you get to know in advance how many coins I'm going to put into each bag? 3: If more than one bag is getting filled at the same time, which one of them do you get to choose for you or me? 4: How does the "knowing how many golds inside" thing affect the result? You saw every coin that was put into the bags, so you know exactly how many coins there are.
    $endgroup$
    – Bass
    Jun 8 at 14:23











  • $begingroup$
    Why was this downvoted? Seems like a nice puzzle to me...Perhaps it was because the wording was a little confusing? I'll try an edit.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:00







  • 2




    $begingroup$
    @Brandon_J Sorry what does Since your friend found to place to dig up mean?
    $endgroup$
    – Andrew Savinykh
    Jun 9 at 5:27


















11












$begingroup$


You and your friend has found in total 2019 gold coins in a treasure hunt. Since your friend found the place to dig up, he deserves a bit more gold than you so you offer a game to share the coins to him:



"We have 2019 coins, I will put as many of the coins as I want into a bag and you will see how many coins I place inside. Every time I have finished putting coins into a bag, you will (based on the number of coins in the bag) determine whether or not you want that bag. If you don't want that bag, I will take it. Then I will start putting coins into another bag and so on...



After one of us has 13 bags in total, we will stop playing the game, and the rest of the coins will be given to whomever doesn't have 13 bags."



Your friend likes the game and accept the offer. He thinks this is a fair game to share the coins.




At least how many gold coins can you guarantee to win at the end of this game?




for example: you put 50 coins in the first bag then your friend decides not to take that bag, after that you decide to put 100 coins into another bag, this time your friend decides to take that bag... etc.










share|improve this question











$endgroup$











  • $begingroup$
    I find the wording a bit confusing, could you clarify a couple of things: 1: Do I fill the bags one-by-one or all at once? 2: Do you get to know in advance how many coins I'm going to put into each bag? 3: If more than one bag is getting filled at the same time, which one of them do you get to choose for you or me? 4: How does the "knowing how many golds inside" thing affect the result? You saw every coin that was put into the bags, so you know exactly how many coins there are.
    $endgroup$
    – Bass
    Jun 8 at 14:23











  • $begingroup$
    Why was this downvoted? Seems like a nice puzzle to me...Perhaps it was because the wording was a little confusing? I'll try an edit.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:00







  • 2




    $begingroup$
    @Brandon_J Sorry what does Since your friend found to place to dig up mean?
    $endgroup$
    – Andrew Savinykh
    Jun 9 at 5:27














11












11








11





$begingroup$


You and your friend has found in total 2019 gold coins in a treasure hunt. Since your friend found the place to dig up, he deserves a bit more gold than you so you offer a game to share the coins to him:



"We have 2019 coins, I will put as many of the coins as I want into a bag and you will see how many coins I place inside. Every time I have finished putting coins into a bag, you will (based on the number of coins in the bag) determine whether or not you want that bag. If you don't want that bag, I will take it. Then I will start putting coins into another bag and so on...



After one of us has 13 bags in total, we will stop playing the game, and the rest of the coins will be given to whomever doesn't have 13 bags."



Your friend likes the game and accept the offer. He thinks this is a fair game to share the coins.




At least how many gold coins can you guarantee to win at the end of this game?




for example: you put 50 coins in the first bag then your friend decides not to take that bag, after that you decide to put 100 coins into another bag, this time your friend decides to take that bag... etc.










share|improve this question











$endgroup$




You and your friend has found in total 2019 gold coins in a treasure hunt. Since your friend found the place to dig up, he deserves a bit more gold than you so you offer a game to share the coins to him:



"We have 2019 coins, I will put as many of the coins as I want into a bag and you will see how many coins I place inside. Every time I have finished putting coins into a bag, you will (based on the number of coins in the bag) determine whether or not you want that bag. If you don't want that bag, I will take it. Then I will start putting coins into another bag and so on...



After one of us has 13 bags in total, we will stop playing the game, and the rest of the coins will be given to whomever doesn't have 13 bags."



Your friend likes the game and accept the offer. He thinks this is a fair game to share the coins.




At least how many gold coins can you guarantee to win at the end of this game?




for example: you put 50 coins in the first bag then your friend decides not to take that bag, after that you decide to put 100 coins into another bag, this time your friend decides to take that bag... etc.







mathematics strategy optimization game-theory






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 9 at 13:02









Brandon_J

4,9355 silver badges54 bronze badges




4,9355 silver badges54 bronze badges










asked Jun 8 at 13:30









OrayOray

16.9k4 gold badges39 silver badges171 bronze badges




16.9k4 gold badges39 silver badges171 bronze badges











  • $begingroup$
    I find the wording a bit confusing, could you clarify a couple of things: 1: Do I fill the bags one-by-one or all at once? 2: Do you get to know in advance how many coins I'm going to put into each bag? 3: If more than one bag is getting filled at the same time, which one of them do you get to choose for you or me? 4: How does the "knowing how many golds inside" thing affect the result? You saw every coin that was put into the bags, so you know exactly how many coins there are.
    $endgroup$
    – Bass
    Jun 8 at 14:23











  • $begingroup$
    Why was this downvoted? Seems like a nice puzzle to me...Perhaps it was because the wording was a little confusing? I'll try an edit.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:00







  • 2




    $begingroup$
    @Brandon_J Sorry what does Since your friend found to place to dig up mean?
    $endgroup$
    – Andrew Savinykh
    Jun 9 at 5:27

















  • $begingroup$
    I find the wording a bit confusing, could you clarify a couple of things: 1: Do I fill the bags one-by-one or all at once? 2: Do you get to know in advance how many coins I'm going to put into each bag? 3: If more than one bag is getting filled at the same time, which one of them do you get to choose for you or me? 4: How does the "knowing how many golds inside" thing affect the result? You saw every coin that was put into the bags, so you know exactly how many coins there are.
    $endgroup$
    – Bass
    Jun 8 at 14:23











  • $begingroup$
    Why was this downvoted? Seems like a nice puzzle to me...Perhaps it was because the wording was a little confusing? I'll try an edit.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:00







  • 2




    $begingroup$
    @Brandon_J Sorry what does Since your friend found to place to dig up mean?
    $endgroup$
    – Andrew Savinykh
    Jun 9 at 5:27
















$begingroup$
I find the wording a bit confusing, could you clarify a couple of things: 1: Do I fill the bags one-by-one or all at once? 2: Do you get to know in advance how many coins I'm going to put into each bag? 3: If more than one bag is getting filled at the same time, which one of them do you get to choose for you or me? 4: How does the "knowing how many golds inside" thing affect the result? You saw every coin that was put into the bags, so you know exactly how many coins there are.
$endgroup$
– Bass
Jun 8 at 14:23





$begingroup$
I find the wording a bit confusing, could you clarify a couple of things: 1: Do I fill the bags one-by-one or all at once? 2: Do you get to know in advance how many coins I'm going to put into each bag? 3: If more than one bag is getting filled at the same time, which one of them do you get to choose for you or me? 4: How does the "knowing how many golds inside" thing affect the result? You saw every coin that was put into the bags, so you know exactly how many coins there are.
$endgroup$
– Bass
Jun 8 at 14:23













$begingroup$
Why was this downvoted? Seems like a nice puzzle to me...Perhaps it was because the wording was a little confusing? I'll try an edit.
$endgroup$
– Brandon_J
Jun 8 at 15:00





$begingroup$
Why was this downvoted? Seems like a nice puzzle to me...Perhaps it was because the wording was a little confusing? I'll try an edit.
$endgroup$
– Brandon_J
Jun 8 at 15:00





2




2




$begingroup$
@Brandon_J Sorry what does Since your friend found to place to dig up mean?
$endgroup$
– Andrew Savinykh
Jun 9 at 5:27





$begingroup$
@Brandon_J Sorry what does Since your friend found to place to dig up mean?
$endgroup$
– Andrew Savinykh
Jun 9 at 5:27











2 Answers
2






active

oldest

votes


















12












$begingroup$

I can ensure that I receive at least




1005 coins.






To get this amount of coins, I could apply the following strategy:




I put 78 coins in each bag. Now if I get 13 bags earlier than my friend, then I have $13 cdot 78 = 1014$ coins,. If my friend however takes 13 bags, then he has 1014 coins, and I get the 1005 remaining coins.




My friend can also ensure that I do not get more coins than this in the following way:




He can take any bag with at least 78 coins, and return any bag with at most 77 coins. Now if I get 13 bags earlier than him, this means that I get at most $13 cdot 77 = 1001$ coins. But if he get 13 bags earlier than me, he gets at least $13 cdot 78 = 1014$ coins, and I get at most $2019-1014 = 1005$ coins.






So it appears that I should have chosen a fairer game to distribute the coins...






share|improve this answer









$endgroup$












  • $begingroup$
    Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
    $endgroup$
    – Brandon_J
    Jun 8 at 14:48










  • $begingroup$
    @Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
    $endgroup$
    – Reinier
    Jun 8 at 15:01










  • $begingroup$
    Ah - that explains why you got there faster.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:01










  • $begingroup$
    You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
    $endgroup$
    – Reinier
    Jun 8 at 15:03


















5












$begingroup$

A note: @Reinier, besides having an awesome palindromic username, also solved this puzzle first (my solve was still independent). I like my explanation better (but of course I'm biased), but if you upvote my answer, don't forget to upvote Reinier's as well.




So, it's somewhat apparent that we need to find




the optimal strategy (for us) in the worst-case scenario (our friend tries to get as many coins as he can).




Here's my basic strategy:




The maximum number of bags that may be filled is 25. This is because the game ends when one person gains 13 bags. Consequently, if we divide all the coins equally among the bags, then the worst we can get is 12/25 of the loot. Of course, we can't quite divide them equally, so we will fill 6 of them with 80 coins, and 19 of them with 81 coins.




When we present each bag to our friend,




The best-case scenario for him/her is to gather 13 of the 19 81-coin bags. This leaves us with $81 * 6 + 80 *6 = 966$ coins to his $31 * 81 = 1,053$.




Essentially, the friend's strategy is to




keep any bag with more than 80 coins, and give us any bag with 80 coins or less.




There is, of course, a slight work-around that can get us a liiiitle bit more.



If we present a continual stream of




80-coin bags, then the friend's best bet is to give us the first 12 bags, but then give himself the rest of the bags. This improves things a little bit - our friend only gets $1,040$ coins, and we get $979$.




What if we present a continual stream of




79-coin bags? The best our friend can get is $1,027$, and we get $998$ That's even better!




What if we present a continual stream of




78-coin bags? The best our friend can get is $1,014$, and we get $1,005$ That's even better!




What if we present a continual stream of




77-coin bags? The best our friend can get is $1,024$, and this is if he gives us all 13 of the 77-coin bags. Previously, he ended up giving himself all of the bags, so it looks like the highest point we can reach is with 78-coin bags.




So, the altered strategy of our friend is to




keep any bag with more than 77 coins. $13*78$ coins gives him a majority of the coins, while $13*77$ coins gives him a minority of the coins.




We can infer that we can do no better than




78-coin bags




because




Every bag must be above, below, or at 78 coins. If we present to our friend bags with less than 78 coins, he gives them to us, and we're playing a non-optimal strategy. If we present him with more, he goes ahead and takes it, increasing his potential winnings.







share|improve this answer











$endgroup$








  • 1




    $begingroup$
    I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
    $endgroup$
    – JS1
    Jun 10 at 21:58














Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f84823%2f2019-gold-coins-to-share%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









12












$begingroup$

I can ensure that I receive at least




1005 coins.






To get this amount of coins, I could apply the following strategy:




I put 78 coins in each bag. Now if I get 13 bags earlier than my friend, then I have $13 cdot 78 = 1014$ coins,. If my friend however takes 13 bags, then he has 1014 coins, and I get the 1005 remaining coins.




My friend can also ensure that I do not get more coins than this in the following way:




He can take any bag with at least 78 coins, and return any bag with at most 77 coins. Now if I get 13 bags earlier than him, this means that I get at most $13 cdot 77 = 1001$ coins. But if he get 13 bags earlier than me, he gets at least $13 cdot 78 = 1014$ coins, and I get at most $2019-1014 = 1005$ coins.






So it appears that I should have chosen a fairer game to distribute the coins...






share|improve this answer









$endgroup$












  • $begingroup$
    Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
    $endgroup$
    – Brandon_J
    Jun 8 at 14:48










  • $begingroup$
    @Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
    $endgroup$
    – Reinier
    Jun 8 at 15:01










  • $begingroup$
    Ah - that explains why you got there faster.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:01










  • $begingroup$
    You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
    $endgroup$
    – Reinier
    Jun 8 at 15:03















12












$begingroup$

I can ensure that I receive at least




1005 coins.






To get this amount of coins, I could apply the following strategy:




I put 78 coins in each bag. Now if I get 13 bags earlier than my friend, then I have $13 cdot 78 = 1014$ coins,. If my friend however takes 13 bags, then he has 1014 coins, and I get the 1005 remaining coins.




My friend can also ensure that I do not get more coins than this in the following way:




He can take any bag with at least 78 coins, and return any bag with at most 77 coins. Now if I get 13 bags earlier than him, this means that I get at most $13 cdot 77 = 1001$ coins. But if he get 13 bags earlier than me, he gets at least $13 cdot 78 = 1014$ coins, and I get at most $2019-1014 = 1005$ coins.






So it appears that I should have chosen a fairer game to distribute the coins...






share|improve this answer









$endgroup$












  • $begingroup$
    Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
    $endgroup$
    – Brandon_J
    Jun 8 at 14:48










  • $begingroup$
    @Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
    $endgroup$
    – Reinier
    Jun 8 at 15:01










  • $begingroup$
    Ah - that explains why you got there faster.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:01










  • $begingroup$
    You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
    $endgroup$
    – Reinier
    Jun 8 at 15:03













12












12








12





$begingroup$

I can ensure that I receive at least




1005 coins.






To get this amount of coins, I could apply the following strategy:




I put 78 coins in each bag. Now if I get 13 bags earlier than my friend, then I have $13 cdot 78 = 1014$ coins,. If my friend however takes 13 bags, then he has 1014 coins, and I get the 1005 remaining coins.




My friend can also ensure that I do not get more coins than this in the following way:




He can take any bag with at least 78 coins, and return any bag with at most 77 coins. Now if I get 13 bags earlier than him, this means that I get at most $13 cdot 77 = 1001$ coins. But if he get 13 bags earlier than me, he gets at least $13 cdot 78 = 1014$ coins, and I get at most $2019-1014 = 1005$ coins.






So it appears that I should have chosen a fairer game to distribute the coins...






share|improve this answer









$endgroup$



I can ensure that I receive at least




1005 coins.






To get this amount of coins, I could apply the following strategy:




I put 78 coins in each bag. Now if I get 13 bags earlier than my friend, then I have $13 cdot 78 = 1014$ coins,. If my friend however takes 13 bags, then he has 1014 coins, and I get the 1005 remaining coins.




My friend can also ensure that I do not get more coins than this in the following way:




He can take any bag with at least 78 coins, and return any bag with at most 77 coins. Now if I get 13 bags earlier than him, this means that I get at most $13 cdot 77 = 1001$ coins. But if he get 13 bags earlier than me, he gets at least $13 cdot 78 = 1014$ coins, and I get at most $2019-1014 = 1005$ coins.






So it appears that I should have chosen a fairer game to distribute the coins...







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 8 at 14:25









ReinierReinier

2,6459 silver badges20 bronze badges




2,6459 silver badges20 bronze badges











  • $begingroup$
    Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
    $endgroup$
    – Brandon_J
    Jun 8 at 14:48










  • $begingroup$
    @Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
    $endgroup$
    – Reinier
    Jun 8 at 15:01










  • $begingroup$
    Ah - that explains why you got there faster.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:01










  • $begingroup$
    You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
    $endgroup$
    – Reinier
    Jun 8 at 15:03
















  • $begingroup$
    Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
    $endgroup$
    – Brandon_J
    Jun 8 at 14:48










  • $begingroup$
    @Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
    $endgroup$
    – Reinier
    Jun 8 at 15:01










  • $begingroup$
    Ah - that explains why you got there faster.
    $endgroup$
    – Brandon_J
    Jun 8 at 15:01










  • $begingroup$
    You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
    $endgroup$
    – Reinier
    Jun 8 at 15:03















$begingroup$
Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
$endgroup$
– Brandon_J
Jun 8 at 14:48




$begingroup$
Looks like we arrived at the same conclusion, but in slightly different ways. You did get there first, of course, so congrats!
$endgroup$
– Brandon_J
Jun 8 at 14:48












$begingroup$
@Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
$endgroup$
– Reinier
Jun 8 at 15:01




$begingroup$
@Brandon_J I found the threshold in the friends strategy by dividing by 26 instead of 25, since he wants to get at least half of the coins when he takes 13 of the bags.
$endgroup$
– Reinier
Jun 8 at 15:01












$begingroup$
Ah - that explains why you got there faster.
$endgroup$
– Brandon_J
Jun 8 at 15:01




$begingroup$
Ah - that explains why you got there faster.
$endgroup$
– Brandon_J
Jun 8 at 15:01












$begingroup$
You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
$endgroup$
– Reinier
Jun 8 at 15:03




$begingroup$
You can actually generalize this approach to work for $n$ coins and stopping at $k$ bags: then we put $fracn2k$ coins rounded to the nearest integer in each bag, and our friend only takes bags with at least $fracn2k$ coins.
$endgroup$
– Reinier
Jun 8 at 15:03













5












$begingroup$

A note: @Reinier, besides having an awesome palindromic username, also solved this puzzle first (my solve was still independent). I like my explanation better (but of course I'm biased), but if you upvote my answer, don't forget to upvote Reinier's as well.




So, it's somewhat apparent that we need to find




the optimal strategy (for us) in the worst-case scenario (our friend tries to get as many coins as he can).




Here's my basic strategy:




The maximum number of bags that may be filled is 25. This is because the game ends when one person gains 13 bags. Consequently, if we divide all the coins equally among the bags, then the worst we can get is 12/25 of the loot. Of course, we can't quite divide them equally, so we will fill 6 of them with 80 coins, and 19 of them with 81 coins.




When we present each bag to our friend,




The best-case scenario for him/her is to gather 13 of the 19 81-coin bags. This leaves us with $81 * 6 + 80 *6 = 966$ coins to his $31 * 81 = 1,053$.




Essentially, the friend's strategy is to




keep any bag with more than 80 coins, and give us any bag with 80 coins or less.




There is, of course, a slight work-around that can get us a liiiitle bit more.



If we present a continual stream of




80-coin bags, then the friend's best bet is to give us the first 12 bags, but then give himself the rest of the bags. This improves things a little bit - our friend only gets $1,040$ coins, and we get $979$.




What if we present a continual stream of




79-coin bags? The best our friend can get is $1,027$, and we get $998$ That's even better!




What if we present a continual stream of




78-coin bags? The best our friend can get is $1,014$, and we get $1,005$ That's even better!




What if we present a continual stream of




77-coin bags? The best our friend can get is $1,024$, and this is if he gives us all 13 of the 77-coin bags. Previously, he ended up giving himself all of the bags, so it looks like the highest point we can reach is with 78-coin bags.




So, the altered strategy of our friend is to




keep any bag with more than 77 coins. $13*78$ coins gives him a majority of the coins, while $13*77$ coins gives him a minority of the coins.




We can infer that we can do no better than




78-coin bags




because




Every bag must be above, below, or at 78 coins. If we present to our friend bags with less than 78 coins, he gives them to us, and we're playing a non-optimal strategy. If we present him with more, he goes ahead and takes it, increasing his potential winnings.







share|improve this answer











$endgroup$








  • 1




    $begingroup$
    I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
    $endgroup$
    – JS1
    Jun 10 at 21:58
















5












$begingroup$

A note: @Reinier, besides having an awesome palindromic username, also solved this puzzle first (my solve was still independent). I like my explanation better (but of course I'm biased), but if you upvote my answer, don't forget to upvote Reinier's as well.




So, it's somewhat apparent that we need to find




the optimal strategy (for us) in the worst-case scenario (our friend tries to get as many coins as he can).




Here's my basic strategy:




The maximum number of bags that may be filled is 25. This is because the game ends when one person gains 13 bags. Consequently, if we divide all the coins equally among the bags, then the worst we can get is 12/25 of the loot. Of course, we can't quite divide them equally, so we will fill 6 of them with 80 coins, and 19 of them with 81 coins.




When we present each bag to our friend,




The best-case scenario for him/her is to gather 13 of the 19 81-coin bags. This leaves us with $81 * 6 + 80 *6 = 966$ coins to his $31 * 81 = 1,053$.




Essentially, the friend's strategy is to




keep any bag with more than 80 coins, and give us any bag with 80 coins or less.




There is, of course, a slight work-around that can get us a liiiitle bit more.



If we present a continual stream of




80-coin bags, then the friend's best bet is to give us the first 12 bags, but then give himself the rest of the bags. This improves things a little bit - our friend only gets $1,040$ coins, and we get $979$.




What if we present a continual stream of




79-coin bags? The best our friend can get is $1,027$, and we get $998$ That's even better!




What if we present a continual stream of




78-coin bags? The best our friend can get is $1,014$, and we get $1,005$ That's even better!




What if we present a continual stream of




77-coin bags? The best our friend can get is $1,024$, and this is if he gives us all 13 of the 77-coin bags. Previously, he ended up giving himself all of the bags, so it looks like the highest point we can reach is with 78-coin bags.




So, the altered strategy of our friend is to




keep any bag with more than 77 coins. $13*78$ coins gives him a majority of the coins, while $13*77$ coins gives him a minority of the coins.




We can infer that we can do no better than




78-coin bags




because




Every bag must be above, below, or at 78 coins. If we present to our friend bags with less than 78 coins, he gives them to us, and we're playing a non-optimal strategy. If we present him with more, he goes ahead and takes it, increasing his potential winnings.







share|improve this answer











$endgroup$








  • 1




    $begingroup$
    I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
    $endgroup$
    – JS1
    Jun 10 at 21:58














5












5








5





$begingroup$

A note: @Reinier, besides having an awesome palindromic username, also solved this puzzle first (my solve was still independent). I like my explanation better (but of course I'm biased), but if you upvote my answer, don't forget to upvote Reinier's as well.




So, it's somewhat apparent that we need to find




the optimal strategy (for us) in the worst-case scenario (our friend tries to get as many coins as he can).




Here's my basic strategy:




The maximum number of bags that may be filled is 25. This is because the game ends when one person gains 13 bags. Consequently, if we divide all the coins equally among the bags, then the worst we can get is 12/25 of the loot. Of course, we can't quite divide them equally, so we will fill 6 of them with 80 coins, and 19 of them with 81 coins.




When we present each bag to our friend,




The best-case scenario for him/her is to gather 13 of the 19 81-coin bags. This leaves us with $81 * 6 + 80 *6 = 966$ coins to his $31 * 81 = 1,053$.




Essentially, the friend's strategy is to




keep any bag with more than 80 coins, and give us any bag with 80 coins or less.




There is, of course, a slight work-around that can get us a liiiitle bit more.



If we present a continual stream of




80-coin bags, then the friend's best bet is to give us the first 12 bags, but then give himself the rest of the bags. This improves things a little bit - our friend only gets $1,040$ coins, and we get $979$.




What if we present a continual stream of




79-coin bags? The best our friend can get is $1,027$, and we get $998$ That's even better!




What if we present a continual stream of




78-coin bags? The best our friend can get is $1,014$, and we get $1,005$ That's even better!




What if we present a continual stream of




77-coin bags? The best our friend can get is $1,024$, and this is if he gives us all 13 of the 77-coin bags. Previously, he ended up giving himself all of the bags, so it looks like the highest point we can reach is with 78-coin bags.




So, the altered strategy of our friend is to




keep any bag with more than 77 coins. $13*78$ coins gives him a majority of the coins, while $13*77$ coins gives him a minority of the coins.




We can infer that we can do no better than




78-coin bags




because




Every bag must be above, below, or at 78 coins. If we present to our friend bags with less than 78 coins, he gives them to us, and we're playing a non-optimal strategy. If we present him with more, he goes ahead and takes it, increasing his potential winnings.







share|improve this answer











$endgroup$



A note: @Reinier, besides having an awesome palindromic username, also solved this puzzle first (my solve was still independent). I like my explanation better (but of course I'm biased), but if you upvote my answer, don't forget to upvote Reinier's as well.




So, it's somewhat apparent that we need to find




the optimal strategy (for us) in the worst-case scenario (our friend tries to get as many coins as he can).




Here's my basic strategy:




The maximum number of bags that may be filled is 25. This is because the game ends when one person gains 13 bags. Consequently, if we divide all the coins equally among the bags, then the worst we can get is 12/25 of the loot. Of course, we can't quite divide them equally, so we will fill 6 of them with 80 coins, and 19 of them with 81 coins.




When we present each bag to our friend,




The best-case scenario for him/her is to gather 13 of the 19 81-coin bags. This leaves us with $81 * 6 + 80 *6 = 966$ coins to his $31 * 81 = 1,053$.




Essentially, the friend's strategy is to




keep any bag with more than 80 coins, and give us any bag with 80 coins or less.




There is, of course, a slight work-around that can get us a liiiitle bit more.



If we present a continual stream of




80-coin bags, then the friend's best bet is to give us the first 12 bags, but then give himself the rest of the bags. This improves things a little bit - our friend only gets $1,040$ coins, and we get $979$.




What if we present a continual stream of




79-coin bags? The best our friend can get is $1,027$, and we get $998$ That's even better!




What if we present a continual stream of




78-coin bags? The best our friend can get is $1,014$, and we get $1,005$ That's even better!




What if we present a continual stream of




77-coin bags? The best our friend can get is $1,024$, and this is if he gives us all 13 of the 77-coin bags. Previously, he ended up giving himself all of the bags, so it looks like the highest point we can reach is with 78-coin bags.




So, the altered strategy of our friend is to




keep any bag with more than 77 coins. $13*78$ coins gives him a majority of the coins, while $13*77$ coins gives him a minority of the coins.




We can infer that we can do no better than




78-coin bags




because




Every bag must be above, below, or at 78 coins. If we present to our friend bags with less than 78 coins, he gives them to us, and we're playing a non-optimal strategy. If we present him with more, he goes ahead and takes it, increasing his potential winnings.








share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 8 at 14:57

























answered Jun 8 at 14:40









Brandon_JBrandon_J

4,9355 silver badges54 bronze badges




4,9355 silver badges54 bronze badges







  • 1




    $begingroup$
    I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
    $endgroup$
    – JS1
    Jun 10 at 21:58













  • 1




    $begingroup$
    I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
    $endgroup$
    – JS1
    Jun 10 at 21:58








1




1




$begingroup$
I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
$endgroup$
– JS1
Jun 10 at 21:58





$begingroup$
I thought about it like this: There are 2019 coins and if I am the friend who chooses, I want to get at least the majority of the coins which is 1010 coins. 1010 coins in 13 bags is 77.69 coins per bag. So If I am the friend, I want to take bags with at least 78 coins or more. I just noticed that Reiner said the same thing with his n/2k formula.
$endgroup$
– JS1
Jun 10 at 21:58


















draft saved

draft discarded
















































Thanks for contributing an answer to Puzzling Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f84823%2f2019-gold-coins-to-share%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020