Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2009/iii/paper-36/1/c/solution

Put , , and . Integrate the future binomial distribution against the current beta distribution posterior density:
This is the beta-binomial distribution. For positive integer , the gamma function values reduce to factorials, giving
Using and rewrites this as
Substitution of gives exactly the two required factors. The probability is zero outside .

New to topics? Read the docs here!