EDIT: above is assuming that you can win more than once if k > 1. If not, the math is more complicated than I can be bothered to try to format in an HN post, but the principle should hold.
My expected return may go down if the person in front of my wins (I have to split with more people, so each winner gets less) - but my chances of winning don't change.
I think the form of lottery I (and others) are referring to is the one where there are N unique tickets and you have a 1/N chance of matching those N numbers. Therefore, there is no dependence between different tickets and the likelihood of matching the winning numbers.
The takeaway is that "distributed uniformly at random" is not a great assumption at all when inputs are generated by a process. It's one of the relatively few things I did learn in my graduate algorithms class.
The guy in front of you has a 1/10 chance of hitting the winner. You ALSO have a 1/10 chance of hitting the winner.
The likelihood of you BOTH hitting the winner in a row is 1/10*1/10 = 1/100.
So, yes, the person in front of you winning DOES decrease your chances of winning. You could also think about it like this:
You have made a few simplifying assumptions. One, that the pmf of picking an number is uniform, and two, that the two choices are independent.
WLOG the first person is male (ease of pronoun usage)
Neither of these are particularly odd assumptions.
Therefore. You have a 1/10 chance of winning. He has a 1/10 chance of winning.
The probability of you BOTH winning is 1/100.
The probability of you winning GIVEN that he won is 1/10.
This is because P(A|B) = P(AB)/P(B) => 1/10 = (1/10 x 1/10)/(1/10), which is in fact a consequence of independence.
To explain: Conditional probability is special. Unlike the intersection, you have to correct for all the stuff that you know wasn't possible (i.e., guy 1 choosing the wrong number). In this case, that exactly compensates for the low probability of the intersection.
EDIT: Asterisks for times and italics don't mix
I'm assuming that you and/or the GP are assuming that everyone can win and everyone's ticket has a random digit drawn separately. However, if we assume that you know what number you picked, you don't know the result of the lottery, you know that the person in front of you won, and he chose his digit uniformly at random, the probability is still 1/10, because it has already been decided that he and the lottery chose the same digit.
IMO my answer to your question would be, it doesn't.
But - forest, trees, guys? Seriously?
Clearly it isn't a forest/trees issue, I just thought it was a bizarre addition since under any reasonable assumptions it is incorrect.