Subcontests
(3)permutation and expected value
For a permutation P=(p1,p2,...,pn) of (1,2,...,n) define X(P) as the number of j such that pi<pj for every i<j. What is the expected value of X(P) if each permutation is equally likely? sequence a_{n+3} = a_{n+2}a_{n+1} + a_n
The sequence a1,a2,a3,... is defined by a1=a2=a3=1, an+3=an+2an+1+an. Show that for any positive integer r we can find s such that as is a multiple of r. inequality with reals in (0,1)
The real numbers x1,x2,...,xn belong to the interval (0,1) and satisfy x1+x2+...+xn=m+r, where m is an integer and r∈[0,1). Show that x12+x22+...+xn2≤m+r2.