Background:
If a hexagonal lattice is defined by integers $i, j$ where $x = a_1 \left(i + \frac{1}{2} j\right)$ and $y = a_1 \frac{\sqrt{3}}{2} j$, the distance to the origin for each point $r(a_1, i, j)$ will be $a_1 \sqrt{i^2 + j^2 + ij}$. See this answer to my earlier question.
If I have a second hexagonal lattice with constant $a_2$ it will form a coincident if there's some supercell of one that matches a supercell of the other, and since both are periodic it's sufficient to show that these lengths are equal:
$$a_1^2 (i^2 + j^2 + ij) = a_2^2(k^2 + l^2 + kl)$$
The example in the plot below is for $(i, j), (k, l) = (5, 4), (2, 3)$ and $a_1=1$, which makes $a_2 = \sqrt{\frac{61}{19}}$
To visualize the coincidence it's necessary to rotate the second lattice by
$$\theta = \text{arctan2} \left(\frac{\sqrt{3}}{2}j, \ \ i+\frac{1}{2}j \right) - \text{arctan2} \left(\frac{\sqrt{3}}{2}l, \ \ k+\frac{1}{2}l \right)$$
or about -10.26°.
We can know by symmetry that the negative of this angle or +10.26° will generate a second coincident lattice, and in fact every $\theta$ such that $\mod(\theta, \ 30°) \ne 0$ will have a complementary lattice at $-\theta$. At integer multiples of 30 degrees the pair will be degenerate and we'll count it as only a single coincident lattice.
Question:
I am writing an algorithm to find near-coincident lattices, where the lengths differ by some small fraction $\delta$, perhaps 1 percent:
$$\left|\frac{a_1^2 (i^2 + j^2 + ij) }{ a_2^2(k^2 + l^2 + kl)} - 1\right| <= \delta$$
I want to count the number of unique near-coincident configurations. The algorithm will be used in a python script.
My problem is that I don't want to miss any near-coincidences and at the same time don't want to double-count.
Question: How should I restrict the points considered in each hexagonal lattice to correctly count all unique near-coincident lattices?
I know I should restrict my search to a pie-shaped segment of all points in each of the two lattices, perhaps a 30° slice of one against a 60° slice of the other, but I haven't been able to convince myself that this guess is mathematically sound.
Example of a proper coincident lattice: $(i, j), (k, l) = (5, 4), (2, 3)$ with $\frac{a_2}{a_1} = \sqrt{\frac{61}{19}}$