John has just registered an account on Brilliant. Each day, starting from today, he logs in, chooses a multiple choice problem, randomly answers it, and logs out. So if he is incorrect on one day, he loses his problem solving streak.
He stops this procedure once he gets a problem incorrect, or once he gets a streak of 10 days. The expected length of John's streak can be written as q p , where p and q are coprime. Find the last 3 digits of p + q .
Note: The streak can be 0, in case that John gets the problem he answers on the first day incorrect.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This solution has an incorrect explanation. See Jon Haussmann's comment below.
HOW IS IT TRUE FOR n=10 as when he attains a streak of 10 he doesn't attempt for another day.
Log in to reply
I agree with you, since otherwise the total probability would not sum to one. I got 101 on the first try ( 1 0 4 8 5 7 6 3 4 9 5 2 5 → 1398101), but after I realized the possibility of this mistake, I "solved" the problem.
Log in to reply
Thanks. I have updated the answer.
In future, if you spot any errors with a problem, you can “report” it by selecting the “dot dot dot” menu in the lower right corner. You will get a more timely response that way.
I get the same answer as the proposer. Let P ( k ) denote the probability that the streak lasts exactly k days, for 0 ≤ k ≤ 1 0 . Then P ( k ) = ( 1 / 4 ) k ⋅ 3 / 4 for 0 ≤ k ≤ 9 , and P ( 1 0 ) = ( 1 / 4 ) 1 0 , so the expected value works out to k = 0 ∑ 9 ( k ⋅ ( 4 1 ) k ⋅ 4 3 ) + 1 0 ⋅ ( 4 1 ) 1 0 = 1 0 4 8 5 7 6 3 4 9 5 2 5 .
Log in to reply
Thanks. I was misled by the creator having the wrong formula stated, and based the value off of a calculation submitted in disute. I have verified that this answer is correct, and updated it back to 101.
The answer is wrong. No wonder 95% of the people couldn't solve it. Your probabilities don't sum to one and you forgot that the 3/4 only comes in if he got an answer incorrect. However, the question clearly states that he stops if he has a streak of 10 so where did the 3/4 come in then??
Log in to reply
See Jon Haussman's comment above.
The numerical answer is correct, though the original explanation is wrong.
Problem Loading...
Note Loading...
Set Loading...
Each day, John has a probability of 4 3 of losing his streak, and a probability of 4 1 of maintaining his streak.
So the expected value for his streak is
∏ n = 0 9 n ( 4 1 ) n ( 4 3 ) = 1 0 4 8 5 7 6 3 4 9 5 2 5 .
So p + q = 1 3 9 8 1 0 1 and the required answer is 1 0 1 .