Game Show Problem

  • Uploaded by: Jacob Richey
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Game Show Problem as PDF for free.

More details

  • Words: 1,138
  • Pages: 3
Game Show Problem Jacob Richey August 31,2009 Problem: You are on a game show. You start with a score of 0 points. You are then asked a series of questions. For each correct answer (C), your score is increased by 1, and for each incorrect answer (I), your score is divided by 2. After answering 𝑛 questions, how many distinct scores are possible? Solution: Let 𝑠 be a sequence of correct and incorrect answers and π‘₯𝑠 or 𝑠π‘₯ be a sequence of answers π‘₯ added to the beginning or end of 𝑠. (For example, 𝐼𝑠𝐢𝐢 represents incorrectly answering, then answering according to 𝑠, then answering correctly twice.) Let 𝑠′ be the score of a sequence 𝑠. (For example, (𝐢𝐼𝐢)β€² = 23 .) Let 𝐺𝑛 be the set of all sequences of length n with distinct value. Define a pair of transformation sequences to be two distinct sequences π‘₯ and 𝑦 both applied to some arbitrary sequence 𝑠. Then a pair of repeat transformations is one where (𝑠π‘₯)β€² = (𝑠𝑦)β€² for all s. Finally, define a repeat to be two sequences π‘Ž and 𝑏 of equal length so that π‘Žβ€² = 𝑏′ . Claim: βˆ£πΊπ‘› ∣ = 2βˆ£πΊπ‘›βˆ’1 ∣ βˆ’ βˆ£πΊπ‘›βˆ’3 ∣ with 𝐺0 = 1, 𝐺1 = 2 and 𝐺2 = 4. Lemma 1: (𝐼𝑠)β€² = 𝑠′ . If a sequence begins with an incorrect answer, then the score after that answer is unchanged since 02 = 0. Trivially, we can add any number of 𝐼’s to the beginning of any sequence 𝑠 without changing its value. Lemma 2: 𝐢𝐢𝐼 and 𝐼𝐢 are a pair of repeat transformations that give rise to exactly πΊπ‘›βˆ’3 repeats of length 𝑛. Also, they are the only pair of repeat transformations of length less than four. β€² β€² Note that (𝑠𝐢𝐢𝐼)β€² = (𝑠𝐼𝐢)β€² because 𝑠 +1+1 = 𝑠2 + 1, which holds for all 2 s. By Lemma 1, we also have that (𝑠𝐢𝐢𝐼)β€² = (𝐼𝑠𝐼𝐢)β€² . Now, say the sequence 𝑠 is of length π‘˜ βˆ’ 3. The number of different sequences 𝑠𝐢𝐢𝐼 or 𝐼𝑠𝐼𝐢 simply relies on how many ways we can choose 𝑠; but, since it is of length π‘˜ βˆ’ 3, we can choose it exactly βˆ£πΊπ‘˜βˆ’3 ∣ ways. Thus, in producing πΊπ‘˜ recursively, we must exclude at least βˆ£πΊπ‘˜βˆ’3 ∣ sequences. Now, to show that this pair of transformation sequences is unique among those with length less than or equal to 3, we simply need to write out all the possible transformations of lengths 0, 1, 2, or 3 on an arbitrary sequence 𝑠.

1

π‘˜=0 𝑠 = 𝑠′ π‘˜=1 (𝑠𝐢)β€² = 𝑠′ + 1 β€² (𝑠𝐼)β€² = 𝑠2 π‘˜=2 (𝑠𝐢𝐢)β€² = 𝑠′ + 2 β€² (𝑠𝐢𝐼)β€² = 𝑠2 + 12 β€² (𝑠𝐼𝐢)β€² = 𝑠2 + 1 β€² (𝑠𝐼𝐼)β€² = 𝑠4 π‘˜=3 β€² (𝑠𝐢𝐢𝐼)β€² = 𝑠2 + 1 β€² (𝑠𝐢𝐼𝐢)β€² = 𝑠2 + 32 β€² (𝑠𝐢𝐼𝐼)β€² = 𝑠4 + 14 β€² (𝑠𝐼𝐢𝐢)β€² = 𝑠2 + 2 β€² (𝑠𝐼𝐢𝐼)β€² = 𝑠4 + 12 β€² (𝑠𝐼𝐼𝐢)β€² = 𝑠4 + 1 β€² (𝑠𝐼𝐼𝐼)β€² = 𝑠8 The only two of these that have exactly the same value are 𝑠𝐼𝐢 and 𝑠𝐢𝐢𝐼; all the other pairs of expressions are equal either once or zero times, but certainly not always. Therefore, this pair of repeat transformations is unique among transformations of length less than or equal to 3. Lemma 3: Any pair of repeat transformations of length greater than 2 (aside from the 𝑠𝐢𝐢𝐼/𝐼𝑠𝐼𝐢 one) can be ignored, as they have all already been counted when considering repeats of 𝐺𝑛 of the form 𝑠𝐢𝐢𝐼/𝐼𝑠𝐼𝐢. Assume there is some pair of transformation sequences, π‘₯ and 𝑦, one of which is longer than three answers, that act on some sequence 𝑠 of length 𝑛 βˆ’ π‘˜. Then the longer transformation sequence, suppose WLOG it is π‘₯, has length π‘˜ with π‘˜ β‰₯ 4. Now lets consider the partial transformation of π‘₯ on 𝑠 of total length 𝑛 βˆ’ 3. (All but the last 3 answers of π‘₯ have been applied to 𝑠.) Let’s call this truncated sequence 𝑀. By Lemma 2, we know that the only way 𝑀 can always be a repeat in 𝐺𝑛 is if we apply the 𝐢𝐢𝐼/𝐼𝐢 transformation to it. Therefore, the one of the transformations π‘₯ and 𝑦 must end in 𝐢𝐢𝐼 and the other in 𝐼𝐢. However 𝑀 was constructed to begin with, it is a member of πΊπ‘›βˆ’3 , and since it is a repeat of the desired form it was counted in our analysis in Lemma 2. Lemma 4: Any pair of transformations on an arbitrary sequence 𝑠 of length 2 or less, (i.e., the expressions listed above), that yield a positive solution for 𝑠′ , (as a negative score is impossible), have already been counted in the repeats given by the 𝑠𝐢𝐢𝐼/𝐼𝑠𝐼𝐢 repeat transformation pair.

2

We need only check all the pairs of two of the 7 transformations of length two or less, (i.e., all those in the above table under π‘˜ = 0, π‘˜ = 1 and π‘˜ = 2), and see if they have solutions that aren’t counted as 𝑠𝐢𝐢𝐼/𝐼𝑠𝐼𝐢 transformations. We π‘‘βˆ’π‘ , note that the general solution to such an equation, π‘Žπ‘ β€² + 𝑏 = 𝑐𝑠′ + 𝑑 is 𝑠′ = π‘Žβˆ’π‘ which is non negative only when 𝑑 β‰₯ 𝑏 and π‘Ž β‰₯ 𝑐 or 𝑑 ≀ 𝑏 and π‘Ž ≀ 𝑐. We also note that when the coeffecients of 𝑠′ are equal the equation has no solution, and when the transformation includes no correct answers, (i.e., 𝑏 = 𝑑 = 0), the solution is zero, which is never a repeat as it can only be generated in one way, namely as a sequence of incorrect answers. This eliminates all but two equations: 𝑠 = 2𝑠 + 1 and 𝑠 = 2𝑠 + 21 , whose solutions are 2 and 1, respectively. These give the equalities (𝐢𝐢)β€² = (𝐢𝐢𝐼𝐢)β€² and (𝐢)β€² = (𝐢𝐢𝐼)β€² . However, we note that both of these expressions are special cases of the equality (𝐼𝐢π‘₯)β€² = (𝐢𝐢𝐼π‘₯)β€² , with perhaps some 𝐼’s added at the front to balance their lengths. (They could be re-written as (𝐼𝐼𝐢𝐢)β€² = (𝐢𝐢𝐼𝐢)β€² and (𝐼𝐼𝐢)β€² = (𝐢𝐢𝐼)β€² .) Therefore, they were counted in our analysis in Lemma 2, and add no additional repeats. Proof of Claim: To recursively define 𝐺𝑛 , note that for each successive 𝑛 we can attach either a correct or an incorrect answer to the end of any sequence in 𝐺𝑛 . However, we must subtract off all the new repeated values we get in 𝐺𝑛+1 , and by the above analysis there are exactly βˆ£πΊπ‘›βˆ’2 ∣ of those cases. Therefore βˆ£πΊπ‘›+1 ∣ = 2βˆ£πΊπ‘› ∣ βˆ’ βˆ£πΊπ‘›βˆ’2 ∣, which is the desired result. Note: In general, 𝐺𝑛 = 𝐹𝑛+2 βˆ’ 1, where 𝐹𝑛 is the 𝑛th Fibonacci number and 𝐹1 = 1, 𝐹2 = 1.

3

Related Documents


More Documents from ""