arXiv:2609.05771cs.ITSep 2026

Manuscript Offprint

arXiv:2609.05771

Moments of crosscorrelation demerit factors of binary sequences

Daniel J. Katz, Harmony M. Vargas

DANIEL J. KATZ AND HARMONY M. VARGAS

ABSTRACT. Families of sequences with low mutual aperiodic crosscorrelation assist the design of systems for multi-user asynchronous communications and multiple-input multiple-output radar. The crosscorrelation demerit factor of a pair of sequences is the sum of the squared magnitudes of their crosscorrelation values at every shift when the sequences are normalized to unit Euclidean norm, and the merit factor is the reciprocal of the demerit factor. For each positive integer ℓ\ell, we endow the 22ℓ2^{2\ell} pairs of binary sequences of length ℓ\ell with uniform probability measure and study the distribution of their crosscorrelation demerit factors. Sarwate showed that the mean value is always 1 regardless of length ℓ\ell. We develop a method for finding an exact formula for the ppth central moment (for any positive integer pp) as a function of ℓ\ell. Formulae for the variance and third central moment (p=2p=2 and 33) are then obtained by hand calculations, while the fourth through sixth central moments are obtained by computer-assisted calculations. Our theory also shows that all the central moments must be strictly positive for p≥2p \geq 2 and ℓ≥3\ell \geq 3.

1. INTRODUCTION

In this paper we consider binary sequences aperiodically. It is convenient for us to represent an aperiodic sequence as a doubly infinite list f=(…,f−1,f0,f1,f2,…)f = (\ldots, f_{-1}, f_0, f_1, f_2, \ldots) of complex numbers with only finitely many nonzero terms. If ℓ\ell is a nonnegative integer, then this ff is a binary sequence of length ℓ\ell if and only if the terms f0,f1,…,fℓ−1f_0, f_1, \ldots, f_{\ell-1} lie in {−1,1}\{-1, 1\} and all other terms equal 0. Binary sequences are used extensively in communications, design of scientific instruments, and remote sensing [Gol67, GG05, Sch09]. In multi-user communications networks, it is important to have families of sequences such that no sequence in the family resembles a time-delayed version of any other sequence in the family.

One measure of resemblance between two sequences is aperiodic crosscorrelation. The aperiodic crosscorrelation function for a pair of sequences determines both their periodic (even) and negaperiodic (odd) crosscorrelation functions, which are critical for performance analysis in phase-modulated communications systems. If ff and gg are sequences and s∈Zs \in \mathbb{Z}, then the aperiodic crosscorrelation of ff with gg at shift ss is

Cf,g(s)=∑j∈Zfj+sgj‾.C_{f,g}(s) = \sum_{j \in \mathbb{Z}} f_{j+s} \overline{g_j}.

Since both ff and gg have only finitely many nonzero terms, this is essentially a finite sum, and the sum can be nonzero for only finitely many shifts ss. One should note that Cg,f(s)=Cf,g(−s)‾C_{g,f}(s) = \overline{C_{f,g}(-s)}, so that the crosscorrelation function of gg with ff is deducible from that of ff with gg. When f=gf = g, the value Cf,f(s)C_{f,f}(s) is the aperiodic autocorrelation of ff at shift ss, which is an important quantity for determining the performance of ff in systems requiring synchronization. For example, in our

Date: 04 September 2026. 2020 Mathematics Subject Classification. 60C05, 94A55, 05A15, 05A18, 05E18. Key words and phrases. binary sequence, crosscorrelation, demerit factor, merit factor, moment. Daniel J. Katz is and Harmony M. Vargas was with the Department of Mathematics, California State University, Northridge. Harmony M. Vargas is with the Department of Mathematics, University of Nebraska-Lincoln. This paper is based upon work supported in part by the National Science Foundation under Grant 2206454.

communications network we would want ∣Cf,f(s)∣|C_{f,f}(s)| for each nonzero ss to be small compared with Cf,f(0)C_{f,f}(0), so that the strong peak in the autocorrelation indicates synchronization. Note that Cf,f(0)C_{f,f}(0) is the squared Euclidean norm of ff. For two distinct sequences ff and gg in our network, we would like ∣Cf,g(s)∣|C_{f,g}(s)| to be small for all values of ss, so that two users may be distinguished from each other regardless of the delay between their signals modulated by ff and gg.

There are two measures of smallness of the correlation values for a pair (f,g)(f,g) of sequences. We call worst-case (ℓ∞)(\ell^\infty) measure peak crosscorrelation: it is the maximum of ∣Cf,g(s)∣|C_{f,g}(s)| over all s∈Zs \in \mathbb{Z}. The other is a mean square (ℓ2)(\ell^2) measure called the crosscorrelation demerit factor of ff and gg (where ff and gg are nonzero sequences), defined as

CDF(f,g)=∑s∈Z∣Cf,g(s)∣2Cf,f(0)Cg,g(0),(1)\mathrm{CDF}(f,g)=\frac{\sum_{s\in\mathbb{Z}}|C_{f,g}(s)|^{2}}{C_{f,f}(0)C_{g,g}(0)}, \tag{1}

and we should note that CDF(g,f)=CDF(f,g)\mathrm{CDF}(g,f) = \mathrm{CDF}(f,g) because Cg,f(s)=Cf,g(−s)‾C_{g,f}(s) = \overline{C_{f,g}(-s)}. The terms Cf,f(0)C_{f,f}(0) and Cg,g(0)C_{g,g}(0) in the denominator of our definition make the crosscorrelation demerit factor the same as the sum over all shifts of the squared magnitudes of the crosscorrelation values of the sequences obtained by normalizing ff and gg to have Euclidean norm 1. The performance of a phase-coded spread-spectrum multiple-access communications system is largely determined by sums of squared magnitudes of crosscorrelations of the sequences used to modulate the signals [Pur77,Kär92] The crosscorrelation demerit factor is a natural normalization of this sum of squared magnitudes, since it is invariant under scalar multiplication of the sequences.

For each length ℓ\ell, we would like to understand the distribution of the crosscorrelation demerit factors for pairs of binary sequences of that length. Since Cf,f(0)=ℓC_{f,f}(0) = \ell for every binary sequence of length ℓ\ell, our denominator in (1) is the constant ℓ2\ell^{2} for all pairs (f,g)(f,g) of such sequences. Thus, it is the numerator of (1) that is the interesting and difficult part to study, and so we define

SSCC(f,g)=∑s∈Z∣Cf,g(s)∣2,\mathrm{SSCC}(f,g)=\sum_{s\in\mathbb{Z}}|C_{f,g}(s)|^{2},

which is the sum of the squared magnitudes of all crosscorrelation values for ff with gg, and then we have

(2)

CDF(f,g)=SSCC(f,g)ℓ2.\mathrm{CDF}(f,g)=\frac{\mathrm{SSCC}(f,g)}{\ell^{2}}.

For this entire paper Pair(ℓ\ell) denotes the set of all 22ℓ2^{2\ell} pairs of binary sequences of length ℓ\ell with uniform probability measure. The expected value of a random variable vv with respect to this distribution is denoted by E(f,g)ℓv(f,g)=E(f,g)∈Pair(ℓ)(v(f))\mathbb{E}_{(f,g)}^{\ell}v(f,g)=\mathbf{E}_{(f,g)\in\mathrm{Pair}(\ell)}(v(f)). With respect to this distribution, our random variable's ppth central moment is denoted

μp,(f,g)ℓv(f,g)=E(f,g)ℓ(v(f,g)−E(f,g)ℓv(f,g))p\mu_{p,(f,g)}^{\ell}v(f,g)=\mathbb{E}_{(f,g)}^{\ell}\left(v(f,g)-\mathbb{E}_{(f,g)}^{\ell}v(f,g)\right)^{p}

and the pth standardized moment is denoted

μ~p,(f,g)ℓv(f,g)=μp,(f,g)ℓv(f,g)(μ2,(f,g)ℓ(f,g))p/2.\tilde{\mu}_{p,(f,g)}^{\ell}v(f,g)=\frac{\mu_{p,(f,g)}^{\ell}v(f,g)}{\left(\mu_{2,(f,g)}^{\ell}(f,g)\right)^{p/2}}.

The mean value of SSCC(f,g)\mathrm{SSCC}(f,g) for (f,g)∈Pair(ℓ)(f,g)\in\mathrm{Pair}(\ell) was found by Sarwate [Sar84, eq. (38)] to be ℓ2\ell^{2}; we state this result in terms of the crosscorrelation demerit factor.

Theorem 1.1 (Sarwate, 1984). If ℓ\ell is a positive integer, then

E(f,g)ℓCDF⁡(f,g)=1.\mathbb{E}_{(f,g)}^{\ell}\operatorname{C D F}(f,g)=1.

Notice that the mean value is independent of length. In the same paper, Sarwate also determined the mean square value for the autocorrelation demerit factor (which equals CDF(f, f) − 1 for a sequence f). Then the variance of the autocorrelation demerit factor was studied by Borwein and Lockhart [BL01]; Aupetit, Liardet, and Slimane [ALS04]; Jedwab [Jed24]; and Katz and Ramirez [KR25]. The precise variance for the autocorrelation demerit factor was determined by Jedwab, and some of the higher central moments were determined by Katz and Ramirez.

In this paper we give explicit formulae (as a function of sequence length ℓ\ell) for the variance and the third through sixth central moments of SSCC(f,g)(f, g) as (f,g)(f, g) ranges over Pair(ℓ)(\ell). These formulae arise from a general formula for the ppth central moment of SSCC(f,g)(f, g) for every positive integer pp. The derivation of this formula requires some delicate combinatorial arguments using group actions on partitions. The calculation of an explicit functional form in terms of the length ℓ\ell becomes more difficult as pp increases. Our theory enables the variance and third central moment to be calculated by hand, while for the fourth, fifth, and sixth central moments, a computer program has automated the calculations.

We first present the formula for the variance of the crosscorrelation demerit factor, which is ℓ−4\ell^{-4} times the variance of SSCC by (2). The variance of SSCC is a polynomial function of the sequence length ℓ\ell, so that the variance of CDF is a rational function of ℓ\ell.

Theorem 1.2. If ℓ\ell is a positive integer, then

μ2,(f,g)ℓCDF⁡(f,g)=4ℓ3−6ℓ2+2ℓ3ℓ4.\mu_{2,(f,g)}^{\ell}\operatorname{C D F}(f,g)=\frac{4\ell^{3}-6\ell^{2}+2\ell}{3\ell^{4}}.

Note that in the limit as ℓ\ell tends to infinity, the variance of CDF tends to zero. When we combine this fact with Sarwate's result (Theorem 1.1), we see that for large ℓ\ell, the vast majority of sequences have crosscorrelation demerit factor close to 1.

The third central moment of the crosscorrelation demerit factor is also a rational function of the sequence length ℓ\ell. By (2), the third central moment of CDF is ℓ−6\ell^{-6} times the third central moment of SSCC, which is a polynomial function of ℓ\ell.

Theorem 1.3. If ℓ\ell is a positive integer, then

μ3,(f,g)ℓCDF⁡(f,g)=8ℓ4−32ℓ3+40ℓ2−16ℓℓ6.\mu_{3,(f,g)}^{\ell}\operatorname{C D F}(f,g)=\frac{8\ell^{4}-32\ell^{3}+40\ell^{2}-16\ell}{\ell^{6}}.

The fourth through sixth central moments of SSCC are quasipolynomial functions of the sequence length ℓ\ell. The fourth central moment of SSCC is a quasipolynomial of period 2, and in view of (2), one obtains the fourth central moment of CDF by multiplying this by ℓ−8\ell^{-8}.

Theorem 1.4. If ℓ\ell is a positive integer, then

μ4,(f,g)ℓCDF⁡(f,g)={80ℓ6+2208ℓ5−17080ℓ4+43640ℓ3−47020ℓ2+18352ℓ15ℓ8ifℓiseven,80ℓ6+2208ℓ5−17080ℓ4+43640ℓ3−47380ℓ2+19792ℓ−126015ℓ8ifℓisodd.\begin{aligned}\mu_{4,(f,g)}^{\ell}\operatorname{C D F}(f,g)\\=\begin{cases}\frac{80\ell^{6}+2208\ell^{5}-17080\ell^{4}+43640\ell^{3}-47020\ell^{2}+18352\ell}{15\ell^{8}}&if\ell is even,\\\frac{80\ell^{6}+2208\ell^{5}-17080\ell^{4}+43640\ell^{3}-47380\ell^{2}+19792\ell-1260}{15\ell^{8}}&if\ell is odd.\end{cases}\end{aligned}

The fifth central moment of SSCC is a quasipolynomial of period 6, and in view of (2), one obtains the fifth central moment of CDF by multiplying this by ℓ−10\ell^{-10}.

Theorem 1.5. If ℓ\ell is a positive integer, then

μ5,(f,g)ℓCDF⁡(f,g)=127ℓ10∑j=07aj(ℓ)ℓj,\mu_{5,(f,g)}^{\ell}\operatorname{C D F}(f,g)=\frac{1}{27\ell^{10}}\sum_{j=0}^{7}a_{j}(\ell)\ell^{j},

where for every ℓ\ell we have a7(ℓ)=2880a_{7}(\ell)=2880, a6(ℓ)=140832a_{6}(\ell)=140832, a5(ℓ)=−1595952a_{5}(\ell)=-1595952, a4(ℓ)=6124960a_{4}(\ell)=6124960,

a3(ℓ)={−9962400ifℓ≡0(mod2)−9988320ifℓ≡1(mod2),a_{3}(\ell)=\begin{cases}-9962400&if\ell\equiv0\pmod{2}\\ -9988320&if\ell\equiv1\pmod{2},\end{cases} a2(ℓ)={6049728ifℓ≡0(mod6)6195648ifℓ≡±1(mod6)5988288ifℓ≡±2(mod6)6257088ifℓ≡3(mod6),a_{2}(\ell)=\begin{cases}6049728&if\ell\equiv0\pmod{6}\\6195648&if\ell\equiv\pm1\pmod{6}\\5988288&if\ell\equiv\pm2\pmod{6}\\6257088&if\ell\equiv3\pmod{6},\end{cases} a1(ℓ)={−753408ifℓ≡0(mod6)−1001008ifℓ≡1(mod6)−435968ifℓ≡2(mod6)−1420848ifℓ≡3(mod6)−333568ifℓ≡4(mod6)−1103408ifℓ≡5(mod6),anda_{1}(\ell)=\begin{cases}-753408&if\ell\equiv0\pmod{6}\\-1001008&if\ell\equiv1\pmod{6}\\-435968&if\ell\equiv2\pmod{6}\\-1420848&if\ell\equiv3\pmod{6}\\-333568&if\ell\equiv4\pmod{6}\\-1103408&if\ell\equiv5\pmod{6},and\end{cases} a0(ℓ)={0ifℓ≡0(mod6)120960ifℓ≡1(mod6)307200ifℓ≡2(mod6)673920ifℓ≡3(mod6)−552960ifℓ≡4(mod6)981120ifℓ≡5(mod6).a_{0}(\ell)=\begin{cases}0&if\ell\equiv0\pmod{6}\\120960&if\ell\equiv1\pmod{6}\\307200&if\ell\equiv2\pmod{6}\\673920&if\ell\equiv3\pmod{6}\\-552960&if\ell\equiv4\pmod{6}\\981120&if\ell\equiv5\pmod{6}.\end{cases}

The sixth central moment of SSCC is a quasipolynomial of period 60, and in view of (2), one obtains the sixth central moment of CDF by multiplying this by ℓ−12\ell^{-12}.

Theorem 1.6. If ℓ\ell is a positive integer, then

μ6,(f,g)ℓCDF⁡(f,g)=1135ℓ12∑j=09aj(ℓ)ℓj,\mu_{6,(f,g)}^{\ell}\operatorname{C D F}(f,g)=\frac{1}{135\ell^{12}}\sum_{j=0}^{9}a_{j}(\ell)\ell^{j},

where for every ℓ\ell we have a9(ℓ)=11200a_{9}(\ell)=11200, a8(ℓ)=1179360a_{8}(\ell)=1179360, a7(ℓ)=87442080a_{7}(\ell)=87442080, a6(ℓ)=−1194335520a_{6}(\ell)=-1194335520,

a5(ℓ)={3724763000ifℓ≡0(mod2)3724611800ifℓ≡1(mod2),a_{5}(\ell)=\begin{cases}3724763000&if\ell\equiv0\pmod{2}\\3724611800&if\ell\equiv1\pmod{2},\end{cases} a4(ℓ)={13632066280ifℓ≡0(mod2)13628210680ifℓ≡1(mod2),a_{4}(\ell)=\begin{cases}13632066280&if\ell\equiv0\pmod{2}\\13628210680&if\ell\equiv1\pmod{2},\end{cases} a3(ℓ)={−110959180584ifℓ≡0(mod12)−111308645784ifℓ≡±1or±5(mod12)−111061962984ifℓ≡±2(mod12)−111214028184ifℓ≡±3(mod12)−111053798184ifℓ≡±4(mod12)−110967345384ifℓ≡6(mod12),a_{3}(\ell)=\begin{cases}-110959180584&if\ell\equiv0\pmod{12}\\-111308645784&if\ell\equiv\pm1or\pm5\pmod{12}\\-111061962984&if\ell\equiv\pm2\pmod{12}\\-111214028184&if\ell\equiv\pm3\pmod{12}\\-111053798184&if\ell\equiv\pm4\pmod{12}\\-110967345384&if\ell\equiv6\pmod{12},\end{cases} a2(ℓ)={239977889760ifℓ≡0(mod12)245802750760ifℓ≡1(mod12)242271918560ifℓ≡2(mod12)243687619560ifℓ≡3(mod12)242090299360ifℓ≡4(mod12)245672293160ifℓ≡5(mod12)240289966560ifℓ≡6(mod12)245800029160ifℓ≡7(mod12)241959841760ifℓ≡8(mod12)243690341160ifℓ≡9(mod12)242402376160ifℓ≡10(mod12)245669571560ifℓ≡11(mod12),a_{2}(\ell)=\begin{cases}239977889760&if\ell\equiv0\pmod{12}\\245802750760&if\ell\equiv1\pmod{12}\\242271918560&if\ell\equiv2\pmod{12}\\243687619560&if\ell\equiv3\pmod{12}\\242090299360&if\ell\equiv4\pmod{12}\\245672293160&if\ell\equiv5\pmod{12}\\240289966560&if\ell\equiv6\pmod{12}\\245800029160&if\ell\equiv7\pmod{12}\\241959841760&if\ell\equiv8\pmod{12}\\243690341160&if\ell\equiv9\pmod{12}\\242402376160&if\ell\equiv10\pmod{12}\\245669571560&if\ell\equiv11\pmod{12},\end{cases}

and a1(ℓ)a_{1}(\ell) and a0(ℓ)a_{0}(\ell) are functions of period 60 whose values are given on Tables 1 and 2, respectively.

TABLE 1. Values of a1(ℓ)a_{1}(\ell) from Theorem 1.6 as a function of ℓ\ell (mod 60)

ℓ\ell (mod 60)a1(ℓ)a_{1}(\ell)ℓ\ell (mod 60)a1(ℓ)a_{1}(\ell)ℓ\ell (mod 60)a1(ℓ)a_{1}(\ell)
0-16184137344012, 48-16317909427228, 52-176989679872
1, 49-19114969292813, 37-19159559987229, 41-187608700928
2, 38-17867234547214, 26-17822643852830-167065031040
3, 27-17720440627215-17586668544033, 57-177785014272
4, 16-17654377292817, 53-18805460787234, 46-181767430528
5-18671688704018, 42-16840275187235-186136279040
6, 54-16795684492819, 31-19056908492839, 51-176758499328
7, 43-19101499187220-17211096704040-175651959040
8, 32-17344868787222, 58-18221333747244, 56-173002780928
9, 21-17733910732823, 47-18747399987245-176447293440
10-18087561664024, 36-16273318732850-177334624640
11, 59-18702809292825-19025787904055-189677271040

Another fact that we learn from our general formula for the central moments of SSCC is that the ppth central moments are always nonnegative, and (except for the first central moment, which is always zero) they become positive for sufficiently long sequences. This translates into the following result about the moments of CDF.

Theorem 1.7. If ℓ\ell and pp are positive integers, then μp,(f,g)ℓ\mu_{p,(f,g)}^{\ell} CDF(f,g)(f,g) is nonnegative. Moreover, if (i)(i) p=1p=1, (ii)(ii) if pp is odd and ℓ≤2\ell\leq2, or (iii)(iii) if pp is even and ℓ≤1\ell\leq1, then μp,(f,g)ℓ\mu_{p,(f,g)}^{\ell} CDF(f,g)(f,g) equals 0; otherwise it is strictly positive.

In particular, for p = 3, this result tells us that the distribution is always right-skewed as long as ℓ>2\ell > 2.

The rest of this paper is organized as follows. Section 2 establishes the notations, definitions, and basic results that give us the language we need to express our results on central moments of SSCC. Most of this section concerns certain functions called assignments as well as partitions of the domains of these assignments. Section 3 derives an exact formula (in Proposition 3.1) for the pth central moment of SSCC in terms of these assignments and partitions. The number of terms in our formula grows very rapidly as p increases, but many terms give the same contribution.

TABLE 2. Values of a0(ℓ)a_0(\ell) from Theorem 1.6 as a function of ℓ(mod60)\ell \pmod{60}

ℓ(mod60)\ell \pmod{60}a0(ℓ)a_0(\ell)ℓ(mod60)\ell \pmod{60}a0(ℓ)a_0(\ell)ℓ(mod60)\ell \pmod{60}a0(ℓ)a_0(\ell)
0020-35796992004021342003200
14040846835221190664651524115486765952
243845007362229306203136427964199936
33755433024231757338244325097436224
42019007692824-115192627244-4731625472
51284848320025377701856004516428182400
681685739522645888747524629510577152
726992540736275650537536472070838336
8-3040894976282188080742448538804224
91527625612829116965569284936618259328
1026872294400305530291200501950592000
1122752123523127196914752515854911552
12243390873632-11457904645223775911936
133830898982433169669866245313387287424
147986657283425720368128544378364928
15321662880035-3630704005524558632000
162398028595236263828275256-941416448
171528239193637402040943365718862091136
1860690954243824893962245827411098624
192340670572839206470252859-1514996672

due to symmetries of the partitions that underly the terms. This motivates us to introduce the notion of coherently isomorphic partitions, which is developed in Section 4 using a particular group action. Section 4 concludes with another exact formula (in Proposition 4.15) for the ppth central moment of SSCC, but this formula groups terms according to coherent isomorphism classes of the underlying partitions. This formula makes computations easier, but in general it is still a nontrivial task to find all the coherent isomorphism classes. Section 5 provides a matrix-based method, which can be implemented as a computer algorithm, for finding these classes. Section 6 gives a proof of our positivity result (Theorem 1.7). Sections 7 and 8 respectively provide hand calculations of the second and third central moments of SSCC; these yield the variance of CDF in Theorem 1.2 and the third central moment of CDF in Theorem 1.3, from which we can compute the skewness of CDF. Section 9 reports on computer-assisted calculations of the fourth through sixth central moments of SSCC, which yield the fourth through sixth central moments of CDF as reported above in Theorems 1.4–1.6. There is also an appendix with some algebraic lemmas that are used in the proof of Proposition 3.1.