Problem:
A finite sequence of 0s and 1s has the following properties: (1) for any , the sequences of length 5 beginning at position and position are different; (2) if you add an additional digit at either the start or end of the sequence, then (1) no longer holds. Prove that the first 4 digits of the sequence are the same as the last 4 digits.
Solution
Solution:
Let the last 4 digits be . Then the 5 digit sequences and must occur somewhere. If neither of them are at the beginning then there are three 5 digit sequences , two of which must therefore be the same, contradicting (1). Hence are the first 4 digits.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.