I just saw this post... even though it is quite old I wanted to input some statistics into the solution.
1. If you buy the 1st ticket sold out of 100 your chances are 1/100
2. If you buy the 44th ticket sold out of 100 your chances are now 44/56 assuming the winning ticket has not yet been...