
07-04-2009, 09:27 PM
|
|
100+ Head-Fi'er
|
|
Join Date: Mar 2007
Location: Liverpool/London
Posts: 174
|
|
Logic Puzzle
Hey guys,
Firstly this post has nothing to do with anything audio.
I heard a logic puzzle a few days ago that has been puzzling me but I can't remember the exact question. Maybe you guys can either solve it, or if my memory is faulty, give me the right question (and answer hopefully).
Line up 100 fish one behind another each with a speed between 1-100(arbitrary units) such that no fish has the same speed as any other. All fish swim in the same direction and slower fish are eaten by faster fish. However, having devoured a slower fish the faster fish will resume at the speed of the slower fish. What is the expected number of surviving fish assuming a normal distribution of the fish (this part is confusing as each fish takes a different speed then surely it should say random distribution)?
For example: if there were an arrangement of 4 fish with speeds 4-2-3-1 swimming to the right then there would only be 1 remaining fish.
As '3' eats '1' so you now have 4-2-1 (remember after eating the '1' the '3' fish resumes at the speed of the fish it just ate). Then '2' eats '1' so you have 4-1 and then '4' eats '1' so just 1 fish remaining.
Last edited by xiaoipower; 07-05-2009 at 01:52 AM.
|

07-04-2009, 11:12 PM
|
 |
500+ Head-Fi'er
|
|
Join Date: Nov 2008
Location: Pullman, WA / Bremerton, WA
Posts: 957
|
|
From how I understand the question, it seems like there will always be a faster fish and a slower fish. So wouldn't there end up with only one fish left, with a speed of 1?
I also don't get how there can be a normal distribution if there is one fish for each speed.
Weird. I don't know.
__________________
Inland Pacific Northwest meet! click here for details!
FS>
WTB>Sennheiser HD600/650 grills
Feedback
GEAR
Headphones/IEMs: HD580, IE8, MDR-AS100W, MDR-EX082
Amps: aune DAC/Amp, FiiO E1, Technics SA-EX310
Sources: iPod Touch 2G, Sony A816, Rio Carbon 5GB, computer+aune
Gone: SRH-840, ATH-ES7, TF10, X10, SA6, SCL4, SCL3, DIY K272 tube amp, XM4, PA2V2, FiiO E3
|

07-04-2009, 11:29 PM
|
 |
Headphoneus Supremus
|
|
Join Date: Jan 2008
Location: E Anglia, UK
Posts: 2,189
|
|
i wouldve said opposite, if they all started at the same pint wouldnt none of them catch each other? cause they would just spread out? or am i missing something?
the fastest would start infront and never be causght, the slowest would start at the back and never catch up etc
ie
1234
1.2...3.......4
1...2...............3............................. ......................4
__________________
Phones : UE TF 10 I Denon D2000 I NEW! Ultrasone HFI-780 (S2) !NEW I Grado 325i I Sony SA5000 I Shure SE530
Amps : Headamp Pico
Source : Iphone 8GB L/O I Dell XPS H/O I Ipod Nano 1G
Own I Desire I Rejected Review :UE TF 10 VS SE530
[30% symphonic metal] [30% classical] [25% electro/trance] [10% Other metal] [5% other]
|

07-05-2009, 12:30 AM
|
 |
500+ Head-Fi'er
|
|
Join Date: Nov 2008
Location: Pullman, WA / Bremerton, WA
Posts: 957
|
|
Oh, nice catch Al4x. If they are lined up and going in the same direction, that certainly makes sense.
I need to read more carefully, for some reason I thought they were in a pool or pond or something. :P
__________________
Inland Pacific Northwest meet! click here for details!
FS>
WTB>Sennheiser HD600/650 grills
Feedback
GEAR
Headphones/IEMs: HD580, IE8, MDR-AS100W, MDR-EX082
Amps: aune DAC/Amp, FiiO E1, Technics SA-EX310
Sources: iPod Touch 2G, Sony A816, Rio Carbon 5GB, computer+aune
Gone: SRH-840, ATH-ES7, TF10, X10, SA6, SCL4, SCL3, DIY K272 tube amp, XM4, PA2V2, FiiO E3
|

07-05-2009, 01:14 AM
|
 |
500+ Head-Fi'er
|
|
Join Date: Mar 2007
Location: Cincinnati
Posts: 931
|
|
So the answer is binary. All 1s and 0s.
|

07-05-2009, 01:49 AM
|
|
100+ Head-Fi'er
|
|
Join Date: Mar 2007
Location: Liverpool/London
Posts: 174
|
|
No I'm guessing that the order of the fish is meant to be random so depending on the distribution there are multiple solutions - remember the full question involves 100 fish
but to simplify things with a 4 fish scenario
if the order was 2-1-3-4 (travelling right) then 3 fish would remain
if the order was 3-4-1-2 (right) then 2 fish would remain
So it comes down to which is the most likely scenario given every possible combination of 100 fishes put in random order
Al4x - you may have misread the question - the fish don't start at the same position - they start in a line (ie like a queue one behind another) - I remember the question saying normally distributed but I think it should have read randomly distributed in which case we don't know where the fastest or slowest fish are or any fish for that matter - there are 100! different ways they could be arranged.
Last edited by xiaoipower; 07-05-2009 at 01:52 AM.
|

07-05-2009, 01:56 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Oct 2008
Location: Bergen, Norway
Posts: 1,827
|
|
By 'normal distribution' maybe they mean (when 9 fishes) 135798642?
I know it's not gaussian, but it is as close as one can get with the given conditions.
Or maybe decimals are permitted? (not just natural numbers)
Although those two orders of distribution would give the same result.
__________________
Do what thou wilt shall be the whole of the Law
Love is the law, love under will
Equipment:
Home: White running-shoe –> Bowl of Petunias –> Sperm Whale –> Lemon re-cabled Gold Bricks
Portable: Minstrels
Last edited by limpidglitch; 07-05-2009 at 01:59 AM.
|

07-05-2009, 02:19 AM
|
|
100+ Head-Fi'er
|
|
Join Date: Mar 2007
Location: Liverpool/London
Posts: 174
|
|
normal and gaussian are two distinct things - guassian is the classic bell shape - normal should be straight line - I see no way of ordering different speed fish in a straight line in a speed vs frequency graph
|

07-05-2009, 02:27 AM
|
 |
500+ Head-Fi'er
|
|
Join Date: Jun 2008
Location: Toronto
Posts: 913
|
|
My mind probably works too simply and I'm missing something, but
1. Since each fish swims at a different speed, there will never be any fish swimming at the same speed.
2. There is no time limit, so eventually the faster fish will catch the slower.
3. Therefore 1 fish remaining.
|

07-05-2009, 02:31 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Mar 2006
Location: San Francisco, CA
Posts: 7,084
|
|
Unless there is a faster fish in front of a slower fish, in which case any number of fish can "get away"
__________________
Home: ESI Juli@ (I2S) -> Buffalo32 -> Balanced Dynalo / Melos Maestro / SinglePower MPX3
Headphones: Grado HP-2, RS-1, SR-200, Denon D-5000, Yamaha HP-1
Portable: 240GB diyMod 5.5G -> V-Cap Dock / HifiMan HM-801-> PPAS -> JH13Pro
Office: EAD DSP-7000 -> PPAv2 -> DT770/250
Feedback Digital Audio Primer
|

07-05-2009, 03:05 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Oct 2008
Location: Bergen, Norway
Posts: 1,827
|
|
Quote:
Originally Posted by xiaoipower
normal and gaussian are two distinct things - guassian is the classic bell shape - normal should be straight line - I see no way of ordering different speed fish in a straight line in a speed vs frequency graph
|
Thats 'linear'.
Got an oxford or webster lying around? Look it up.
My answer to the puzzle would be 50 fishes (half the original number)
__________________
Do what thou wilt shall be the whole of the Law
Love is the law, love under will
Equipment:
Home: White running-shoe –> Bowl of Petunias –> Sperm Whale –> Lemon re-cabled Gold Bricks
Portable: Minstrels
Last edited by limpidglitch; 07-05-2009 at 03:08 AM.
|

07-05-2009, 03:05 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Oct 2008
Location: New Haven, CT
Posts: 1,894
|
|
I think that the question was recalled incorrectly or we need to know the definition of a "normal" distribution. With out that, it is just speculation.
__________________
Fubar II DAC --> Cavali-Kan Kumisa III DIY / Beta 22 Active ground (in progress)--> HiFiMAN HE-5
Yes, my source is a few leagues below amp and phones. That will change...
Do you have a contingency plan in the event of a zombie apocalypse?
|

07-05-2009, 07:15 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Jan 2008
Location: E Anglia, UK
Posts: 2,189
|
|
so if it was 1-2-3...100 there would still bbe 100
if it was 100-99-98....1 it would be 1
and anything in between
__________________
Phones : UE TF 10 I Denon D2000 I NEW! Ultrasone HFI-780 (S2) !NEW I Grado 325i I Sony SA5000 I Shure SE530
Amps : Headamp Pico
Source : Iphone 8GB L/O I Dell XPS H/O I Ipod Nano 1G
Own I Desire I Rejected Review :UE TF 10 VS SE530
[30% symphonic metal] [30% classical] [25% electro/trance] [10% Other metal] [5% other]
|

07-05-2009, 07:17 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Jan 2008
Location: E Anglia, UK
Posts: 2,189
|
|
ah i bet it plots a normsl distribution being random with with number of fish surviving on x-axis and % occurance on y-axis, thatd make a normal curve
__________________
Phones : UE TF 10 I Denon D2000 I NEW! Ultrasone HFI-780 (S2) !NEW I Grado 325i I Sony SA5000 I Shure SE530
Amps : Headamp Pico
Source : Iphone 8GB L/O I Dell XPS H/O I Ipod Nano 1G
Own I Desire I Rejected Review :UE TF 10 VS SE530
[30% symphonic metal] [30% classical] [25% electro/trance] [10% Other metal] [5% other]
|

07-05-2009, 10:03 AM
|
 |
Headphoneus Supremus
|
|
Join Date: Dec 2006
Location: Costa Blanca, Spain
Posts: 1,665
|
|
What kind of fish are they
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Headset problem/puzzle
|
Peano |
Computer Audio |
2 |
05-26-2009 10:35 PM |
|
Another Math Puzzle
|
fante7 |
Members' Lounge (General Discussion) |
18 |
07-28-2005 06:22 AM |
|
addictive puzzle!
|
daycart1 |
Members' Lounge (General Discussion) |
8 |
05-21-2005 04:55 AM |
|
Puzzle Donkey
|
Skier4Life |
Members' Lounge (General Discussion) |
0 |
01-19-2005 04:33 PM |
|
Interesting Puzzle...
|
eric343 |
Members' Lounge (General Discussion) |
2 |
08-28-2002 06:44 AM |
All times are GMT. The time now is 12:08 PM.
|
Head-Fi's Sponsors
(Premier Sponsors bolded) |
|
|
Head-Fi Blogs
and Facebook |
|
|
Head-Fi's Sponsors
(Premier Sponsors bolded) |
|
|
|