You pick a random integer from to .
Then you decide to write the number in base , where is a random number from to .
It turns out that in the new base, the number consists of just 's and/or 's.
If the probability that the original number was a is where and are coprime positive integers, what is ?
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.
There are 55 ways the numbers could have been picked such that they are represented with only 1's and 0's.
Of those, 4 represent the number 9:
9 1 0 = 1 0 9 = 1 1 8 = 1 0 0 3 = 1 0 0 1 2
So, P ( 9 ) = 5 5 4
4 + 5 5 = 5 9