Some time ago, I asked a question about equidistribution on a paper of Duke and Schulze-Pillot that was usefully answered.
However, on the answer there was a statement that was unimportant for me back then but catch my attention now. One of the steps of the answer was to use the following equivalence property:
Let $Q$ be a ternary quadratic form and $n$ a non-negative integer. "$n$ is primitively represented by some form in the genus of $Q$" is equivalent to "$n$ is primitively represented by $Q$ modulo $4\det(a_{ij})$, where $(a_{ij})\in\mathrm{M}_3(\mathbb{Z})$ is the symmetric matrix such that $$Q(x_1,x_2,x_3)=\frac{1}{2}\sum_{i,j}a_{ij}x_ix_j."$$
I believe that this statement is true but have failed to found a reference for it, although I have read some other papers that use the same or similar results (e.g. this one , page 5, line 10). I wonder if somebody could give me a reference or a simple proof for this property in case it's true. Otherwise, I would really appreciate a similar congruence property that's correct (if exists).