Shortest time in which P catches Q

  • Context: Graduate 
  • Thread starter Thread starter K Sengupta
  • Start date Start date
  • Tags Tags
    Time
Click For Summary

Discussion Overview

The discussion revolves around a problem involving P trying to catch Q, who moves between caves in a linear array. Participants explore various strategies and timeframes for how quickly P can guarantee catching Q, considering Q's movement patterns and P's search capabilities.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests a strategy that could catch Q in 14 days, though they are uncertain about its optimality.
  • Another participant claims to have found a solution that guarantees catching Q in 11 days, indicating a refinement of the initial approach.
  • A different participant proposes a 9 days solution, but later questions its validity based on Q's movement pattern.
  • Discussion includes the observation that Q's movement between odd and even numbered caves can be leveraged to optimize P's search strategy.

Areas of Agreement / Disagreement

Participants express differing views on the optimal timeframes for catching Q, with no consensus reached on the best solution. Multiple competing strategies are presented, and some participants refine or challenge earlier claims.

Contextual Notes

Participants' proposed solutions depend on specific assumptions about Q's movement and P's search strategy, which may not be fully resolved. The validity of the 9 days solution remains uncertain due to the complexity of Q's movements.

K Sengupta
Messages
113
Reaction score
0
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 into 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?
 
Mathematics news on Phys.org
Well, I can think of a way to get him in 14 days... not sure if it's optimal, though... Hmmm.

DaveE
 
I had found a 14 days solution, too...
[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.
[2,4] [5,7] [8,10] [11,13] [14,16] [17,16] [15,13] [12,10] [9,7] [6,4] [3,1]
:smile:
 
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
 
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.
 
Soca fo so said:
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]
 
Ah yes, damn :smile:
 
Last edited:

Similar threads

Replies
2
Views
2K
Replies
18
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 1 ·
Replies
1
Views
910
  • · Replies 4 ·
Replies
4
Views
3K
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K