If variable takes values 0,1,2,......, n with frequencies qn. n1 qn−1 p , n(n−1)1.2 qn−2 p2..........,pn where p+q = 1, then the mean is