English

Counting $2 \times 2$ integer matrices with a given determinant

Number Theory 2026-05-19 v3 Combinatorics

Abstract

Given positive integers h,Nh, N satisfying 1h2N21 \leqslant h \leqslant 2N^2, we define T(h,N)T(h,N) to be the number of 2×22\times 2 integer matrices with determinant equal to hh whose entries lie in [N,N][-N,N]. Our main result states that for any ε>0\varepsilon >0, one has T(h,N)=16ζ(2)N2(dh1d)+Oε(Nε(N+h)). T(h,N) = \frac{16}{\zeta(2)} N^2 \bigg( \sum_{d |h} \frac{1}{d} \bigg) + O_{\varepsilon}(N^{\varepsilon} (N+ h)). This quantitatively improves upon recent work of Afifurrahman and Ganguly--Guria, and delivers square-root cancellation estimates when hNh \leq N. We further show that when hh is large, the error term is of approximately the correct order.

Keywords

Cite

@article{arxiv.2509.20259,
  title  = {Counting $2 \times 2$ integer matrices with a given determinant},
  author = {Jonathan Chapman and Akshat Mudgal},
  journal= {arXiv preprint arXiv:2509.20259},
  year   = {2026}
}

Comments

10 pages. The content of the previous version of this paper has been split over two papers, of which this new version is the first and the second is arXiv:2605.15434

R2 v1 2026-07-01T05:54:24.581Z