In this paper, we study the number of solutions to the inhomogeneous binary quadratic congruence $ ax^2+bxy+cy^2+dx+ey\equiv n\pmod{q}, $ where $ q $ is a prime power. We treat the cases where $ q $ is an odd prime power and a power of 2 separately. By combining exponential sum methods, quadratic Gauss sums, and Hensel's lemma, we obtain exact formulae for the number of unrestricted solutions over $ \left(\mathbb{Z}_q\right)^2 $ and the number of solutions with both variables restricted to units over $ \left(\mathbb{Z}_q^\ast\right)^2 $. This paper simultaneously handles a mixed quadratic term and two separate linear terms, extending several previously studied diagonal, homogeneous, and symmetric special cases.
Citation: Jiafan Zhang, Ran Xiong. Explicit formulae for inhomogeneous binary quadratic congruences modulo prime powers[J]. Electronic Research Archive, 2026, 34(10): 7046-7070. doi: 10.3934/era.2026305
In this paper, we study the number of solutions to the inhomogeneous binary quadratic congruence $ ax^2+bxy+cy^2+dx+ey\equiv n\pmod{q}, $ where $ q $ is a prime power. We treat the cases where $ q $ is an odd prime power and a power of 2 separately. By combining exponential sum methods, quadratic Gauss sums, and Hensel's lemma, we obtain exact formulae for the number of unrestricted solutions over $ \left(\mathbb{Z}_q\right)^2 $ and the number of solutions with both variables restricted to units over $ \left(\mathbb{Z}_q^\ast\right)^2 $. This paper simultaneously handles a mixed quadratic term and two separate linear terms, extending several previously studied diagonal, homogeneous, and symmetric special cases.
| [1] |
Q. H. Yang, M. Tang, On the addition of squares of units and nonunits modulo $n$, J. Number Theory, 155 (2015), 1–12. https://doi.org/10.1016/j.jnt.2015.02.019 doi: 10.1016/j.jnt.2015.02.019
|
| [2] |
C. F. Sun, Z. Cheng, On the addition of two weighted squares of units mod $n$, Int. J. Number Theory, 12 (2016), 1783–1790. https://doi.org/10.1142/S1793042116501098 doi: 10.1142/S1793042116501098
|
| [3] |
C. F. Sun, Z. Cheng, On the addition of two cubes of units and nonunits mod $p^\alpha$, J. Math. Res. Appl., 37 (2017), 274–280. https://doi.org/10.3770/j.issn:2095-2651.2017.03.004 doi: 10.3770/j.issn:2095-2651.2017.03.004
|
| [4] |
R. Xiong, On the addition of values of a quadratic polynomial at units modulo $n$, Acta Math. Hung., 163 (2021), 62–70. https://doi.org/10.1007/s10474-020-01067-w doi: 10.1007/s10474-020-01067-w
|
| [5] |
Y. Liu, Y. Ouyang, On binary quadratic forms modulo $n$, Commun. Math. Stat., 7 (2019), 61–67. https://doi.org/10.1007/s40304-018-0141-1 doi: 10.1007/s40304-018-0141-1
|
| [6] |
I. S. Eum, On some representation numbers by $a\sum x_i^2+b\sum x_ix_j$ representing one, Indian J. Pure Appl. Math., 57 (2026), 321–337. https://doi.org/10.1007/s13226-024-00533-3 doi: 10.1007/s13226-024-00533-3
|
| [7] |
N. Bag, S. Baier, A. Haldar, Multiple exponential sums and their applications to quadratic congruences, Math. Nachr., 298 (2025), 3599–3612. https://doi.org/10.1002/mana.70063 doi: 10.1002/mana.70063
|
| [8] |
S. Baier, A. Haldar, Asymptotic behavior of small solutions of quadratic congruences in three variables modulo prime powers, Res. Number Theory, 8 (2022), 58. https://doi.org/10.1007/s40993-022-00360-7 doi: 10.1007/s40993-022-00360-7
|
| [9] |
D. R. Heath-Brown, Small solutions of quadratic congruences, and character sums with binary quadratic forms, Mathematika, 62 (2016), 551–571. https://doi.org/10.1112/S0025579315000364 doi: 10.1112/S0025579315000364
|
| [10] |
A. Haldar, Equidistribution of solutions of ternary quadratic congruences modulo prime powers, Res. Number Theory, 10 (2024), 47. https://doi.org/10.1007/s40993-024-00535-4 doi: 10.1007/s40993-024-00535-4
|
| [11] | T. M. Apostol, Introduction to Analytic Number Theory, Springer, New York, 1976. https://doi.org/10.1007/978-1-4757-5579-4 |
| [12] | B. C. Berndt, R. J. Evans, K. S. Williams, Gauss and Jacobi Sums, John Wiley & Sons, New York, 1998. |
| [13] | N. Koblitz, $p$-adic Numbers, $p$-adic Analysis, and Zeta-Functions, $2^{nd}$ edition, Springer, New York, 1984. https://doi.org/10.1007/978-1-4612-1112-9 |