sum of binom (2i,2r) for i = r..n