I'm interested in this function $$ h(m,n) = \operatorname{sgn}\Bigl(\lim_{w \to \infty}{\sum_{x_1=1}^{w}\dotsi\sum_{x_u=1}^{w}\dfrac{1}{1 + wp^2(m,n,x_1,\dotsc,x_u)}}\Bigr) $$ where $p$ is a polynomial in $u+2$ variables and integer coefficients. Can we simplify it to $$ h(m,n) = \operatorname{sgn}\Bigl(\dfrac{f(m,n)}{g(m,n)}\Bigr) $$ without the limit? ## Edit I managed to come up with another form of the same function $$ h(m,n) = 1-\operatorname{sgn}\Bigl(\Pi_{x_1=1}^{\infty}...\Pi_{x_u=1}^{\infty}p(m,n,x_1,...,x_u)\Bigr) $$ $p$ is a universal Diophantine polynomial with $2$ parameter and $u$ variables