5
u/dontich 11d ago
Can we just weigh the other 100? If delta is even then counterfeit, if odd then genuine?
2
u/runkeby 11d ago edited 11d ago
Yes.
Reasoning: we don't know how much a coin weighs in absolute terms, so we don't get useful info unless there is the same number of coins on either side of the scale.
We have to consider all coins left, so it's going to be 50 on each side.
We can tell that if it just happened to be 50 genuine on one side and 50 fake on the other, the balance would read 50 g.
We just need to notice that swapping two coins from either side necessarily changes the amount by two, and any possible repartition can be reached by swapping a true coin on one side with a false one on the other, and that thus, the reading will always be even if 50 are genuine and 50 are fake.
That means the number is always even if you have a real coin, and odd otherwise.
1
1
u/CursedTurtleKeynote 11d ago
You aren't given the other 100.
1
1
u/tndrthrowy 11d ago
The question is awkwardly worded but it seems the intent is that you get them all.
1
1
0
10d ago
Ok, then I guess you flip the coin and guess based on the result, because otherwise you have nothing to work with.
Or I guess at that point take the 51/101 edge and guess "not counterfeit".
1
u/in_conexo 10d ago
I like the idea, but I thought a balance was something that could measure one thing against another (without telling you what the actual weight it). I suppose if we have something to measure then against, but I can't think of a way to only use one weighing, when I don't know the weight of the any coin.
1
u/comoespossible 11d ago
I’m not sure I understand the wording of the question correctly, but if I do…
Consider the 100 coins that do not include your coin. Partition them into random sets of 50, and weigh the sets of 50 against each other (so your coin is not on the scale).
If your coin is genuine, the difference will be even. If your coin is counterfeit, the difference will be odd.
1
u/AlexFromOmaha 11d ago edited 11d ago
A random set won't do that. If it's 40 counterfeit and 10 real on one side, there will be a difference, and it doesn't tell you anything about your coin. Sorting them will require multiple weighings.
EDIT: Wait, you might be right. You get a numeric difference, and we're assuming the coin is in the 101, so it's not important how different they are, just that we can tell if it's even or odd
1
u/comoespossible 11d ago
If your coin is genuine, the 100 other coins have 50 of each kind, so if k is the number of fake ones in the left half, the difference will be |k-(50-k)|, which is even.
If your coin is counterfeit, there will be 51 real and 49 counterfeit, so if there are k fake ones on the left, the difference will be |k-(49-k)| which is odd.
1
1
u/lemmycaution415 11d ago
there is no balance like this. but if there was, you can put 50 coins on one side and 50 coins on the other side. keep your coin in your hand. if your coin is real the difference will be even but if it is counterfeit the difference will be odd.
1
u/hotmatrixx 11d ago
There ARE balances like this; but not for weight measures.
I use this exact approach to testing a system inside a trading method to tell if it's picking up a 'real' metric or just fluked 'noise'.
1
u/StillShoddy628 11d ago
Semantics, it’s usually called a scale, but devices that can perform this action are easily created.
1
u/National_Ad_1435 10d ago
This is the answer, and it allows us to not consider the actual weight of the coins (could be non integer) as they subtract. Whether the coin is real or fake just determines whether the rest get an additional +/- 1 gram or not.
1
u/kingcong95 11d ago
A real coin weighs x grams. The total weight of the real coins is 51x. Similarly the counterfeits weigh a total of 50x +/- 50.
Take one coin out of the pile. The remaining total weight will be 100x +/- 50 if real (an even number) and 100x +/- 49 if counterfeit (an odd number) regardless of the parity of x. When dividing the rest into 2 piles, the parity of those piles will be the same if their sum is even and different if odd, regardless of how many coins on each side of the scale. Therefore: if the difference is even the last coin is real, if odd then counterfeit.
1
u/Due-Cardiologist-802 11d ago
You put 50 coins in one pan and the other 50 in the other (your coin stays out), as per the problem, you dont know which are counterfit.
If the weight difference in grams is even, your coin in your hand is real, if its odd, its counterfit.
2
u/lolcrunchy 11d ago
I think yours is the right answer!
If your coin is real, the weight of a real coin is c, and the left pan has a real coins and b counterfeit coins, then the difference between them is the following expression, which is always even:
2 * [(a + b - 50)x +/- (b - 25)]
Otherwise it is the following expression which is always odd:
2 * [(a + b - 50)x +/- b] -/+ 49
2
u/bbu3 10d ago
Yes, but tbh you could put there any combination, including 100 vs 0n and anything in between. All you care for is even or odd
1
1
u/3D_mac 10d ago
I don't think that's correct. If you put all 100 on one side, you could get a delta of something like 276.2. Now what?
Since we don't know the weight of a genuine coin, we need to put an even number on each side. Every coin weighs either C, or C+/-1. We need an even number of coins on each side to cancel out all the C terms.
1
u/CursedTurtleKeynote 11d ago
You are only given 1 coin.
2
u/Due-Cardiologist-802 11d ago
The way i read it (the only way its a math puzzle) is: „you are given one random coin [to identify]“. But yeah the wording sucks.
1
u/Smash_Factor 11d ago
This is true.
The problem doesn't state that you can use the remaining 100 coins in any way. We must assume however that we can.
1
u/CursedTurtleKeynote 11d ago
The existence of the sentence that you are only given 1 coin can only have one meaning. There is no other way to interpret it. You would have to assume it was stated in error. What is the meaning of "given"?
1
u/Smash_Factor 11d ago
But since you are only allowed 1 weighing, what exactly are you supposed to do??
Just put the one coin on the scale and figure it out?
You have to use the other coins.
You can see my solution.
1
u/GregerGunnarPersson 11d ago
Your interpretation is correct. But since its a bait question you will not have to argue in absurdum with people who will claim you can only weigh your one coin.
1
u/CursedTurtleKeynote 11d ago
You are supposed to complain until the problem is written to be solvable. It isn't OK for teachers and academics to continue to present ambiguous problems and then judge others on correctness.
1
u/Pat_MacCrotch 10d ago
This is an interview question, not a test question.
They're not just testing if you can answer the riddle.
They're testing whether you can parse instructions written by someone who might accidentally introduce some imperfect language into the workflow occasionally. I.e., most people you will end up working with in an adult setting.
They're testing whether you have enough common sense and social awareness to assume the person gave you a question that actually has an answer, and work backward to determine their intent.
Because nobody wants to manage someone who is so rigidly literal about everything that they can't communicate normally and end up causing more problems than they solve.
1
u/CursedTurtleKeynote 8d ago
Then the first answer is the request to the interviewer whether tha orher coina can be weighed. Simple.
1
u/elcaron 11d ago
The sentence just means that one of the 101 coins is picked and given to you. How would you measure a weight difference if you only have one object?
1
u/Pat_MacCrotch 10d ago
Sometimes you need to read all of the sentences in the instructions in order to understand the intent of the first one. This is one of those times.
1
u/Moonwhisper318 10d ago
It actually says you are "given" one coin to determine it's authenticity, it does not say you don't have access to the rest i.e. how would you go about determining if any one random coin is legit or not, it does not specify only using that coin. (note you have added the word only in your above quote)
1
u/Pat_MacCrotch 10d ago
You need to read the entire paragraph, not just the first sentence. Together, the two sentences imply that you are given one random coin to determine the authenticity of. not that you're only allowed to weigh one coin. That would be ridiculous.
This language is the part of the problem designed to weed out people who don't have the ability to glean intent from a set of instructions written by a human who isn't perfect in their communication, which is most people you have to work with in the real world, likely including your direct supervisor.
Nobody wants to work with someone who will take everything so literally that it's too hard to ask them to do anything.
1
u/Sweet_Culture_8034 11d ago edited 11d ago
Edit : someone pointed out it only works if the weight of real coin is an integer (expressed in grams).
Just weight the 100 other coins vs nothing. It'll give you the total weight.
Say the base weight of a real coin is C.
If our coin is a real one, the scale will display 100C +/- 50 = 2(50C+/-25) So it displays an even value.
If your coin is a counterfeit then the scale displays 100C+/-49, which is odd.
So you don't even need a scale that compares the two sides a normal scale would work just fine.
1
1
1
u/hotmatrixx 11d ago
do i get the other 100 coins to weigh as well?
if so; SIMPLE
If not... then impossible.
1
u/PalpitationAny3509 11d ago
well we google to check what coin do we use, check its weight and proceed to weight it :)
1
u/lolcrunchy 11d ago
Need more info: whether the weight of a real coin is an integer number of grams, or perhaps something that evenly divides the weight of a real coin.
Assuming the weight in grams of a real coin is an integer, then put 100 coins on one side and the one coin on the other. Let W be the difference.
If W mod 99 is 50 or 1, the coin is real. If W mod 99 is 48 or 52, the coin is fake.
1
u/colintbowers 11d ago
The weirdest thing questions like this is that they utterly fail to test applicants on the thing that is actually difficult about being a quant: namely, that real-world markets are incredibly messy and governed by stochastic data generating processes where we only have a weak idea of what the true probability distributions even look like.
1
u/Smash_Factor 11d ago edited 11d ago
You are given 1 coin, which leaves 100 remaining.
Let's say you took the remaining 100 coins and shook them up in a bag to mix them all together.
You then grab 50 from the bag and put them on one side of the scale. You take the remaining 50 and put them on the other side.
Won't one side of the scale now always be the opposite of the other?
If you end up with, for example, 20 fakes and 30 genuine on one side, you will then have 30 fakes and 20 genuine on the other side.
If genuine coins weigh 2 grams, then the fake coins will weigh either 1 gram or 3 grams.
So the side with 20 fakes and 30 genuine will weigh either 80 grams (20+60) or 120 grams (60+60).
The other side with 30 fakes and 20 genuine will weigh either 70 grams (30+40) or 130 grams (90+40).
And since the scale only shows the difference between the two sides, it will always show a difference of 10 grams.
This will always be true if the coin you were given in the beginning is genuine. The reason, is because if you were given 1 genuine coin from the original 101 coins, then you will end up with 50 fake and 50 genuine (only 50 coins total are fake).
So in the beginning if you were instead given 1 fake coin, then you would have 49 fakes and 51 genuine remaining.
Wouldn't this now mean that the difference in weight between the two sides would not be 10 grams?
After being given the fake, you put the remaining coins in a bag, shake them up, and put them on the scale just like earlier.
So now, if one side has 24 fakes and 25 genuine, it would weigh either 74 grams (24+50) or 122 grams (72+50).
The other side with 25 fakes and 26 genuine would weigh either 77 grams (25+52) or 127 grams (75+52)
The difference would be 3 grams or 5 grams no matter which is which.
And now, since we don't know the actual weight of any of the coins, we can deduce that if the difference between the two sides is even, then we know that the one coin was genuine.
If the difference is odd, then we were given a fake.
EDIT: I had to make a couple edits, but the logic is still there.
1
u/lunar_tardigrade 11d ago
Yup. I follow you. This is clearly what the poorly worded question is trying to get at. You are asked if 1 random coin is legitimate, but you can use all/any of the coins to make your 1 measurement.
1
u/Smash_Factor 10d ago
There's really no other way to do it, especially with only 1 coin
You could put the single coin on the scale and measure the difference between it and the other side, but an even or odd result wouldn't tell us if the coin is fake or genuine because the coin could weigh an odd or even amount.
When we use the remaining coins we have something to weigh it against while knowing how many of each type of coin could possibly be left after 1 is removed.
To expand on my answer, when you pull the coins out of the bag and put them on the scale we could possibly get very lucky and end up with 50 fakes on one side and 50 genuine on the other. Highly improbable, but possible.
If the genuine coins weigh 2 grams, then that side of the scale will weigh 100 grams. The other side will weigh either 50 grams or 150 grams. Either way, the difference between both sides is an even number.
If we were given a fake coin however, the best we could do is 49 fake on one side and 51 genuine on the other. So now the genuine side weighs 102 grams and the fake side weighs either 49 grams or 147 grams. Either way, the difference between both sides is an odd number.
1
u/JollyJoker3 11d ago
Ah, "reports the numerical weight difference". I missed that and thought is was impossible since one side being heavier tells you nothing.
1
u/ccppurcell 10d ago
A better way to deduce it is to imagine you put all 50 fakes on one side and all fifty reals on the other. The difference would show 50. Now swap two of the coins. The difference would go down by 2. Every time you do a swap it changes by exactly 2 so you can never hit an odd number, as long as there were fifty fakes and fifty reals in the 100 remaining coins. If you weigh 50 coins against 50 coins and get an odd difference, there must be an odd number of fake coins, i.e. 49, which means you must have a fake.
1
u/Kukkapen 11d ago
The answer is that you can't determine which are counterfeit based on one coin. There's nothing to put on the other pan of the scale.
1
u/Humble-Captain3418 10d ago
I weigh the one coin I was given, determining its weight against an empty other side, then go look at the (inter)national standards on how much that coin is supposed to weigh.
1
u/Money4Nothing2000 10d ago
First I need to know what job position I'm applying to, so I can give an appropriately irrelevant answer.
1
u/Outrageous-Cycle-277 10d ago
generally fake coins are light, because they are made with less precious metals
1
u/less-right 10d ago
Sure. Put it on the scale with one of the 50 real coins and see if it balances.
1
u/FrereEymfulls 10d ago
Put the remaining coins on the balance, 50 each side.
If your coin is counterfeited, there are only 49 counterfeited coins on the balance. If they are all on the same side, the balance shows +/-49. If it's 48-1, it shows +/-47. Or +/-45, etc. The difference will always be odd.
If your coin is fair, there are 50 counterfeited coin on the balance, and the difference will be even no matter what.
1
u/Thalarion_ 10d ago
You pull out a coin from your wallet and check with that. I would say that if they only give 1 coin and the balance the rest of information is missdirection + It is weird that we are talking about something as common as a coin that you are likely to have with you at all times.
1
u/FreshLiterature 10d ago
Aren't questions like this really more about how familiar the person being asked the question is with how to approach these problems?
For example, if you took two people that had similar educational backgrounds and identical levels of relevant, measurable intelligence, but one of them practiced these types of problems and the other didn't then wouldn't the former do better than the latter?
It wouldn't have anything to with the ability of a person to logic through something they haven't seen before. It would be about how familiar a person is with seeing the logic.
1
u/PsychologicalLie2163 10d ago
Total Number of Coins, T = 101
Number of Counterfeit Coins, C = 50
Number of Legitimate Coins, L = 51
Weight of Legitimate Coin, we'll call W.
Scenario 1 - Weight of Counterfeit Coin is W+1
Scenario 2 - Weight of Counterfeit Coin is W-1
Total Weight in Scenario 1 is 51W + 50(W+1) = 101W + 50
Total Weight in Scenario 2 is 51W + 50(W-1) = 101W - 50
If you weigh the coin you have on one side, then all the remaining coins on the other side, you get the following potential outcomes.
You have a legit coin and you're in Scenario 1
W vs 100W + 50, variance of 99W + 50
You have a legit coin and you're in Scenario 2
W vs 100W - 50, variance of 99W -50
You have a counterfeit coin and you're in Scenario 1
W+1 vs 100W + 49, variance of 99W + 48
You have a counterfeit coin and you're in Scenario 2
W-1 vs 100W - 49, variance of 99W - 48
Does that help?... I just started writing haha.
1
1
1
u/Successful-Active-21 9d ago
hold the given coin in your hand, and weight the remaining 100 coins 50 against 50.
look at the weight difference, determine if it is even or uneven grams. if it is even grams, you must hold a real coin. if it is uneven, you must hold a fake coin.
0
1
11d ago
[removed] — view removed comment
1
u/Sweet_Culture_8034 11d ago
That doesn't work at all. Like, none of the cases you presented is right.
11
u/jhardtone 11d ago
Again unsolvable. There are 101 coins, but I only receive one of them to weigh as per the wording of the problem.