2021 LMT Spring Division A Problem 12 / Division B Problem 18
Source:
October 22, 2021
Problem Statement
There are balls on a table, all of which are either red or blue, such that the probability that there are red balls and blue balls on the table () is proportional to . (e.g. the probability that there are red balls and blue balls is twice the probability that there are red ball and blue balls.) Given that the probability that the red balls and blue balls can be arranged in a line such that there is a blue ball on each end, no two red balls are next to each other, and an equal number of blue balls can be placed between each pair of adjacent red balls is , where and are relatively prime positive integers, find . Note: There can be any nonzero number of consecutive blue balls at the ends of the line.Proposed by Ada Tsui