What is the minimum $n$ such that it is possible to make at least $100$ ordered lists with the numbers $1-n$ (can repeat numbers) of length $5$ with the property that any two ordered lists are the same at one index?
Ex: If we considered $n =10$, then it would be impossible to have the lists $\{1, 2, 6, 8, 3 \}$ and $\{1, 8, 6, 6, 4 \}$ because they both share a $1$ at the first index and a $6$ at the third index.
However, we could have the lists $\{1, 2, 3, 4, 5 \}$ and $\{6, 7, 8, 9, 5\}$ because they only share a $5$ at the last index and one common element is allowed.
I honestly have no idea how to begin with this problem. I was thinking of derangements at first but the casework got very complex. Does anyone have any ideas?