this problem is a very famous pigeonhole principle problem.
Going from this, how can I prove that 1, 11, 111, ..., 111...111 (2023 ones) has at least one number divisible by 2023?
I began by thinking about the remainders. If I divide all of the numbers by 2023, there are 2023 possible remainders (0, 1, ..., 2022). Since there are 2023 possible remainders and 2023 different numbers, there must be at least one "pigeon" (number) in each "pigeonhole" (remainders). One of which is 0 which represents a number that can be divisible by 2023.
It seems like my reasoning here is flawed. For example, if I take the case of n = 4 and look at the sequence 1, 11, 111, 111, this doesn't hold.
In the original problem, linked at the top, it makes sense that there must be at least one pigeonhole with two pigeons. However, in this case, there are n, not n+1, total numbers. How can I approach this?