Assumptions
Two finite periodic masks, integer ticks, specified origin.
Result
A sorted circular interval per class allows counting without materialising the pair product. All tested prefixes and selections in 432 small cases match a scan.
Next question
The full-cost comparison is reported in AT.T2.
Read the argument and prior work · View supporting evidence