(no title)
SethTro | 3 months ago
I'm so happy to have spent twenty years of my life learning math and solving problems on Project Euler and elsewhere.
SethTro | 3 months ago
I'm so happy to have spent twenty years of my life learning math and solving problems on Project Euler and elsewhere.
am17an|3 months ago
vhcr|3 months ago
SethTro|3 months ago
dpacmittal|3 months ago
knollimar|3 months ago
stevefan1999|3 months ago
That means one of the total sum of possible car plates is 26^3.
Since we want to find pairs (x, y) that x + y = 1000. That means the total sum would also add up sum([1 for x in range(1000) for y in range(1000) if x + y == 1000])/2 since there is a symmetry.
But wait, find the expected number of plates he needs to see for a win. So maybe we need to borrow something from statistics (Possion/chi-squared distribution) or queueing theory...?
Edit: ah I saw the solution, it is a Markov chain.
unknown|3 months ago
[deleted]
dekhn|3 months ago