image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > PF Lounge > General Discussion > Fun, Photos & Games > Brain Teasers


Reply

image Shortest time in which P catches Q Share It Thread Tools Search this Thread image
Old Feb18-09, 11:19 PM                  #1
K Sengupta

K Sengupta is Offline:
Posts: 89
Shortest time in which P catches Q

P is hot in pursuit of his enemy Q, who is hiding in one of 17 caves.

The caves form a linear array, and every night Q moves from the cave he is in to one of the caves on either side of it.

P can search two caves each day, with no restrictions on his choice.

For example, if P searches (1, 2), (2, 3), ..., (16, 17), then he is certain to catch Q, though it might take him 16 days.

What is the shortest time in which P can be guaranteed of catching Q?
  Reply With Quote
Old Feb19-09, 12:50 AM                  #2
davee123

davee123 is Offline:
Posts: 468
Re: Shortest time in which P catches Q

Well, I can think of a way to get him in 14 days... not sure if it's optimal, though... Hmmm.

DaveE
  Reply With Quote
Old Feb19-09, 02:46 PM                  #3
Rogerio

Rogerio is Offline:
Posts: 343
Re: Shortest time in which P catches Q

I had found a 14 days solution, too...
Spoiler
[2,4] [2,4] [4,6] [4,6] [6,8] [6,8] [8,10] [8,10] [10,12] [10,12] [12,14] [12,14] [14,16] [14,16]

But then, I realized it could be done in 11 days.
Spoiler
[2,4] [5,7] [8,10] [11,13] [14,16] [17,16] [15,13] [12,10] [9,7] [6,4] [3,1]

  Reply With Quote
Old Feb19-09, 04:19 PM                  #4
davee123

davee123 is Offline:
Posts: 468
Re: Shortest time in which P catches Q

Ahhh yes, clever-- take advantage of the fact that if he's in an odd numbered cave on odd days, he has to be in an even numbered cave on even days, and visa versa.

DaveE
  Reply With Quote
Old Feb26-09, 11:58 AM                  #5
Soca fo so

Soca fo so is Offline:
Posts: 36
Re: Shortest time in which P catches Q

I've found a 9 days solution I think...

Spoiler
[2,4] [2,4] [4,6] [6,8] [8,10] [10,12] [12,14] [14,16] [14,16]

Actually looking at it now, it's pretty much the 14 days solution but you don't have to double up on each pair of caves in consecutive days, just the second of the pair.
  Reply With Quote
Old Feb26-09, 12:38 PM                  #6
Rogerio

Rogerio is Offline:
Posts: 343
Re: Shortest time in which P catches Q

Originally Posted by Soca fo so View Post
I've found a 9 days solution I think...

[2,4] [2,4] [4,6] [6,8] [8,10] [10,12] [12,14] [14,16] [14,16]

Actually looking at it now, it's pretty much the 14 days solution but you don't have to double up on each pair of caves in consecutive days, just the second of the pair.
It is not a solution...
Enemy Q moves:
[5] [6] [5] [4] [5] [4] [5] [4] [5]
  Reply With Quote
Old Feb26-09, 01:37 PM       Last edited by Soca fo so; Feb26-09 at 02:24 PM..            #7
Soca fo so

Soca fo so is Offline:
Posts: 36
Re: Shortest time in which P catches Q

Ah yes, damn
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Shortest time in which P catches Q
Thread Thread Starter Forum Replies Last Post
Finding the shortest possiblee travel time dotfortun3 Introductory Physics 5 Sep11-08 05:23 PM
Car Catches Car problem rgalvan2 Introductory Physics 0 Sep1-08 03:37 PM
Who's done the most homework in shortest amount of time? Jameson Calculus & Analysis 21 Mar6-05 10:38 PM
shortest time from a point to a moving point yang Calculus & Analysis 5 Sep16-04 10:42 PM
Motorcycle Catches a Car EaGlE Introductory Physics 14 Sep7-04 11:32 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image