sum(C(k,j)^2 * z^j) from j = 0 to k