October 27, 2011
Problem 100

Finding the number of blue discs for which there is 50% chance of taking two blue.

I started researching the hypergeometric distribution and thought about comparing it to a binomial distribution at large numbers before twigging that if you expand the problem it’s a quadratic Diophantine equation. There’s an online solver that provides factors for these equations and after that it was simply a matter of plugging them in.

8:30pm  |   URL: http://tmblr.co/ZyENbyBB5-f7
Filed under: Project Euler nerd