A213271 Costas arrays such that the corresponding permutation is a derangement.
0, 1, 2, 2, 18, 42, 66, 168, 300, 910, 1882, 3192, 5320, 7166, 8346, 9042, 7760, 6668, 4620, 2822, 1528, 942, 282, 92, 32, 22, 88, 256, 24
Offset: 1
Examples
The permutation (9, 8, 1, 6, 3, 7, 2, 4, 5) is a derangement and corresponds to a Costas array: 9 8 1 6 3 7 2 4 5 (Permutation: p(1), p(2), p(3), ..., p(n) ) -1 -7 5 -3 4 -5 2 1 (step-1 differences: p(2)-p(1), p(3)-p(2), ... ) -8 -2 2 1 -1 -3 3 (step-2 differences: p(3)-p(1), p(4)-p(2), ... ) -3 -5 6 -4 1 -2 (step-3 differences: p(4)-p(1), p(5)-p(2), ... ) -6 -1 1 -2 2 ( etc. ) -2 -6 3 -1 -7 -4 4 -5 -3 -4
Links
- Scott Rickard, costasarrays.org (information and papers about Costas arrays).
Comments