Maths Olympiad Prep

Track / Stage 3 / 158 of 260 #798 of 2604

Problem 798

AMC 10/12, early questions
Combinatorics Difficulty 3.7 Find the answer UkraineMO · Ukraine

Petro has to plant 88 trees in a row: apple trees or oak trees. There is one restriction: there has to be no apple trees between any two oak trees. For example, such planting AAOOAOAAAAOOAOAA or OAOAAAAAOAOAAAAA are not allowed, and AAOOAAAAAAOOAAAA is allowed. How many different plantings are possible?

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

Next problem →

Official solution

Obviously, all oaks have to be planted together as one group no matter where this group will be situated. Let us count how many oaks can possibly be.

If there are no oak trees, then the option of planting is only one.

If there are kk oaks, 1≤k≤81 \leq k \leq 8, there are 9−k9 - k options:

OOOAAAAAOOOAAAAA, AOOOAAAAAOOOAAAA, …\ldots, AAAAAOOOAAAAAOOO.

Together we have 1+1+2+3+…+8=371 + 1 + 2 + 3 + \ldots + 8 = 37.

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