A collection of 2015 balls are numbered from 1 to 2015. Each ball may be coloured green or red according to the following rules:

(i) If balls \(a\) and \(b\) are two different red balls with \(a+b \leq 2015\), the ball \(a+b\) is also red.

(ii) If ball \(a\) is red and another ball \(b\) is green with \(a+b \leq 2015\), then \(a+b\) is green.

Find, with proof, the number of different possible ways of colouring the 2015 balls.

**Bonus:** Generalise this for \(n\) balls.

No vote yet

1 vote

×

Problem Loading...

Note Loading...

Set Loading...

Easy Math Editor

`*italics*`

or`_italics_`

italics`**bold**`

or`__bold__`

boldNote: you must add a full line of space before and after lists for them to show up correctlyparagraph 1

paragraph 2

`[example link](https://brilliant.org)`

`> This is a quote`

Remember to wrap math in \( ... \) 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

Sort by:

TopNewestSuppose there are \(N\) balls.

All green is one possible coloring. Otherwise, there exists a red ball; let \(m\) be the smallest red ball. We claim that all balls with number not a multiple of \(m\) are green. Suppose there exists another red ball with number not divisible by \(m\); let the smallest of such numbers be \(n\). Since \(m\) is the smallest red ball, \(n > m\); also, since \(n\) is not divisible by \(m\), \(n-m \neq m\). Thus \(n-m\) is green. But \(m\) is red, so \(n = (n-m)+m\) should be green, contradiction.

A single red ball is also a possible coloring. Otherwise, there exists a second red ball. As shown above, this red ball must be a multiple of \(m\); call the smallest one to be \(km\). If \(k \ge 3\), we can use the same argument as above to reach a contradiction, so \(k = 2\). Now we claim that all multiples of \(m\) are red. Suppose there exists a green ball that is a multiple of \(m\); call the smallest one to be \(km\). Since \(m, 2m\) are red by assumption above, \(k \ge 3\), so \(k-1 \ge 2\). So \(m, (k-1)m\) are different balls, and since \(km\) is the smallest green ball, \((k-1)m\) is red. But then \(km = m + (k-1)m\) should be green, contradiction.

We have determined all the possible colorings above:

In total, there are \(2N + 1 - \lceil \frac{N}{2} \rceil\) colorings. For \(N = 2015\), this gives \(3023\).

Log in to reply

If ball a is green and ball b is green then ball a+b<2015 then A+B IS GREEN

Log in to reply