Let O\mathcal O be a in a definite over Q\mathbb Q, and choose representatives I1,…,IhI_1,\ldots,I_h of its right . For n≥1n\ge1, its Brandt matrix is

T(n)ij=#{J⊆Ij:[Ij:J]=n2, [J]=[Ii]},T(n)_{ij} =\#\{J\subseteq I_j:[I_j:J]=n^2,\ [J]=[I_i]\},

where JJ ranges over right . The index is that of additive lattices, and [J]=[Ii][J]=[I_i] means J=αIiJ=\alpha I_i for some invertible quaternion α\alpha. Column jj records the classes of the subideals of IjI_j.

Prime neighbors

If ℓ\ell is prime and does not divide the quaternion discriminant, every column of T(ℓ)T(\ell) sums to ℓ+1\ell+1. It describes a directed multigraph on the ideal classes: the entry counts arrows from the column class to the row class, so multiple arrows are allowed. The matrix need not be symmetric in this basis.

Modular interpretation

These counts can also be expressed through representation numbers of positive definite quadratic lattices. Their connect quaternion ideal arithmetic with weight-two . Transposing the convention exchanges row and column descriptions without changing the underlying correspondence.

References
  1. John Voight, Quaternion Algebras, §41.1, equation (41.1.1), the following prime column-sum statement, and §§41.1.3–41.1.9.