Maths Olympiad Prep

Library / /21 of 377

Combinatorics Difficulty 4.3 AIME Find the answer United States

Problem:

Farmer John has 5 cows, 4 pigs, and 7 horses. How many ways can he pair up the animals so that every pair consists of animals of different species? Assume that all animals are distinguishable from each other. (Please write your answer as an integer, without any incomplete computations.)

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

Answer: 100800100800

Since there are 99 cow and pigs combined and 77 horses, there must be a pair with 11 cow and 11 pig, and all the other pairs must contain a horse. There are 4×54 \times 5 ways of selecting the cow-pig pair, and 7!7! ways to select the partners for the horses. It follows that the answer is 4×5×7!=1008004 \times 5 \times 7! = 100800.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.