Problem

COM-B2-M03-P014 Ballot Count

#14 Grade 10 Grade 11 ★★★★☆ Level 4 of 5

Let \(p>q\). How many words with \(p\) letters \(A\) and \(q\) letters \(B\) have the property that in every initial segment, the number of \(A\)'s is strictly greater than the number of \(B\)'s?