from math import factorial as fact
def sigma(n,x):
if abs(x) in range(abs(n)+1):
raise ValueError('check the arguments values ')
else:
return sum(
[(-1)**(n-k)*fact(2*n)/fact(n+k)/fact(n-k)/(x-k)
for k in map(lambda i: i-n, range(2*n+1))]
)