BdMO 2014 Nationals
$X$ eats 100 chocolates in 58 days,eating at least 1 chocolate per day.Prove that,in some consecutive days,she ate exactly 15 chocolates.
I tried using the pigeonhole principle but that is hardly helping.A hint(not the whole solution) will be very much appreciated.
I think 57 or more and at least 100 chocolates is enough to get the conclusion, if there is at least one chocolate eaten per day.
At the end of every day there is some total number of chocolates that has been eaten.
The set of all totals includes $0$ and $100$, and $57$ other distinct integers from $1$ to $99$. In terms of this set, the question is...
...how large a subset of integers between $0$ and $100$ inclusive, including $0$ and $100$, is needed to guarantee a pair exactly $15$ apart?
A maximum 15-free set is the union of $[0,14]$ with $[30,44]$ and $[60,74]$ and $[90,100]$ for a total of $15+15+15+11 = 56$ numbers. This is optimal because it has the maximum number of elements in every arithmetic progression with a spacing of $15$, and all those progressions can be filled independent of each other.