if $A=\{z\in \mathbb{Z}^+:z= 6xy +x-y; x\in \mathbb{Z}^+ ,y \in \mathbb{Z}^+\}$ what is $A^c$ in $\mathbb{Z}^+$? $A^c$ should have an equation form, without $\neq$ sign.
I make a transformation $6x(x+k)+k=6x^2+(6x+1)k$ and $6x(x-k)-k=6x^2+(6x-1)k$. But couldn't make to much progress. If you can help, I will be glad thanks.
$z=6xy+x-y\iff 6z-1=(6x-1)(6y+1). $
Now if $x,y\in \Bbb Z^+$ then $6x-1\ge 5$ and $6y+1\ge 7$ so $6z-1$ cannot be prime.
But if $6z-1$ is composite then it has a factor $a\equiv -1 \mod 6$ with $1<a<6z-1.$ So let $a=6x-1$ with $x\in \Bbb Z^+.$ Then $1<(6z-1)/a=b\in \Bbb Z^+$ with $b\equiv 1 \mod 6.$ So let $b=6y+1 $ with $y\in Z^+.$ Then $6z-1=(6x-1)(6y+1)$ so $z\in A.$
So $A=\{z\in \Bbb Z^+: 6z-1 \text { is not prime}\}.$