• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:54
CEST 04:54
KST 11:54
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris31Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
#2: Serral - Greatest Players of All Time #1: Maru - Greatest Players of All Time I hope balance council is prepping final balance Geoff 'iNcontroL' Robinson has passed away Aligulac - Europe takes the podium
Tourneys
Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament Maestros of The Game—$20k event w/ live finals in Paris WardiTV Mondays RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
BSL Polish World Championship 2025 20-21 September BGH Auto Balance -> http://bghmmr.eu/ ASL Season 20 Ro24 Groups Flash On His 2010 "God" Form, Mind Games, vs JD No Rain in ASL20?
Tourneys
[Megathread] Daily Proleagues [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group F [ASL20] Ro24 Group D
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile
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 Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2813 users

The fake coin problem

Blogs > Byo
Post a Reply
1 2 3 4 Next All
Byo
Profile Blog Joined July 2007
Canada207 Posts
April 23 2009 23:59 GMT
#1
here's a more concrete problem compared to the first entry. Though its still more logical than mathamatical.

You are given 12 identical coins, and one weight scale. The weight scale is only able to identify if side A is heavier or lighter than side B. You are able to put any number of coins on either side. Among the 12 identical coins is 1 fake coin, whose weight is different but whither it is heavier or not is unknown. The task is to use the scale the least number of times to determine which coin is fake. You will probably have to name the coins A-L for clarity.

vAltyR
Profile Blog Joined July 2008
United States581 Posts
April 24 2009 00:06 GMT
#2
+ Show Spoiler +
Should be seven times. Weigh two coins at a time, so that's six times. One of those will produce an imbalance. Take one of the coins from the imbalanced result and weigh it against a different coin. If there is an imbalance again, that's the fake coin. If it's balanced, the other coin from the imbalance is the fake.
내 호버크라프트는 장어로 가득 차 있어요
TheYango
Profile Joined September 2008
United States47024 Posts
Last Edited: 2009-04-24 00:09:56
April 24 2009 00:08 GMT
#3
+ Show Spoiler +
Put 6 coins on each side of the scale. One side will be lighter, and one will be heavier. Take all the coins off, and put 3 on each side from the set of 6 coins that were on the lighter side. If the piles weigh the same, then the fake is heavier than normal. If they're different, then the fake is lighter than normal.

If the fake is lighter than normal, take the lighter of the 2 piles you just weighed. Compare any 2 of those 3 on the scale. If they weigh the same, the third one is the fake. If they're different, the lighter one is the fake.

If you found out the fake is heavier than normal, then split the heavier pile from the original weighing into piles of 3 and compare them. Take the heavier of the 2, and weigh any 2 of those 3. If they weigh the same, the third one is the fake. If they're different, the heavier one is the fake.

Thats three weighings if the fake is lighter than normal, and four if the fake is heavier than normal.
Moderator
Dave[9]
Profile Blog Joined October 2003
United States2365 Posts
April 24 2009 00:10 GMT
#4
you otta balance two at a time, so if C1=C2 then they are identical and can be put aside, when Cn does not equal Cm where m=n+1 then you know you have the fake coin.

So at most it will take 7 times.
http://www.teamliquid.net/forum/viewmessage.php?topic_id=104154&currentpage=316#6317
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
Last Edited: 2009-04-24 00:16:29
April 24 2009 00:11 GMT
#5
+ Show Spoiler +
ABCDEF vs GHIJKL (1)

one will turn up heavier, say its the abc group

ABC vs DEF (2)

if one doesn't turn up heavier, then weigh other set

GHI vs JKL (3)

one of these will turn up lighter, weigh each of them 1 by 1 against a coin from the ABCDEF set, whichever turns up lighter is correct

J v A (4)

K v A (5)

L v A (6)


EDIT strikeout part was stupid but yeah up until then i had theyango's method

max by this method is 6
posting on liquid sites in current year
vAltyR
Profile Blog Joined July 2008
United States581 Posts
Last Edited: 2009-04-24 00:13:57
April 24 2009 00:12 GMT
#6
On April 24 2009 09:08 TheYango wrote:
+ Show Spoiler +
Put 6 coins on each side of the scale. One side will be lighter, and one will be heavier. Take all the coins off, and put 3 on each side from the set of 6 coins that were on the lighter side. If the piles weigh the same, then the fake is heavier than normal. If they're different, then the fake is lighter than normal.

If the fake is lighter than normal, take the lighter of the 2 piles you just weighed. Compare any 2 of those 3 on the scale. If they weigh the same, the third one is the fake. If they're different, the lighter one is the fake.

If you found out the fake is heavier than normal, then split the heavier pile from the original weighing into piles of 3 and compare them. Take the heavier of the 2, and weigh any 2 of those 3. If they weigh the same, the third one is the fake. If they're different, the heavier one is the fake.

Thats three weighings if the fake is lighter than normal, and four if the fake is heavier than normal.


Ouch. Owned. >_<;

On April 24 2009 09:11 SpiritoftheTunA wrote:
+ Show Spoiler +
ABCDEF vs GHIJKL (1)

one will turn up heavier, say its the abc group

ABC vs DEF (2)

if one doesn't turn up heavier, then weigh other set

GHI vs JKL (3)

one of these will turn up lighter, weigh each of them 1 by 1 against a coin from the ABCDEF set, whichever turns up lighter is correct

J v A (4)

K v A (5)

L v A (6)

max by this method is 6


+ Show Spoiler +
Actually, max is 4. Read TheYango's post to find out why.
내 호버크라프트는 장어로 가득 차 있어요
FirstProbe
Profile Joined June 2004
1206 Posts
Last Edited: 2009-04-24 00:16:00
April 24 2009 00:13 GMT
#7
Break it up so that you're weighing 3 coins against 3 coins.
If both sets weigh the same, then repeat the process. This will leave you with one set of coins weighing more than the other.
Take one of those sets in which there is a discrepancy, and weigh it against another set. If it weighs the same, then the other set is the one with the fake coin. If they do not weight the same, then the fake coin is in the set that you have re-tested.
Following that, take the 3 coins that weighed in lighter, and weigh one against another. You'll either have your answer there, or have concluded that the coin not weighed is the lightest.
This should take you 4 attempts.
edit: or 3 attempts if you are more fortunate.
Byo
Profile Blog Joined July 2007
Canada207 Posts
April 24 2009 00:15 GMT
#8
actually, optimum method can find the result in 3 weighs regardless of heavier or lighter....
goldrush
Profile Blog Joined June 2004
Canada709 Posts
April 24 2009 00:17 GMT
#9
+ Show Spoiler +


Split it up into two groups of six. Weight it. One group will be heavier than the other. (A-F) (G-L) (#1)

Take one group of six. Split it into two groups of three. If they are identical weight, then use the other group of six for the next step. If they are not of identical weight, then use this group for the next step. (#2) Say that (A-C) (D-F) are of identical weight, and (G-I) and (J-L) are not.

Weight (G-I) against (A-C). (#3) If they are equal weight, then use the group (J-L) for the next step. If not, then use the group (G-I) for the next step.

Choose two random coins (say G and H if G-I was used from the previous step) from that group and weigh them from each other. (#4) If they are equal, then the one that remains (I) is the odd one out. If not, then weigh one of them (say, G) against coin A. (#5) If they are equal, then the other one (H) is the odd one out. If they are not, then G is the odd one out.

Steps 4-5 can probably be optimized though. =/


Deleted User 31060
Profile Blog Joined September 2007
3788 Posts
April 24 2009 00:17 GMT
#10
Compare ABCD with EFGH. If same, compare IJ with AB. If same, compare A with K. If same, the coin is L (if different, coin is K)

If IJ is different than AB, compare A with I. If same, the coin is J (if different, coin is I)

If ABCD is different with EFGH, compare ABCD with IJKL. If ABCD and IJKL are the same, compare AB with EF. If same, compare A with G. If same, the coin is H (if different, coin is G)

If EF is different than AB, compare A with E. If same, the coin is F (if different, coin is E)

If ABCD and IJKL are different, compare AB with EF. If same, compare A with E. If same, the coin is B (if different, coin is A)

If EF is different than AB, compare C with E. If same, the coin is D (if different, coin is C)



I think that takes care of all possibilities in 4 tries
Peaked at C- on ICCUP and proud of it! @Sunyveil
Bebop Berserker
Profile Joined April 2009
United States246 Posts
April 24 2009 00:19 GMT
#11

On April 24 2009 09:08 TheYango wrote:
+ Show Spoiler +
Put 6 coins on each side of the scale. One side will be lighter, and one will be heavier. Take all the coins off, and put 3 on each side from the set of 6 coins that were on the lighter side. If the piles weigh the same, then the fake is heavier than normal. If they're different, then the fake is lighter than normal.

If the fake is lighter than normal, take the lighter of the 2 piles you just weighed. Compare any 2 of those 3 on the scale. If they weigh the same, the third one is the fake. If they're different, the lighter one is the fake.

If you found out the fake is heavier than normal, then split the heavier pile from the original weighing into piles of 3 and compare them. Take the heavier of the 2, and weigh any 2 of those 3. If they weigh the same, the third one is the fake. If they're different, the heavier one is the fake.

Thats three weighings if the fake is lighter than normal, and four if the fake is heavier than normal.


Nice. Mine came out to be four/four but this seems right. I was just being stupid.(go figure)
Whatever happens, happens.
TheYango
Profile Joined September 2008
United States47024 Posts
Last Edited: 2009-04-24 00:25:50
April 24 2009 00:22 GMT
#12
On April 24 2009 09:15 Byo wrote:
actually, optimum method can find the result in 3 weighs regardless of heavier or lighter....

How about this:
+ Show Spoiler +

Coins A-L.
Weigh ABCD v EFGH and ABCD v IJKL.
If ABCD is the same as either, the other 4 contain the fake and you know if the fake is lighter/heavier by whether that pile is lighter/heavier (e.g. if ABCD = EFGH and ABCD > IJKL, then IJKL has the fake and the fake is lighter). If ABCD is different, then ABCD contains the fake, and you know if the fake is lighter/heaver by whether ABCD is lighter/heaver than the other two.

Call the pile with the fake now PQRS.
Weigh PQ v RS, choose the one you know has the fake from whether the fake is heavier/lighter as determined above, and weigh those. The fake is lighter/heavier as determined above.

3 weighs every time.
EDIT: wow, I can't count. Will figure out in a bit.
Moderator
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
April 24 2009 00:23 GMT
#13
On April 24 2009 09:22 TheYango wrote:
Show nested quote +
On April 24 2009 09:15 Byo wrote:
actually, optimum method can find the result in 3 weighs regardless of heavier or lighter....

How about this:
+ Show Spoiler +

Coins A-L.
Weigh ABCD v EFGH and ABCD v IJKL.
If ABCD is the same as either, the other 4 contain the fake and you know if the fake is lighter/heavier by whether that pile is lighter/heavier (e.g. if ABCD = EFGH and ABCD > IJKL, then IJKL has the fake and the fake is lighter). If ABCD is different, then ABCD contains the fake, and you know if the fake is lighter/heaver by whether ABCD is lighter/heaver than the other two.

Call the pile with the fake now PQRS.
Weigh PQ v RS, choose the one you know has the fake from the fake weight determined above, and weigh those. The fake is lighter/heavier as determined above.

3 weighs every time.

i count 4 man
posting on liquid sites in current year
TheYango
Profile Joined September 2008
United States47024 Posts
April 24 2009 00:24 GMT
#14
On April 24 2009 09:23 SpiritoftheTunA wrote:
Show nested quote +
On April 24 2009 09:22 TheYango wrote:
On April 24 2009 09:15 Byo wrote:
actually, optimum method can find the result in 3 weighs regardless of heavier or lighter....

How about this:
+ Show Spoiler +

Coins A-L.
Weigh ABCD v EFGH and ABCD v IJKL.
If ABCD is the same as either, the other 4 contain the fake and you know if the fake is lighter/heavier by whether that pile is lighter/heavier (e.g. if ABCD = EFGH and ABCD > IJKL, then IJKL has the fake and the fake is lighter). If ABCD is different, then ABCD contains the fake, and you know if the fake is lighter/heaver by whether ABCD is lighter/heaver than the other two.

Call the pile with the fake now PQRS.
Weigh PQ v RS, choose the one you know has the fake from the fake weight determined above, and weigh those. The fake is lighter/heavier as determined above.

3 weighs every time.

i count 4 man

Wow I'm dumb.
Edit in a bit.
Moderator
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
April 24 2009 00:25 GMT
#15
you'd probably need to mix up the groups across weighings
posting on liquid sites in current year
goldrush
Profile Blog Joined June 2004
Canada709 Posts
Last Edited: 2009-04-24 00:34:21
April 24 2009 00:29 GMT
#16
Maybe this...

+ Show Spoiler +


(ABCDEF) versus (GHIJKL)
(ABCGHI) versus (DEFJKL)

Find which group of three is heavier or lighter.

Take two from the group of three, measure. If equal, odd one out. If not equal, you know whether the odd one is supposed to be lighter/heavier and that one is it.



edit: nope, nvm
TheYango
Profile Joined September 2008
United States47024 Posts
April 24 2009 00:31 GMT
#17
On April 24 2009 09:29 goldrush wrote:
Second try, I think I got it.

+ Show Spoiler +


(ABCDEF) versus (GHIJKL)
(ABCGHI) versus (DEFJKL)

Find which group of three is heavier or lighter.

Take two from the group of three, measure. If equal, odd one out. If not equal, you know whether the odd one is supposed to be lighter/heavier and that one is it.



edit: or not

Yeah, your first 2 weighings don't guarantee finding which group is heavier.
Moderator
OmgIRok
Profile Blog Joined June 2008
Taiwan2699 Posts
April 24 2009 00:33 GMT
#18


1a) weigh 5 coins on each scale, if there is an imbalance, then move on to step 2a
1b) same as 1a except they both weigh the same
2b) weigh the remaining 2 coins

2a) keep taking out 1 coin from both piles until the weight is the same,
3) weigh the 2 coins that you took out from the pile before it made it even weight
"Wanna join my [combo] clan?" "We play turret d competitively"
TheYango
Profile Joined September 2008
United States47024 Posts
Last Edited: 2009-04-24 00:41:36
April 24 2009 00:35 GMT
#19
On April 24 2009 09:33 OmgIRok wrote:
3) weigh the 2 coins that you took out from the pile before it made it even weight

How does this determine the fake? None of your previous steps ascertain whether the fake is lighter or heavier.

Edit: However, weighing one of those two with a third coin does. Still iffy on whether taking coins out constitutes a separate weighing, but this at least works.
Moderator
SpiritoftheTunA
Profile Blog Joined August 2006
United States20903 Posts
April 24 2009 00:36 GMT
#20
On April 24 2009 09:33 OmgIRok wrote:


1a) weigh 5 coins on each scale, if there is an imbalance, then move on to step 2a
1b) same as 1a except they both weigh the same
2b) weigh the remaining 2 coins

2a) keep taking out 1 coin from both piles until the weight is the same,
3) weigh the 2 coins that you took out from the pile before it made it even weight

yeah the existence of 2a means you can't guarantee < 3

try again mang
posting on liquid sites in current year
1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
SEL S2 Championship: Ro16
CranKy Ducklings143
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft234
RuFF_SC2 133
ProTech89
StarCraft: Brood War
Nal_rA 506
Sharp 48
Bale 15
Icarus 13
Dota 2
monkeys_forever966
NeuroSwarm19
League of Legends
JimRising 603
Counter-Strike
Stewie2K839
Coldzera 179
Super Smash Bros
hungrybox599
Mew2King19
Other Games
tarik_tv9556
summit1g8028
shahzam667
C9.Mang0362
ViBE226
Maynarde118
ROOTCatZ12
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• practicex 6
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota2880
League of Legends
• Rush818
• Stunt337
• Lourlo110
Upcoming Events
The PondCast
7h 6m
WardiTV Summer Champion…
8h 6m
herO vs MaxPax
Clem vs Classic
Replay Cast
21h 6m
LiuLi Cup
1d 8h
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
1d 13h
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
1d 13h
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
1d 16h
Team Hawk vs Team Dewalt
BSL Team Wars
1d 16h
Team Hawk vs Team Bonyth
SC Evo League
2 days
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
2 days
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[ Show More ]
[BSL 2025] Weekly
2 days
SC Evo League
3 days
Maestros of the Game
3 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
3 days
Team Bonyth vs Team Sziky
BSL Team Wars
3 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
4 days
Replay Cast
4 days
Sparkling Tuna Cup
5 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
WardiTV Summer 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 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.