I am working with polynomials defined over the ring $\mathbb{Z}/n\mathbb{Z}$ of the form $$a_ix_i = A_i\pmod{n},$$ where $\gcd(a_i,n) \ne 1,$ for all $i \in \{0, \dots, k\}$, $n$ is a composite number. My goal is to find values $x_i$ for all $i \in \{0, \dots, k\}$. The values $x_i$ are distinct and the solutions are pre-guaranteed. That is, I know that there is a solution to each equation. Since the coefficients $a_i$ are not co-prime with the integer $n$, their inverses do not exist mod $n$. Thus, I can not express $x_i$ as $$x_i = (a_i)^{-1}A_i \pmod{n}.$$ Is it true that this problem is NP-complete?
It is my understanding that this problem is NP-complete since it is not possible to directly solve for the values $x_i$ but I can try every single element $x_i \in \mathbb{Z}/n\mathbb{Z}$ until a correct one, that satisfies the corresponding equation, is found. So in the worst case scenario I must try all possible $x_i$ with complexity $\mathcal{O}(n)$. However, to verify a correct solution is takes me polynomial time, because the verification will involve ring operations which are very fast. I am also looking for a formal name of this problem. If I were to look for it in the literature or mention it in a thesis what would this problem be called?
\pmod{p}
will produce the appropriate space, parentheses, and roman typeface. – Arturo Magidin Dec 05 '22 at 16:07