fifthist / Introduction-To-Probability-Blitzstein-Solutions

Unofficial solutions for Introduction to Probability, Second Edition by Joseph Blitzstein and Jessica Hwang.

Home Page:https://fifthist.github.io/Introduction-To-Probability-Blitzstein-Solutions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ch1 Q14

JoeZiminski opened this issue · comments

Dear fifthist,

Firstly I'd just like to say thanks for taking the time to upload your answers to this repo. I have been working through this book also and was really desperate to check my answers / see the solution when I could not figure it out so I really appreciate this resource and the insight gained for from your answers.

For Ch1 Q14 I got a different answer, based on the number of ways to count the possible combinations of pizzas. In the question it says 'any combination of 8 possible toppings' which I took to mean there are 8 choices for toppings and we can have any combination (rather than 8 possible toppings total). As such I calculated the possible number of pizzas as:

(in matlab code):
4 * nchoosek(8, 0) + nchoosek(8, 1) + nchoosek(8, 2) + nchoosek(8, 3) + nchoosek(8, 4) + nchoosek(8, 5) + nchoosek(8, 6) + nchoosek(8, 7) + nchoosek(8,8) = 1024

From this I used the Bose-Einstein coefficient to get a final answer of nchoosek(1023, 2). Please let me know what you think!

Best,
Joe