Skip to main content
OlympiadHQ

Browse · MathNet

Print

SILK ROAD MATHEMATICS COMPETITION XX

algebra

Problem

A sequence consisting of zeroes and ones is given. For each positive integer we define as the maximum number of ways to find consecutive digits forming the sequence in a sequence of digits. (For example, if , then , since in the sequences 0110110 and 01101100 consecutive digits 0110 are found in two places, and three pairs of ones surrounded by zeroes can not occur in a sequence of 7 or 8 digits.) It is known that for some positive integer . Prove that all the digits in the sequence are identical.
Solution
Let the sequence have length , and some sequence of length be . If two occurrences of in begin with and , then for . When this means that for , that is, is the beginning of the (infinite) periodic sequence with period . We choose the minimum such ; if no such exists, we let (since is obviously the beginning of the periodic sequence ).

We have seen that the number of places in where the occurrences of begin must differ at least by . If there are such occurrences, the last one should begin at the place with number not less than , so . It follows that the number of occurrences of in any sequence of length does not exceed .

On the other hand, an example of a sequence where can be found in this number of ways, is given by the periodic sequence .

We have proved that , and the problem states that If the inequality holds for an integer and a positive integer , then divides (since an integer which is greater than and not greater than , can be presented as a fraction with denominator and therefore equals ). Therefore, the problem implies that divides both and , which is possible for only. By the definition of we have for , that is, every two consecutive digits in are equal. Thus all the digits of are equal.

Techniques

Floors and ceilingsOtherOther