Olympiad Maths Prep

Library / /8 of 8

Combinatorics Difficulty 6.7 National olympiad Prove it Austria

A necklace contains 20162016 pearls, each of which has one of the colours black, green or blue. In each step we replace simultaneously each pearl with a new pearl, where the colour of the new pearl is determined as follows: If the two original neighbours were of the same colour, the new pearl has their colour. If the neighbours had two different colours, the new pearl has the third colour.

a. Is there such a necklace that can be transformed with such steps to a necklace of blue pearls if half of the pearls were black and half of the pearls were green at the start?

b. Is there such a necklace that can be transformed with such steps to a necklace of blue pearls if thousand of the pearls were black at the start and the rest green?

c. Is it possible to transform a necklace that contains exactly two adjacent black pearls and 20142014 blue pearls to a necklace that contains one green pearl and 20152015 blue pearls?

Solution

a. Since 20162016 is divisible by 44, we can alternatingly take two black and two green pearls. In the first step, all pearls are already replaced by blue pearls.

b. If we assign to each blue pearl the number 00, to each green pearl the number 11 and to each black pearl the number 22, then it holds in each step that the new colour of a pearl modulo 33 is equal to the negative sum of its two original neighbours. The new total sum of all colours modulo 33 therefore can be calculated by multiplying the old total sum of all colours with 22 and changing the sign. But modulo 33, a multiplication with 2-2 is equivalent to a multiplication with 11, therefore the total sum always remains the same modulo 33.
For a necklace with only blue pearls the total sum is 00. But for 10001000 black and 10161016 green pearls it is 2000+1016=12000 + 1016 = 1 (mod 33). Therefore, there does not exist an arrangement of 10001000 black and 10161016 green pearls that can be transformed into a necklace with only blue pearls using such steps.

c. Using the same assignment of numbers modulo 33, in each step the sum of all colours in even positions becomes the sum of the colours in odd positions, and vice versa. If these sums are AA and BB in the beginning, then at the end we still have these same two sums modulo 33, maybe with switched positions.
But in the beginning, we have sums 22 and 22 modulo 33, because both among the even and among the odd positions there is exactly one black pearl with value 22, and otherwise only blue pearls with value 00. However, at the end we are supposed to have sums 11 and 00 because one of the two sums is determined only by blue pearls with value 00, and the other by exactly one green pearl with value 11 and only blue pearls with value 00 otherwise. Therefore, it is not possible.

Looking for a route rather than an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.