2023 SSMO Speed Round Problems/Problem 3

Revision as of 14:17, 3 July 2023 by Pinkpig (talk | contribs) (Created page with "==Problem== Pigs like to eat carrots. Suppose a pig randomly chooses 6 letters from the set <math>\{c,a,r,o,t\}.</math> Then, the pig randomly arranges the 6 letters to form a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

Pigs like to eat carrots. Suppose a pig randomly chooses 6 letters from the set $\{c,a,r,o,t\}.$ Then, the pig randomly arranges the 6 letters to form a "word". If the 6 letters don't spell carrot, the pig gets frustrated and tries to spell it again (by rechoosing the 6 letters and respelling them). What is the expected number of tries it takes for the pig to spell "carrot"?

Solution

We first find the chance of the pig spelling "carrot" correctly in one try.

Solution 1a

First, out of the $5^6$ ways to choose the letters, only $\frac{6!}{2}$ of them have the same letters as the word carrot. Then, given that the pig has chosen the words correctly, only $1$ out of the $\frac{6!}{2}$ ways to spell the word correctly.

The probability is thus \[\frac{\frac{6!}{2}}{5^6} \cdot \frac{1}{\frac{6!}{2}} = \frac{1}{5^6}\]

Solution 1b

Considering each letter position individually, it is equally likely to be any of the $5$ possible letters. Thus, for each letter in carrot there is a $\frac{1}{5}$ chance the pig spells the letter in that position correctly. The answer is thus $\frac{1}{5^6}$.

Now let $x$ be the expected number of turns required for the pig to guess correctly.

We have that \[x = 1 + \frac{5^6 - 1}{5^6} \cdot x\] which implies that $x = \boxed{15625}$