MathDB
no of binary sequences S of length 2015

Source: 2015 Saudi Arabia IMO TST III p3

July 24, 2020
combinatoricsnumber theorysum of digits

Problem Statement

Find the number of binary sequences SS of length 20152015 such that for any two segments I1,I2I_1, I_2 of SS of the same length, we have • The sum of digits of I1I_1 differs from the sum of digits of I2I_2 by at most 11, • If I1I_1 begins on the left end of S then the sum of digits of I1I_1 is not greater than the sum of digits of I2I_2, • If I2I_2 ends on the right end of S then the sum of digits of I2I_2 is not less than the sum of digits of I1I_1.
Lê Anh Vinh