• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:05
CEST 12:05
KST 19:05
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed10Weekly Cups (July 7-13): Classic continues to roll3Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
Weekly Cups (July 7-13): Classic continues to roll Esports World Cup 2025 - Brackets Revealed The GOAT ranking of GOAT rankings Team TLMC #5 - Submission extension Who will win EWC 2025?
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Starcraft in widescreen A cwal.gg Extension - Easily keep track of anyone
Tourneys
Cosmonarchy Pro Showmatches [Megathread] Daily Proleagues CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread CCLP - Command & Conquer League Project The PlayStation 5
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 545 users

The fake coin problem - Page 3

Blogs > Byo
Post a Reply
Prev 1 2 3 4 Next All
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
Last Edited: 2009-04-24 01:17:47
April 24 2009 01:16 GMT
#41
On April 24 2009 10:15 Gliche wrote:
tyx's way is right. It's just that is does NOT always tell you which if it's heavier or light, but that's not required according to the op.

since byo didn't say that it's solved yet.. so there must be a 2nd solution?

no, read the problem theyango and byo brought up

if you dont know whether it's heavier or lighter within its own group, you can't find it in one more step
posting on liquid sites in current year
FirstProbe
Profile Joined June 2004
1206 Posts
Last Edited: 2009-04-24 01:21:51
April 24 2009 01:20 GMT
#42
tyx just used *a variation on my method.
3 is not a guaranteed maximum.
Severedevil
Profile Blog Joined April 2009
United States4838 Posts
Last Edited: 2009-04-24 01:26:53
April 24 2009 01:25 GMT
#43
tyx's method is not optimal.

Btw, if you do it cleverly enough, you can specify which balls to weigh against which before you get the results of any of your weighings.
My strategy is to fork people.
FirstProbe
Profile Joined June 2004
1206 Posts
Last Edited: 2009-04-24 01:26:46
April 24 2009 01:26 GMT
#44
For example, set A, B, C, D
if I weigh A against B
and both weigh the same
then I weigh A against C
if both weigh the same
then set D is the one with the fake in it.
At this stage you've weighed twice.
Now in set D, if I weigh D1 vs D2, and if there is a weight discrepancy, then either D1 or D2 is the fake. (weighed 3 times). In this situation you have to weigh D1 against D3 to get an answer (4th weigh).
If they weigh the same then sure, you have the answer in 3 goes.

Of course you can argue that if
A is lighter than C, then the fake coin is heavier.
In which situation, you can get the answer in 3.
But so can the other such displayed answers. So in this situation, the maximum is still 4.
nortorius
Profile Joined April 2003
Canada1210 Posts
April 24 2009 01:28 GMT
#45
1.) Place ABCDEF v GHIJKL on the scale. Remove a coin from each side of the scale until both sides are equal in weight.

2.) One of the last two coins removed from part one is the fake coin. So, you weigh each coin against one of the known real coins to find out which is fake
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2009-04-24 01:34:50
April 24 2009 01:34 GMT
#46
so.. max is 3 isn't it?
i'm too lazy to think it through but this question has appeared like a gazillion times before.

someone on tl even wrote a formula that gives you maximum # of weightings in a generalized case of n coins
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Byo
Profile Blog Joined July 2007
Canada206 Posts
Last Edited: 2009-04-24 01:38:38
April 24 2009 01:36 GMT
#47
LOL is that true, I guess I wasn't around long enough

Not so certain you can do set weighting before knowing the results....... i could be wrong.
Incognitodies
Profile Joined April 2008
United Kingdom184 Posts
April 24 2009 01:51 GMT
#48
On April 24 2009 10:36 Byo wrote:
LOL is that true, I guess I wasn't around long enough

Not so certain you can do set weighting before knowing the results....... i could be wrong.

You can do set weighting before knowing the results

It's pretty long winded to type out though
zobz
Profile Joined November 2005
Canada2175 Posts
Last Edited: 2009-04-24 02:12:01
April 24 2009 01:52 GMT
#49
+ Show Spoiler +
Three weighings.
1.. Weigh one group of 6 coins against the other 6 coins.
2.. Whichever group of 6 is heavier, measure 3 from that group against the other three. If these two groups of 3 weigh unequally, then the special coin must be heavier (since by the unequallity remaining within this group of 6 coins, the coin must be in this group, and since it is the heavier group of 6, the coin must be heavy). If the two groups of three in the heavier group of 6 weigh the same, the coin must be lighter, and in the other group of 6.
3.. If the special coin is in the lighter group of 6, weigh any 2 coins against each other from the lighter group of 3 within that group of 6. If the coin is in the heavier group of 6, weigh any 2 coins from the heavier group of 3 within that group of 6.
If the two coins weigh equally then the remaining coin from the relevant group of 3 is the coin sought. If they weigh unequally then the special coin is the heavier one if you are weighing coins out of the heavier group of 6, or the lighter coin if you're weighing coins from the lighter group of 6.
No i'm wrong. Fuck.
"That's not gonna be good for business." "That's not gonna be good for anybody."
Slithe
Profile Blog Joined February 2007
United States985 Posts
April 24 2009 02:01 GMT
#50
+ Show Spoiler +

3 Weighings:

EFGH vs IJKL
BFGK vs CDHL
CEHK vs ADGL

I think from the results of these 3 weighings you can always single out one of the coins to be the bad one.
TheYango
Profile Joined September 2008
United States47024 Posts
Last Edited: 2009-04-24 02:02:23
April 24 2009 02:02 GMT
#51
On April 24 2009 10:52 zobz wrote:
+ Show Spoiler +
Three weighings.
1.. Weigh one group of 6 coins against the other 6 coins.
2.. Whichever group of 6 is heavier, measure 3 from that group against the other three. If these two groups of 3 weigh unequally, then the special coin must be heavier (since by the unequallity remaining within this group of 6 coins, the coin must be in this group, and since it is the heavier group of 6, the coin must be heavy). If the two groups of three in the heavier group of 6 weigh the same, the coin must be lighter, and in the other group of 6.
3.. If the special coin is in the lighter group of 6, weigh any 2 coins against each other from the lighter group of 3 within that group of 6. If the coin is in the heavier group of 6, weigh any 2 coins from the heavier group of 3 within [that] group of 6.
If the two coins weigh equally then the remaining coin from the relevant group of 3 is the coin sought. If they weigh unequally then the special coin is the heavier one if you are weighing coins out of the heavier group of 6, or the lighter coin if you're weighing coins from the lighter group of 6.

+ Show Spoiler +
Lemme work this out in A-L notation, just to see if I understand you correctly.
ABCDEF v GHIJKL
Suppose ABCDEF is heavier. Weigh ABC v DEF. If they're unequal, then the heavier one contains the fake one, and one more measurement will find it.. If they weigh the same, then the fake coin is in GHIJKL.

Now here's where I stop understanding you. If the fake is in GHIJKL and GHIJKL is lighter, how do you find a group of 3 in there thats lighter without taking a measurement? You haven't weighed within GHIJKL yet, so you can't know which group of 3 is "heavier" or "lighter".
Moderator
Slithe
Profile Blog Joined February 2007
United States985 Posts
April 24 2009 02:05 GMT
#52
On April 24 2009 10:52 zobz wrote:
+ Show Spoiler +
Three weighings.
1.. Weigh one group of 6 coins against the other 6 coins.
2.. Whichever group of 6 is heavier, measure 3 from that group against the other three. If these two groups of 3 weigh unequally, then the special coin must be heavier (since by the unequallity remaining within this group of 6 coins, the coin must be in this group, and since it is the heavier group of 6, the coin must be heavy). If the two groups of three in the heavier group of 6 weigh the same, the coin must be lighter, and in the other group of 6.
3.. If the special coin is in the lighter group of 6, weigh any 2 coins against each other from the lighter group of 3 within that group of 6. If the coin is in the heavier group of 6, weigh any 2 coins from the heavier group of 3 within [that] group of 6.
If the two coins weigh equally then the remaining coin from the relevant group of 3 is the coin sought. If they weigh unequally then the special coin is the heavier one if you are weighing coins out of the heavier group of 6, or the lighter coin if you're weighing coins from the lighter group of 6.


Unless I misread, I count 4 weighings if the coin is lighter.

A weighing to determine which group is heavier.
A weighing to determine if the coin is heavier or lighter.
A weighing to find the lighter group of 3 within the lighter group of 6.
A weighing to find the lighter coin from the group of 3.
TheYango
Profile Joined September 2008
United States47024 Posts
April 24 2009 02:14 GMT
#53
On April 24 2009 11:01 Slithe wrote:
+ Show Spoiler +

3 Weighings:

EFGH vs IJKL
BFGK vs CDHL
CEHK vs ADGL

I think from the results of these 3 weighings you can always single out one of the coins to be the bad one.

+ Show Spoiler +
This method runs into trouble, because I and J are indistinguishable. If the first measurement is unequal, and the second 2 are equal, I or J could be the fake. The following list gives the measurement results if each coin is the fake:
(E = equal, L = left is greater, R = right is greater)
A - EER
B - ELE
C - ERL
D - ERR
E - LEL
F - LLE
G - LLR
H - LRL
I - REE
J - REE
K - RLL

This could be the right way of thinking about it though. Props to you for that.
Moderator
Byo
Profile Blog Joined July 2007
Canada206 Posts
Last Edited: 2009-04-24 02:25:57
April 24 2009 02:19 GMT
#54
lol..

*edit i was too lazy to check all solutions.... perhaps all predetermined weights isn't optimum, i dunno

the solution i had was.....
+ Show Spoiler +

if abcd = efgh , i <> j, i <>k
if abcd > efgh , abe > cdf, a <> b
if abcd < efgh , abe > cdf, c <> d
TheYango
Profile Joined September 2008
United States47024 Posts
Last Edited: 2009-04-24 02:23:38
April 24 2009 02:19 GMT
#55
On April 24 2009 11:19 Byo wrote:
there its solved..... i learned something new too lol

?
Which solution solved it? Slithe's solution can't distinguish between I and J.

EDIT: was Slithe's your solution in a different combination?
Moderator
Slithe
Profile Blog Joined February 2007
United States985 Posts
April 24 2009 02:23 GMT
#56
On April 24 2009 11:14 TheYango wrote:
Show nested quote +
On April 24 2009 11:01 Slithe wrote:
+ Show Spoiler +

3 Weighings:

EFGH vs IJKL
BFGK vs CDHL
CEHK vs ADGL

I think from the results of these 3 weighings you can always single out one of the coins to be the bad one.

+ Show Spoiler +
This method runs into trouble, because I and J are indistinguishable. If the first measurement is unequal, and the second 2 are equal, I or J could be the fake. The following list gives the measurement results if each coin is the fake:
(E = equal, L = left is greater, R = right is greater)
A - EER
B - ELE
C - ERL
D - ERR
E - LEL
F - LLE
G - LLR
H - LRL
I - REE
J - REL
K - RLE

This could be the right way of thinking about it though. Props to you for that.


+ Show Spoiler +

Oh nice catch, I had a typo when converting my answer to letter format.

EFGH vs IJKL
BFGK vs CDHL
CEHJ vs ADGL

I may still have mistakes, so it would be good to verify.
TheYango
Profile Joined September 2008
United States47024 Posts
April 24 2009 02:26 GMT
#57
On April 24 2009 11:23 Slithe wrote:
+ Show Spoiler +

Oh nice catch, I had a typo when converting my answer to letter format.

EFGH vs IJKL
BFGK vs CDHL
CEHJ vs ADGL

I may still have mistakes, so it would be good to verify.

Looks good, it seems you edited the 3-measurement results that I listed, so it seems consistent now.

Again, props for this way of attacking the problem.
Moderator
520
Profile Blog Joined April 2009
United States2822 Posts
Last Edited: 2009-04-24 02:51:09
April 24 2009 02:45 GMT
#58
+ Show Spoiler +
12 coins problem, labeled ABCDEFGHIJKL
Boolean comparison operators operate on WEIGHT, not the side that goes up or down.
eg:
ABCD > EFGH means that ABCD is heavier and on the bottom side of the scale

First weighing: ABCD vs. EFGH
Case 1: ABCD = EFGH
--This means that the counterfeit is in IJKL - weight undetermined
Case 2: ABCD > EFGH
--Counterfeit is in one of the two groups - weight undetermined
Case 3: ABCD < EFGH
--Counterfeit is in one of the two groups - weight undetermined

Case 1, Second weighing (Coins were even): IJK vs. ABC
ABC is known to be a good group, IJK is suspect.
Case 1a: IJK = ABC
IJK must also be good.
--Counterfeit is L - weight undetermined
Case 1b: IJK > ABC
IJK is heavier.
--Counterfeit is in IJK and it is heavier
Case 1c: IJK < ABC
IJK is lighter.
--Counterfeit is in IJK and it is lighter

Case 2, Second weighing (Left side heavier): ABCE vs. DIJK
ABCD may be heavy, E may be light, IJK are guaranteed good.
Case 2a: ABCE = DIJK
All of the coins tested are good.
--Counterfeit is in FGH and it is lighter
Case 2b: ABCE > DIJK
Right side contains only good coins.
--Counterfeit is in ABC and it is heavier
Case 2c: ABCE < DIJK
3 good coins + 1 bad coin on either side.
--Counterfeit is D and it is heavier OR counterfeit is E and it is lighter

Case 3, Second weighing (Right side heavier): DFGH vs. EIJK
EFGH may be heavy, D may be light, IJK are guaranteed good.
Case 3a: DFGH = EIJK
All of the coins tested are good.
--Counterfeit is in ABC and it is lighter
Case 3b: DFGH > EIJK
Right side only contains good coins.
--Counterfeit is in FGH and it is heavier
Case 3c: DFGH < EIJK
3 good coins + 1 bad coin on either side.
--Counterfeit is E and it is heavier OR counterfeit is D and it is lighter

Case 1a, Third weighing (Counterfeit coin known, but not its weight, L): L vs. A
Case 1a1: L < A
--Counterfeit is L, L is lighter
Case 1a2: L > A
--Counterfeit is L, L is heavier

Case 2c, 3c, Third weighing (Counterfeit is between two coins, but possible weights known, D and E): D vs. A
A is known to be good, counterfeit could be either D or E.
Case 2c1: D = A
--Counterfeit is E, E is lighter
Case 2c2: D > A
--Counterfeit is D, D is heavier

Case 1b, 2b, 3b, Third weighing (Counterfeit is heavy and in a group of 3 XYZ): X vs. Y
Case 1b1: X = Y
--Counterfeit is Z, Z is heavier
Case 1b2: X > Y
--Counterfeit is X, X is heavier
Case 1b3: X < Y
--Counterfeit is Y, Y is heavier

Case 1c, 2a, 3a, Third weighing (Counterfeit is light and in a group of 3 XYZ): X vs. Y
Case 1c1: X = Y
--Counterfeit is Z, Z is lighter
Case 1c2: X > Y
--Counterfeit is Y, Y is lighter
Case 1c3: X < Y
--Counterfeit is X, X is lighter


EDIT: Aah, looks like I got beaten to the punch.
Writer
TheYango
Profile Joined September 2008
United States47024 Posts
April 24 2009 02:55 GMT
#59
On April 24 2009 11:45 p3numbra wrote:
+ Show Spoiler +
12 coins problem, labeled ABCDEFGHIJKL
Boolean comparison operators operate on WEIGHT, not the side that goes up or down.
eg:
ABCD > EFGH means that ABCD is heavier and on the bottom side of the scale

First weighing: ABCD vs. EFGH
Case 1: ABCD = EFGH
--This means that the counterfeit is in IJKL - weight undetermined
Case 2: ABCD > EFGH
--Counterfeit is in one of the two groups - weight undetermined
Case 3: ABCD < EFGH
--Counterfeit is in one of the two groups - weight undetermined

Case 1, Second weighing (Coins were even): IJK vs. ABC
ABC is known to be a good group, IJK is suspect.
Case 1a: IJK = ABC
IJK must also be good.
--Counterfeit is L - weight undetermined
Case 1b: IJK > ABC
IJK is heavier.
--Counterfeit is in IJK and it is heavier
Case 1c: IJK < ABC
IJK is lighter.
--Counterfeit is in IJK and it is lighter

Case 2, Second weighing (Left side heavier): ABCE vs. DIJK
ABCD may be heavy, E may be light, IJK are guaranteed good.
Case 2a: ABCE = DIJK
All of the coins tested are good.
--Counterfeit is in FGH and it is lighter
Case 2b: ABCE > DIJK
Right side contains only good coins.
--Counterfeit is in ABC and it is heavier
Case 2c: ABCE < DIJK
3 good coins + 1 bad coin on either side.
--Counterfeit is D and it is heavier OR counterfeit is E and it is lighter

Case 3, Second weighing (Right side heavier): DFGH vs. EIJK
EFGH may be heavy, D may be light, IJK are guaranteed good.
Case 3a: DFGH = EIJK
All of the coins tested are good.
--Counterfeit is in ABC and it is lighter
Case 3b: DFGH > EIJK
Right side only contains good coins.
--Counterfeit is in FGH and it is heavier
Case 3c: DFGH < EIJK
3 good coins + 1 bad coin on either side.
--Counterfeit is E and it is heavier OR counterfeit is D and it is lighter

Case 1a, Third weighing (Counterfeit coin known, but not its weight, L): L vs. A
Case 1a1: L < A
--Counterfeit is L, L is lighter
Case 1a2: L > A
--Counterfeit is L, L is heavier

Case 2c, 3c, Third weighing (Counterfeit is between two coins, but possible weights known, D and E): D vs. A
A is known to be good, counterfeit could be either D or E.
Case 2c1: D = A
--Counterfeit is E, E is lighter
Case 2c2: D > A
--Counterfeit is D, D is heavier

Case 1b, 2b, 3b, Third weighing (Counterfeit is heavy and in a group of 3 XYZ): X vs. Y
Case 1b1: X = Y
--Counterfeit is Z, Z is heavier
Case 1b2: X > Y
--Counterfeit is X, X is heavier
Case 1b3: X < Y
--Counterfeit is Y, Y is heavier

Case 1c, 2a, 3a, Third weighing (Counterfeit is light and in a group of 3 XYZ): X vs. Y
Case 1c1: X = Y
--Counterfeit is Z, Z is lighter
Case 1c2: X > Y
--Counterfeit is Y, Y is lighter
Case 1c3: X < Y
--Counterfeit is X, X is lighter


EDIT: Aah, looks like I got beaten to the punch.

Yeah that works. I still like Slithe's solution better. Its so much more elegant!
Moderator
520
Profile Blog Joined April 2009
United States2822 Posts
April 24 2009 02:57 GMT
#60
On April 24 2009 11:55 TheYango wrote:
Show nested quote +
On April 24 2009 11:45 p3numbra wrote:
+ Show Spoiler +
12 coins problem, labeled ABCDEFGHIJKL
Boolean comparison operators operate on WEIGHT, not the side that goes up or down.
eg:
ABCD > EFGH means that ABCD is heavier and on the bottom side of the scale

First weighing: ABCD vs. EFGH
Case 1: ABCD = EFGH
--This means that the counterfeit is in IJKL - weight undetermined
Case 2: ABCD > EFGH
--Counterfeit is in one of the two groups - weight undetermined
Case 3: ABCD < EFGH
--Counterfeit is in one of the two groups - weight undetermined

Case 1, Second weighing (Coins were even): IJK vs. ABC
ABC is known to be a good group, IJK is suspect.
Case 1a: IJK = ABC
IJK must also be good.
--Counterfeit is L - weight undetermined
Case 1b: IJK > ABC
IJK is heavier.
--Counterfeit is in IJK and it is heavier
Case 1c: IJK < ABC
IJK is lighter.
--Counterfeit is in IJK and it is lighter

Case 2, Second weighing (Left side heavier): ABCE vs. DIJK
ABCD may be heavy, E may be light, IJK are guaranteed good.
Case 2a: ABCE = DIJK
All of the coins tested are good.
--Counterfeit is in FGH and it is lighter
Case 2b: ABCE > DIJK
Right side contains only good coins.
--Counterfeit is in ABC and it is heavier
Case 2c: ABCE < DIJK
3 good coins + 1 bad coin on either side.
--Counterfeit is D and it is heavier OR counterfeit is E and it is lighter

Case 3, Second weighing (Right side heavier): DFGH vs. EIJK
EFGH may be heavy, D may be light, IJK are guaranteed good.
Case 3a: DFGH = EIJK
All of the coins tested are good.
--Counterfeit is in ABC and it is lighter
Case 3b: DFGH > EIJK
Right side only contains good coins.
--Counterfeit is in FGH and it is heavier
Case 3c: DFGH < EIJK
3 good coins + 1 bad coin on either side.
--Counterfeit is E and it is heavier OR counterfeit is D and it is lighter

Case 1a, Third weighing (Counterfeit coin known, but not its weight, L): L vs. A
Case 1a1: L < A
--Counterfeit is L, L is lighter
Case 1a2: L > A
--Counterfeit is L, L is heavier

Case 2c, 3c, Third weighing (Counterfeit is between two coins, but possible weights known, D and E): D vs. A
A is known to be good, counterfeit could be either D or E.
Case 2c1: D = A
--Counterfeit is E, E is lighter
Case 2c2: D > A
--Counterfeit is D, D is heavier

Case 1b, 2b, 3b, Third weighing (Counterfeit is heavy and in a group of 3 XYZ): X vs. Y
Case 1b1: X = Y
--Counterfeit is Z, Z is heavier
Case 1b2: X > Y
--Counterfeit is X, X is heavier
Case 1b3: X < Y
--Counterfeit is Y, Y is heavier

Case 1c, 2a, 3a, Third weighing (Counterfeit is light and in a group of 3 XYZ): X vs. Y
Case 1c1: X = Y
--Counterfeit is Z, Z is lighter
Case 1c2: X > Y
--Counterfeit is Y, Y is lighter
Case 1c3: X < Y
--Counterfeit is X, X is lighter


EDIT: Aah, looks like I got beaten to the punch.

Yeah that works. I still like Slithe's solution better. Its so much more elegant!

Actually, doesn't Slithe's say that it needs 4 weighings if the coin is lighter? Mine needs exactly 3 weighings regardless of the weight of the coin.
Writer
Prev 1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
10:00
Galaxy Open Cup Season 1
CranKy Ducklings11
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 3
StarCraft: Brood War
Zeus 734
BeSt 480
firebathero 322
Light 155
sorry 88
Pusan 61
Mind 60
Shinee 53
Shine 50
sSak 45
[ Show more ]
NaDa 18
yabsab 15
Movie 9
Bale 6
PianO 0
Dota 2
XcaliburYe452
XaKoH 437
canceldota119
League of Legends
JimRising 509
Counter-Strike
Stewie2K1058
shoxiejesuss676
x6flipin327
allub216
sgares80
PGG 2
Super Smash Bros
Mew2King122
Other Games
singsing1355
Happy355
Fuzer 271
crisheroes238
DeMusliM191
SortOf149
Trikslyr33
Pyrionflax24
Organizations
Other Games
gamesdonequick3564
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH367
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2203
Upcoming Events
WardiTV European League
5h 55m
ShoWTimE vs sebesdes
Percival vs NightPhoenix
Shameless vs Nicoract
Krystianer vs Scarlett
ByuN vs uThermal
Harstem vs HeRoMaRinE
PiGosaur Monday
13h 55m
uThermal 2v2 Circuit
1d 5h
Replay Cast
1d 13h
The PondCast
1d 23h
WardiTV European League
2 days
Replay Cast
2 days
Epic.LAN
3 days
CranKy Ducklings
3 days
Epic.LAN
4 days
[ Show More ]
CSO Contender
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
4 days
Online Event
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
6 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Liquipedia Results

Completed

2025 ACS Season 2: Qualifier
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.