Scientists have discovered a specimen, called the Pareraretee parasite. When seeded in a square grid, the Pareraretee parasite reproduces in one of 2 ways:
1) If cells and have been infected, then cells and will become infected.
2) If cells and have been infected, and , , then the cell will also become infected.
If we start with a board, what is the minimum number of cells we have to infect, to guarantee that the entire board eventually becomes infected?
For a general board, what is , the minimum number of cells that we have to infect?
If we only use condition 1, then it is clear that if all the cells on the diagonal (i.e. of the form ) were infected, the entire board will become infected. Thus, . Can you do better?
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
I don't think if we are using only condition 1 the bound of CN≤N can be improved. Because if initially there is no parasite at a certain xi=k line, there will not be any parasite on that line hereafter.
Log in to reply
Yes, if only condition 1 was used, then the minimum number of parasites needed is N.
I am pretty certain I know the answer, but there's an off chance that I could be wrong.
Note that CN is much less than N for large N. In particular, C2013<100.
Log in to reply
I have a suspicion that CN≤(logN)2. A possible arrangement could be to place parasites initially on the points (2i,2j),0≤i≤logN,0≤j≤logN
I think there might be a typo in the first condition. Shouldn't it be if (x1,y1) and (x2,y2) are infected?
Log in to reply
Updated. Error was in both conditions (since I copy and paste)
Log in to reply
CN=2 if N=2x+1 for some integer x≥0,
CN=3 if N=2x+2y+1 for distinct integers x,y≥0,
CN=4 otherwise.
Outline-type reasoning: For all 2x such that x≥0, if we place parasites on (n,n) and (2x+n,2x+n), they will infect all (k,k), where n≤k≤2x+n. Therefore, if N=2x+1, then we place parasites on (1,1) and (2x+1,2x+1). If N=2x+2y+1, then we place parasites on (1,1), (2x+1,2x+1) or (2y+1,2y+1), and (2x+2y+1,2x+2y+1). Otherwise, we place parasites on (1,1), (N−2i,N−2i), (2i+1,2i+1), and (N,N) (if 2i is the largest power of 2 under N). Then, we use condition 1 after all (n,n) are infected.
Log in to reply
N−2i to N will be filled?
Can you explain why 4 parasites would be sufficient in all other cases? How do you know that the entire region fromAlso, another major part of this problem is showing that you found the minimum. E.g. in the case of 7=22+21+1 or 4=21+20+1, how do you know that it can't be done with 2? We could check cases of placement, but this could become tedious in general.
Log in to reply
(n,n) and (2x+n,2x+n), then that diagonal will be filled" is true. (I forgot this last time)
Before I begin, I'll prove why "if we place parasites onIf we place parasites on (n,n) and (2x+n,2x+n), on the first cycle, they'll fill up (n+2x−1,n+2x−1). On the second cycle, they'll fill up (n+2x−1±2x−2,n+2x−1±2x−2) (on the diagonal, so the x and y values are the same). On the third cycle, they'll fill up(n+2x−1±2x−2±2x−3,n+2x−1±2x−2±2x−3), and so on until the xth cycle, where they'll fill up(n+2x−1±2x−2±2x−3±...±21±1,n+2x−1±2x−2±2x−3±...±21±1), where the x and y values are the same. Each cycle filled up 2k−1 spaces on the diagonal, so the number of spaces filled on the diagonal are 2+20+21+22+23+...+2x−1=(2x−1)+2=2x+1. Since there are 2x+1 points on the diagonal between (n,n) and (2x+n,2x+n), inclusive, every point must've been filled. (You can probably prove this by using binary too)
Well, I know that the entire diagonal from (N−2i,N−2i) to (N,N) will be filled because it's the same thing as knowing that if we place parasites on (n,n) and (2x+n,2x+n), then that diagonal will be filled. Substituting n=N−2i gives that "if we place parasites on (N−2i,N−2i) and (N−2i+2i,N−2i+2i) (or (N,N)), then that diagonal will be filled." The key point here is that any two parasites can produce other parasites. Not just the closest two, any two. (4 parasites are sufficient because every point on the diagonals (1,1) to (2i+1,2i+1) and (N−2i,N−2i) to (N,N) will be filled, and since N−2i<2i+1, the diagonals overlap, so clearly every point on the diagonal from (1,1) to (N,N) will be filled.)
The problem about my reasoning is that, as you've pointed out, I haven't proven that it is the minimum. I'm certain that this works for larger numbers, but for smaller cases, I don't really know how to prove that this is the minimum. I think that you always need 2 parasites on opposite corners, though, and if N=2x+1, you need at least 1 extra parasite somewhere else.
Log in to reply
Once you figured it out, please post your solution as a new comment thread.