Solution to Olympiad level counting
In 3Blue1Brown’s latest video Olympiad level counting: How many subsets of {1,…,2000} have a sum divisible by 5?, you can find a few easy exercises at the end. These are the solutions.
Problem 1
Note that the first term of the sum is 0 so,
There are infinitely many scenarios you can roll a die before being the number 1.
Number of rolls | Scenario | Probability |
---|---|---|
1 | Roll 1 | |
2 | Roll 2-6, roll 1 | |
… | ||
Roll 2-6 | ||
… |
Then the expected value of the number of rolls before seeing 1 is
Let
Thus the expected number of rolls before seeing 1 is
Problem 2
Using the Binomial Theorem,
Letting
Problem 3
We can reindex the bottom 2 sums by placing
Bonus
The characteristic of the homogeneous second order differential equation is
Because there are 2 distinct real roots, the general solution is
Since
Thus,
Recall that
Hence,
Problem 4
Recall from Problem 1 that
Thus,
where
If you found this useful, please cite this as:
Pu, George (May 2022). Solution to Olympiad level counting. https://georgerpu.github.io.
or as a BibTeX entry:
@article{pu2022solution-to-olympiad-level-counting,
title = {Solution to Olympiad level counting},
author = {Pu, George},
year = {2022},
month = {May},
url = {https://georgerpu.github.io/blog/2022/solutions-to-olympiad/}
}
Enjoy Reading This Article?
Here are some more articles you might like to read next: