Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
You should consult the paper of D. Badziahin (Finding special factors of values of polynomials at integer points, Int. J. of Numb. Theor., V. 13(1), 2017), where slightly more general problem was considered, i.e., the existence, for a given polynomial $P$, divisors $d$ of $P(n)$ such that $d\equiv 1\pmod{n}$.
A similar problem stated by Erdos and Graham was investigated in: M. Ulas, A. Schinzel, A note on Erdos–Straus and Erdos-Graham divisibility problems (with an Appendix by Andrzej Schinzel), Int. J. Number Theory vol. 9 (3) (2013), 583-599.
@Gautam My parametrization is invertible over $\mathbb{Q}$ but not necessarily modulo $N$. Indeed, the inverse is given by $u=y/(x-1), v=z/(x-1)$ (here $z=(x^2+y^2-x)/N$) and can be computed modulo $N$ provided that $x-1$ is coprime to $N$.