42. Schoolboy solves problems throughout the year; every day - at least one problem. Each week, to avoid overworking, he solves no more than 12 problems. Prove that there will be several consecutive days during which he will solve exactly 20 problems.
Problem 994
Official solution
42. Suppose that on the first day, the student solved problems, in the first two days problems, and in the first 77 days (11 weeks) problems.
Consider the numbers
There are 154 numbers in total. Note that is no more than . Therefore, all the listed numbers do not exceed , and thus there are two equal numbers among them. However, all the numbers in the first row are distinct, and therefore the numbers in the second row are also distinct. Consequently, there exist such numbers and , that