Given an integer N. What is the simplest Diophantine equation equivalent to the statement that integer $N\neq0$ ?
I can do one in 5 variables. Using the fact that any integer can be written as the sum of four squares.
$$N^2-(1+A^2+B^2+C^2+D^2)^2=0$$
So this can only be solved for integers $A,B,C,D,N$ when $N\neq 0$ and can be solved for all other positive and negative integers $N$.
Can it be done with fewer variables?
Consider the equation: $$ NX = (2Y - 1)(3Y - 1) $$ Clearly, as $2$ and $3$ are not invertible in the ring of integers, if there is a solution $(X, Y)$ to this equation, then $N \neq 0$. Conversely, suppose $N \neq 0$; we have to show that $(2Y - 1)(3Y - 1)$ has a root modulo $N$. This follows from the Chinese Remainder Theorem, since clearly $(2Y - 1)(3Y - 1)$ has a root modulo every prime power.