Inhomogeneous quadratic congruences
S. Baier, T.D. Browning, Functiones et Approximatio, Commentarii Mathematici 47 (2012) 267–286.