Let . A bijective function is randomly chosen. Find the expected number of integers such that .
Note: This problem isn't original. I got this problem from an INMO training camp.
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.
For each n , the probability that f ( n ) = n is 2 0 1 4 1 , since f ( n ) is chosen from the set { 1 , 2 , … , 2 0 1 4 } , with each value being equally likely. Since there are 2 0 1 4 values of n , by linearity of expectation, there is 2 0 1 4 ⋅ 2 0 1 4 1 = 1 expected value of n such that f ( n ) = n .