A Barker sequence, also known as a Barker code, is a sequence of values
with excellent autocorrelation properties. Thanks to this, it can be
used for synchronization in DSP.

=> https://en.wikipedia.org/wiki/Barker_code

Since we have fast computers, we can come up with these sequences
ourselves by trying random sequences and evaluating their
autocorrelation properties.

--
Leo