almost perfect sequences
Let n be a positive integer. A binary almost perfect sequences of length n is a mapping f from the cyclic group Z/nZ into {-1,+1} whose the autocorrelation values are 0 except two times.
One can use the finite field GF(q^2) to construct a sequence of length 2(q+1). An implantation of the methode of Bradley and Pott is given by the three files below. Enjoy !