Small solutions to inhomogeneous and homogeneous quadratic congruences modulo prime powers
We prove asymptotic formulae for small weighted solutions of quadratic congruences of the form $λ_1x_1^2+\cdots +λ_nx_n^2\equiv λ_{n+1}\bmod{p^m}$, where $p$ is a fixed odd prime, $λ_1,...,λ_{n+1}$ are integer coefficients such that $(λ_1\cdots λ_{n},p)=1$ and $m\rightarrow \infty$. If $n\ge 6$, $p\ge 5$ and the coefficients are fixed and satisfy $λ_1,...,λ_n>0$ and $(λ_{n+1},p)=1$ (inhomogeneous case), we obtain an asymptotic formula which is valid for integral solutions $(x_1,...,x_n)$ in cubes of side length at least $p^{(1/2+\varepsilon)m}$, centered at the origin. If $n\ge 4$ and $λ_{n+1}=0$ (homogeneous case), we prove a result of the same strength for coefficients $λ_i$ which are allowed to vary with $m$. These results extend previous results of the first- and the third-named authors and N. Bag.