A probability problem by soumyaranjan ram

On a large 999 × 999 999 \times 999 board, each cell is colored either white or black.

Define a coordinated triple of cells ( C 1 , C 2 , C 3 ) (C_1, C_2, C_3 ) as the formation such that

  • C 1 C_1 and C 2 C_2 are in the same row;
  • C 2 C_2 and C 3 C_3 are in the same column;
  • C 1 C_1 and C 3 C_3 are white;
  • C 2 C_2 is black.

What is the maximum number of coordinated triples? Enter your answer as the last three digits of that maximum.


The answer is 852.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Calvin Lin Staff
Apr 5, 2017

[This is not a solution. Discuss in the comments how one can approach this problem.]

We are looking for a maximum value of 999 * n * (999-n)^2, where n is the number of black squares in each row and column.

Differentiate f(n)=n^3 - 2 * 999 * n^2 + 999^2 and solve the quadratic

f'(n) = 3 * n^2 - 4 * 999 * n + 999^2 =0

To give solutions n=333 and 999. The second of these is a minimum value, since f (n)=0, so it only remains to calculate 999 * 333 * 666^2 (mod 1000)

Malcolm Rich - 4 years, 2 months ago

Log in to reply

Sorry again but my solutions seem to be losing the multiplier symbols.

f (n) = n^3 - 2 x 999 x n^2 + 999^2

The final calculation is:

999 x 333 x 666 x 666

Malcolm Rich - 4 years, 2 months ago

Log in to reply

FYI The reason why you're losing the multiplier symbols, is because we use markdown for our text. Placing * directly next to words would cause them to be italicized, like so: * 123 * (with no spaces) will produce 123 .

So, to avoid losing the multiplier symbols, just leave spaces all over. I've edited your first comment to reflect this.

Calvin Lin Staff - 4 years, 2 months ago

How do you know that the number of black squares in each row and column is a constant?

Alex Li - 4 years, 2 months ago

Log in to reply

You can demonstrate this is a local maximum by seeing what happens if any of the squares switches from black to white, or vice versa, but I'd accept this is not a comprehensive proof that the result has to be a regular pattern.

Malcolm Rich - 4 years, 2 months ago

Log in to reply

@Malcolm Rich Right. The proper proof is slightly more involved, and uses a bunch of counting and inequality arguments to get at it. Studying the 3 × 3 3 \times 3 and 6 × 6 6 \times 6 case might provide some insights.

Calvin Lin Staff - 4 years, 2 months ago

Solution here works for symmetric arrangements

Let n be the number of black squares in each column and row. Goal is then to maximise 999*n999-n)^2

Malcolm Rich - 4 years, 2 months ago

Log in to reply

Don't know what happened to the rest of this.

Malcolm Rich - 4 years, 2 months ago

The problem needs to describe the board better, with an odd number the answer will change if the corners are black or white.

A Former Brilliant Member - 4 years, 1 month ago

Log in to reply

You get to determine how to color the board, and have to find the maximum over all such possibilities.

Calvin Lin Staff - 4 years, 1 month ago

One (not so reliable way) to get an approximation is to use an iterative repair approach. You start by choosing a random permutation of a board and change the configuration of some small number of squares so that the new configuration is better according to some heuristic.

Agnishom Chattopadhyay - 4 years, 2 months ago

just leaving a reply incase someone posted a full solution, btw where can i report a bug in the website?

Mehdi K. - 4 years, 2 months ago

Log in to reply

You can email support at brilliant.org for bugs in the product.

If you see an issue with a problem, select "Report Problem" from the menu, which will make it much easier for us to respond.

Calvin Lin Staff - 4 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...