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 of length such that for any two segments of of the same length, we have
• The sum of digits of differs from the sum of digits of by at most ,
• If begins on the left end of S then the sum of digits of is not greater than the sum of digits of ,
• If ends on the right end of S then the sum of digits of is not less than the sum of digits of .Lê Anh Vinh