2022/23 AHSMC Part 1 Problem 9
Problem 9 of 16
On a farm with several barns, there are pigs and ducks, altogether legs in each barn, in all possible combinations, and such that the total number of pigs and ducks in each barn is different. A random barn is chosen; what is the probability that the total number of pigs and ducks in that barn is a prime number?
Answer choices
Show solution
Solution
Let be the number of pigs and be the number of ducks, so or . From this scenario, there are different combinations for and which are , , , , , , , , , , and so we conclude that there are barns at the farm.
Therefore, there are , , , and out of barns such that the total number of pigs and ducks is a prime number. The answer is (B).