Discrete mathematics
Costas permutation checker
Check every point-pair displacement in a supplied Costas-array candidate.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
For every horizontal gap, group point pairs by their vertical difference. A permutation has the Costas property exactly when no displacement vector repeats.
For 1,3,2, gap-one differences are 2 and -1; the gap-two difference is 1. All three displacement vectors differ.
Limits
Orders 1–256. This checks the mathematical permutation property and exports the difference groups. It does not search for new arrays or predict radar/sonar performance.