A new backtracking algorithm is developed for generating classes of permutations, that are invariant under the group of rigid motions of the square generated by reflections about the horizontal and vertical axes. Special cases give a new algorithm for generating solutions of the classical -queens problem, as well as a new algorithm for generating Costas sequences, which are used in encoding radar and sonar signals. Parallel implementations of this latter algorithm have yielded new Costas sequences for length , .
Oscar Moreno. John Ramírez. Dorothy Bollman. Edusmildo Orozco. "Faster backtracking algorithms for the generation of symmetry-invariant permutations." J. Appl. Math. 2 (6) 277 - 287, 10 November 2002. https://doi.org/10.1155/S1110757X02203022