Manuscript Offprint
arXiv:2609.05771Moments of crosscorrelation demerit factors of binary sequences
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 , we endow the pairs of binary sequences of length 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 . We develop a method for finding an exact formula for the th central moment (for any positive integer ) as a function of . Formulae for the variance and third central moment ( and ) 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 and .
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 of complex numbers with only finitely many nonzero terms. If is a nonnegative integer, then this is a binary sequence of length if and only if the terms lie in 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 and are sequences and , then the aperiodic crosscorrelation of with at shift is
Since both and have only finitely many nonzero terms, this is essentially a finite sum, and the sum can be nonzero for only finitely many shifts . One should note that , so that the crosscorrelation function of with is deducible from that of with . When , the value is the aperiodic autocorrelation of at shift , which is an important quantity for determining the performance of 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 for each nonzero to be small compared with , so that the strong peak in the autocorrelation indicates synchronization. Note that is the squared Euclidean norm of . For two distinct sequences and in our network, we would like to be small for all values of , so that two users may be distinguished from each other regardless of the delay between their signals modulated by and .
There are two measures of smallness of the correlation values for a pair of sequences. We call worst-case measure peak crosscorrelation: it is the maximum of over all . The other is a mean square measure called the crosscorrelation demerit factor of and (where and are nonzero sequences), defined as
and we should note that because . The terms and 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 and 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 , we would like to understand the distribution of the crosscorrelation demerit factors for pairs of binary sequences of that length. Since for every binary sequence of length , our denominator in (1) is the constant for all pairs of such sequences. Thus, it is the numerator of (1) that is the interesting and difficult part to study, and so we define
which is the sum of the squared magnitudes of all crosscorrelation values for with , and then we have
(2)
For this entire paper Pair() denotes the set of all pairs of binary sequences of length with uniform probability measure. The expected value of a random variable with respect to this distribution is denoted by . With respect to this distribution, our random variable's th central moment is denoted
and the pth standardized moment is denoted
The mean value of for was found by Sarwate [Sar84, eq. (38)] to be ; we state this result in terms of the crosscorrelation demerit factor.
Theorem 1.1 (Sarwate, 1984). If is a positive integer, then
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 ) for the variance and the third through sixth central moments of SSCC as ranges over Pair. These formulae arise from a general formula for the th central moment of SSCC for every positive integer . 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 becomes more difficult as 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 times the variance of SSCC by (2). The variance of SSCC is a polynomial function of the sequence length , so that the variance of CDF is a rational function of .
Theorem 1.2. If is a positive integer, then
Note that in the limit as 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 , 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 . By (2), the third central moment of CDF is times the third central moment of SSCC, which is a polynomial function of .
Theorem 1.3. If is a positive integer, then
The fourth through sixth central moments of SSCC are quasipolynomial functions of the sequence length . 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 .
Theorem 1.4. If is a positive integer, then
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 .
Theorem 1.5. If is a positive integer, then
where for every we have , , , ,
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 .
Theorem 1.6. If is a positive integer, then
where for every we have , , , ,
and and are functions of period 60 whose values are given on Tables 1 and 2, respectively.
TABLE 1. Values of from Theorem 1.6 as a function of (mod 60)
| (mod 60) | (mod 60) | (mod 60) | |||
|---|---|---|---|---|---|
| 0 | -161841373440 | 12, 48 | -163179094272 | 28, 52 | -176989679872 |
| 1, 49 | -191149692928 | 13, 37 | -191595599872 | 29, 41 | -187608700928 |
| 2, 38 | -178672345472 | 14, 26 | -178226438528 | 30 | -167065031040 |
| 3, 27 | -177204406272 | 15 | -175866685440 | 33, 57 | -177785014272 |
| 4, 16 | -176543772928 | 17, 53 | -188054607872 | 34, 46 | -181767430528 |
| 5 | -186716887040 | 18, 42 | -168402751872 | 35 | -186136279040 |
| 6, 54 | -167956844928 | 19, 31 | -190569084928 | 39, 51 | -176758499328 |
| 7, 43 | -191014991872 | 20 | -172110967040 | 40 | -175651959040 |
| 8, 32 | -173448687872 | 22, 58 | -182213337472 | 44, 56 | -173002780928 |
| 9, 21 | -177339107328 | 23, 47 | -187473999872 | 45 | -176447293440 |
| 10 | -180875616640 | 24, 36 | -162733187328 | 50 | -177334624640 |
| 11, 59 | -187028092928 | 25 | -190257879040 | 55 | -189677271040 |
Another fact that we learn from our general formula for the central moments of SSCC is that the th 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 and are positive integers, then CDF is nonnegative. Moreover, if , if is odd and , or if is even and , then CDF 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 .
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 from Theorem 1.6 as a function of
| 0 | 0 | 20 | -3579699200 | 40 | 21342003200 |
| 1 | 40408468352 | 21 | 19066465152 | 41 | 15486765952 |
| 2 | 4384500736 | 22 | 29306203136 | 42 | 7964199936 |
| 3 | 3755433024 | 23 | 175733824 | 43 | 25097436224 |
| 4 | 20190076928 | 24 | -1151926272 | 44 | -4731625472 |
| 5 | 12848483200 | 25 | 37770185600 | 45 | 16428182400 |
| 6 | 8168573952 | 26 | 4588874752 | 46 | 29510577152 |
| 7 | 26992540736 | 27 | 5650537536 | 47 | 2070838336 |
| 8 | -3040894976 | 28 | 21880807424 | 48 | 538804224 |
| 9 | 15276256128 | 29 | 11696556928 | 49 | 36618259328 |
| 10 | 26872294400 | 30 | 5530291200 | 50 | 1950592000 |
| 11 | 2275212352 | 31 | 27196914752 | 51 | 5854911552 |
| 12 | 2433908736 | 32 | -1145790464 | 52 | 23775911936 |
| 13 | 38308989824 | 33 | 16966986624 | 53 | 13387287424 |
| 14 | 798665728 | 34 | 25720368128 | 54 | 4378364928 |
| 15 | 3216628800 | 35 | -363070400 | 55 | 24558632000 |
| 16 | 23980285952 | 36 | 2638282752 | 56 | -941416448 |
| 17 | 15282391936 | 37 | 40204094336 | 57 | 18862091136 |
| 18 | 6069095424 | 38 | 2489396224 | 58 | 27411098624 |
| 19 | 23406705728 | 39 | 2064702528 | 59 | -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 th 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.
For , much of our discussion involves triples because calculation of the th central moment involves systems of equations with two terms on each side. Then indexes the th term (0 for the left-hand term, 1 for the right-hand term) on the th side (0 indicates left-hand side, 1 indicates right-hand side) of equation number . We employ the following useful definition from [KR25, Def. 2.1], which concerns functions whose inputs are these triples.
Definition 2.1 (Assignment). Let . An assignment for is a function from into , i.e., an element of . If is an assignment for and , then we use subscript notation (or just ) in place of the more usual to denote the value of at . We use the following notations for the set of all assignments for and for useful subsets thereof:
See [KR25, Ex. 2.2] for an example. As we shall see in Section 3, the determination of central moments of SSCC often requires us to count assignments, and it helps to group assignments according to properties of their fibers. The nonempty fibers of a function partition the function's domain, and so we introduce some concepts and notations for partitions. If is a partition of a set and , then we write to mean that and are elements of the same class in (i.e., there is some with ). This means that if is a function whose domain is and is the partition whose classes are the nonempty fibers of , then if and only if . We also introduce some notations for partitions of domains of assignments.
Definition 2.2 (Part(E) and Part(p)). Let . Then Part(E) is the set of partitions of . If , then Part(p) is a shorthand for Part([p]).
In the rest of this section we relate certain partitions to assignments and investigate properties of these partitions that are critical in the combinatorial determination of the central moments of SSCC. The first of these properties is called coherence.
Definition 2.3 (Coherent set, coherent partition, , and ). Let . If , then we say that a subset of is -coherent to mean that is a subset of . A coherent subset of is any subset that is -coherent for some . If , then we say that is coherent to mean that all the classes in are coherent. We write for the set of all coherent partitions in . If , then is a shorthand for .
Example 2.4. Note that is a coherent subset (in fact, a 1-coherent subset) of , while is not coherent because it has triples whose third coordinates differ. Therefore,
is not a coherent partition (i.e., is not in Coh(2)). But
because every class in this partition is coherent.
Now we can describe the partition that we associate to a given assignment.
Definition 2.5 (Partition coherently induced by an assignment). Let and . Then the partition coherently induced by is the partition
which is .
Example 2.6. Let be such that and . Then the partition coherently induced by is in fact the partition from Example 2.4. This is because the nonempty fibers of are and and when we intersect these with and with , we get the four classes of .
Now we build on the notations of Definition 2.1 to give sets of assignments that coherently induce a particular coherent partition.
Definition 2.7 (Assignments coherently inducing a coherent partition). Let and let . Then
- is the set of all that coherently induce , that is, the set of all such that for every with , we have if and only if .
•
• and
The following technical result sometimes guarantees the nonexistence of certain assignments.
Lemma 2.8. Let and let , and for each , let be the number of classes in that are subsets of . Then if .
Proof. Assume that and let be such that . Label the classes in that are subsets of as and select some for each . Suppose that there is some to show contradiction. Then must be distinct values in , but has fewer than elements in it, so we must have .
The second property critical to our combinatorial determination of moments is coherent satisfiability.
Definition 2.9 (Coherently satisfiable partition). Let and let . Then we say that is coherently satisfiable to mean that is nonempty, or equivalently, to mean that there exists such that is nonempty. Let denote the set of coherently satisfiable partitions that are elements of , and if , then is a shorthand for .
Example 2.10. Consider the partition from Example 2.4, and recall that the assignment from Example 2.6 coherently induces . Thus, . Note that for each for this assignment, so that (and indeed is in for all since the image of is ). Thus, is coherently satisfiable, and so .
To prepare ourselves to discuss the third property of partitions that is critical to the determination of our moments, we now need to introduce the notion of restriction of assignments and associated notations for the sets and partitions related to these assignments.
Definition 2.11 (Restriction of functions, sets, and partitions). Let . If , then the restriction of to , denoted , indicates the function from to with for every ; that is, is the function obtained from by restricting the domain to . If is a subset of , then the restriction of to , written , is . If is a partition of , then the restriction of to , written , is the partition of . If is a set of partitions of , then restriction of to , written , is the set of partitions .
See [KR25, Ex. 2.11] for examples. We now see that restriction respects coherence of partitions.
Lemma 2.12. Let and let . Then .
Proof. By the way we define restriction, . Let with . Then the coherence of means that and reside in different classes of , and so they also reside in different classes of .
Restriction also respects the various properties of assignments from Definitions 2.1 and 2.7.
Lemma 2.13. Let and , and .
(i) If , then .
(ii) If , then .
(iii) If , then .
(iv) If , then .
(v) If , then .
(vi) If , then .
(vii) If , then .
(viii) If , then .
Proof. Parts (i)–(iv) are proved in [KR25, Lemma 2.12].
To prove (v), let , so that for every with we have if and only if . Thus, when with , we have if and only if . Hence, we have . To prove (vi), (vii), and (viii) respectively, then use (ii), (iii), and (iv) each together with (v).
Partitions in which all classes are of even cardinality play an important role in our calculations.
Definition 2.14 (Even partition). We say that a partition of some set is even to mean that every class is a finite set of even cardinality.
See [KR25, Ex. 2.15] for an example. Now we define the third important property that the key partitions in our calculation of central moments have.
Definition 2.15 (Globally even, locally odd partition). Let . We say that a partition of is globally even, locally odd (abbreviated GELO) to mean that is an even partition such that for every , the restricted partition is not even. For , we use GELO to denote the set of GELO partitions in Part.
See [KR25, Ex. 2.17] for an example. We pause to record the fact that when , the notions of global and local coincide, so the GELO property cannot be satisfied.
Lemma 2.16. We have GELO(1) = .
Proof. Any partition has , so we cannot have even and non-even, so GELO(1) = .
We now define contributory coherence, which is the synthesis of our three important properties and which is the key property of partitions in our calculation of central moments.
Definition 2.17 (Coherently contributory partition). Let and let . We say that is coherently contributory to mean that is both coherently satisfiable and globally even, locally odd. Let denote the set of contributory elements of , so that .
Example 2.18. Consider the partition from Example 2.4. Note that that is an even partition (every class has cardinality 2) but that and , neither of which is an even partition. So is GELO, and since Example 2.10 shows that , we conclude that .
We close this section with a result about structural features of coherently contributory partitions. The following terminology makes these features easier to discuss.
Definition 2.19 (Atomized set). Let . An atomized set is any subset of such that for every .
Now we indicate some constraints on the structure of coherently contributory partitions.
Lemma 2.20. Suppose that and . Then the following hold.
(i) For each , we have
i.e., every class in is atomized.
(ii) No class in has more than p elements.
(iii) If , then is at least 4 but not greater than 2p. Furthermore, if is odd, then is at least 6.
Proof. Since , for every , the restriction is a noneven partition of into classes where no class can contain elements with differing third coordinates. So if the partition has a class with more than one element, must be of the form for some . But then since , there is some , so that and and yet , so we obtain a contradiction. So we conclude that all classes of are singleton classes, so that has the claimed form. It then follows that no class of can have more than elements because for each , the class has at most one element in .
From now on, suppose that . Since and cannot have more classes than , we have . On the other hand, since is a partition of the elements of into nonempty classes of even cardinality, we see that .
Now suppose that is odd, and we may assume since by Lemma 2.16. From part (ii) we know that no class of has more than elements, and since is odd but is even (since ), this means that no class has more than elements. Then , so it is a union of a partition of and a partition of . So each of these two partitions has at least classes, and so has at least 6 classes.
3. CENTRALIZED MOMENT FORMULA
This section details the theory for calculating a formula for the th central moment of SSCC, the sum of squares of the crosscorrelation values for a pair of binary sequences and . Recall from the Introduction that the moments are computed with ranging over the set of all pairs of length binary sequences, Pair, with uniform probability distribution. Also, recall our convention that denotes the expected value of a random variable of this distribution, and the th central moment of this random variable is
We are working with the SSCC because it is mathematically more convenient than CDF, and since (2) shows how to convert between CDF and SSCC, it is simple to convert the results on SSCC here to results in terms of CDF. Proposition 3.1 details a method for calculating the central moments of SSCC in terms of coherently contributory partitions and assignments. The proof relies on several lemmas, which are included and proved in Appendix A.
Proposition 3.1. For , we have
Proof. Let and be binary sequences of length , so that when , and let be the pair of sequences . If and , then we use the notation as a shorthand for . By [Kat16, eq. (14)], we have
Using our notation, this formula becomes for every . Therefore
Then by a binomial expansion, we obtain
Then by Lemma A.1, we obtain
Then by Lemma A.2, we have
Now we sort the assignments in according to which partition they coherently induce.
Let be a fixed partition in , and consider the value of the innermost sum in the last expression. If , then Lemma A.3 tells us that
(3)
\mathbb{E}_{h}^{\ell}\left(h^{\tau|_{[p]\setminus E}\right)\prod_{e\in E}\mathbb{E}_{h}^{\ell}\left(h^{\tau|_{\{e\}}}\right)equals 1 if and only if is even for every and also is even. Otherwise the term (3) is 0. Equivalently, the term (3) is 1 if and only if is even for every and is even. So we fix an even , and let be the set of all such that is even, and then
So we only get a nonzero contribution from partitions that are globally even, locally odd. So our central moment calculation becomes
where the final step uses the fact that is empty whenever is not coherently satisfiable.
4. COHERENT ISOMORPHISM CLASSES OF PARTITIONS
The formula for the th central moment of SSCC in Proposition 3.1 can be arduous to apply because the set contains a vast number of partitions when becomes large (already more than one thousand partitions when ). There are symmetry transformations acting on our partitions that preserve the associated contributions in the formula for the th central moment in Proposition 3.1. By introducing the appropriate group of symmetries and organizing into orbits under the action of this group, we can obtain a summation formula for the th central moment of SSCC with far fewer terms than the one in Proposition 3.1. This section is dedicated to defining this group, describing its action on partitions, and using this to derive a new formula for the th central moment of SSCC that is easier to use than the one in Proposition 3.1.
We begin with group-theoretic notations and conventions. If is a set, then denotes the group of all permutations of . If , then is shorthand for . If is a subset of and , then . If is a set of subsets of , then is a shorthand for . If is a set of sets of subsets of , then is a shorthand for .
For , we let be the wreath product . For and , we have . We note that .
For , we let . This is the group of symmetries that we use to reorganize the formula in Proposition 3.1 for the th central moment into one more manageable to calculate. The form of an element of our group is largely determined by the fact that when it permutes a partition of by permuting the underlying elements of , these elements index the terms in the system of equations
that an assignment must satisfy. (See Definition 2.7 for , which ultimately depends on Definition 2.1, where we find the equations.) For and , we have . In this case, we say that uses the permutation to permute the equations, then uses to permute the sides of equation for each , and then uses to simultaneously permute the pair of places on every side of every equation. Since each element of permutes , we regard as a subgroup of .^1 We note that , a fact that we shall use later when computing the size of orbits under this action.
Now we let our group act on assignments. In fact, we define the action of an arbitrary element of on , but since we identify with a subgroup of , this defines an action of on . If and , then is the permutation given by , and one readily sees that the inverse of is . Now we show that our action preserves some important properties of assignments and transforms others in a straightforward way.
Lemma 4.1. Let and suppose that and . Then
(i) ,
(ii) ,
(iii) ,
(iv) ,
(v) ,
(vi) ,
(vii) , and
(viii) .
Thus, the action of on can be restricted to any of the following subsets: , , and .
Proof. For each item, we need only prove that the left-hand set is contained in the right-hand one, and then we can get the opposite containment by invoking the one that we already proved with in place of and in place of (if appears) and then rearranging. We have already noted that is a permutation of , so (i) is clear. From this, (ii) follows because if , then (i) shows that and the image of is contained in the image of , which is contained in .
To prove (iii), we define a map with for each , and we also let be the unique isomorphism from to the cyclic multiplicative group . Note that if , then if and only if (where 0 here means the zero function). We let act on as follows: if
Our group here is closely related the group used in [KR25, Notation 4.1] to study the distribution of the autocorrelation demerit factor. This is also regarded as a subgroup of . If we let and be the monomorphisms that give our identification of elements of and with elements of , and if we let be the monomorphism , then , so that so that can be regarded as a subgroup of via .
and , then is the element of with . If and , then one shows that by showing that the two functions have the same value for every input . Therefore, if , then if and only if , which is true if and only if for all , which in turn is true if and only if for all , and this is true if and only if for all . This proves (iii), and then (iv) follows from (ii) and (iii) because .
To prove (v), let us write . Suppose that . Suppose that with . Then , so the last components of and are identical. Then our assumption that tells us that if and only if . Thus, if and only if . Thus, .
To prove (vi), (vii), and (viii), let “” stand for one of the decorations “” or “=” or “=”, ”. Let . By definition , so , and thus by (v) and the appropriate one of (ii)–(iv), we have .
Parts (v)–(viii) of Lemma 4.1 show that the action of on an assignment changes which partition the assignment coherently induces. This means that we need to also consider the action of on partitions of . Partitions that lie in the same orbit under this action are considered to be isomorphic in some sense.
Definition 4.2 (Coherently isomorphic partitions). Let and let . We say that and are coherently isomorphic, and write , to mean that there is some such that . The coherent isomorphism class of is the set of all partitions that are coherently isomorphic to . In other words, the coherent isomorphism class of is the orbit of under the action of .
Example 4.3. Consider the partition from Example 2.4. Now consider the group element in , where denotes the identity permutation in and denotes the transposition in . Then let
\mathcal{Q}=\gamma(\mathcal{P})=\left\{\left\{(0,0,0),(1,1,0)\right\}\right\},\left\{(0,0,1),(1,1,1)\right\},\left\{(0,1,0),(1,0,0)\right\},\left\{(0,1,1),(1,0,1)\right\}\right\},so and are coherently isomorphic.
Since coherent isomorphism classes are orbits under the action of , we define the stabilizer of a partition and then use the orbit-stabilizer counting formula to determine the size of a coherent isomorphism class.
Definition 4.4 (Stabilizer of a partition). Let and let . The stabilizer of , written , is the subgroup of consisting of all with .
Lemma 4.5. Let and let . Then the coherent isomorphism class of contains
partitions.
Example 4.6. Consider the stabilizer of the partition from Example 2.4 under the action of . It is easy enough to check that the , so and note that , so then the coherent isomorphism class of has partitions in it. Example 4.3 exhibits the other partition that is isomorphic to .
Most of the rest of this section is dedicated to showing that our group action organizes the coherently contributory partitions (i.e., elements in CCon in the formula in Proposition 3.1) into orbits. In order to see this, we need to show that our group action preserves the property of coherent contributoriness so that each orbit either contains only coherently contributory partitions or no coherently contributory partitions at all. Since coherent contributoriness is the combination of coherence, GELOness, and satisfiability, we show that each of these three properties is preserved by our group action.
Lemma 4.7. Let and with . Then is coherent if and only if is coherent.
Proof. Since and are coherently isomorphic, there is some such that . The partition is coherent if and only if and reside in different classes of for all . This is true if and only if and reside in different classes of for all . This, in turn, is true if and only if and reside in different classes of for all . As we let (resp., run through , we see that (resp., ) also runs through all of . So we know that is coherent if and only if and reside in different classes of for all . Since , we can then say that is coherent if and only if is coherent.
The following technical lemma is used to show that our group action preserves GELOness.
Lemma 4.8. Let and . For and , we have , so it follows that the partitions and have the same number classes of each size.
Proof. In view of how the permutation acts on triples in the set , we have . Therefore, and are both partitions of . Suppose that . Then if and only if , which is true if and only if , which is true if and only if because and lie in . Thus, if and only if , and so we see that and are the same partition of . Since permutes the elements of , for we have . Thus, and have the same number classes of each size.
Corollary 4.9. Let and with . Then is GELO if and only if is GELO.
Proof. Since and are coherently isomorphic, there is some such that . Since application of the permutation of does not change the size of classes, we know that is even if and only if is even. Also by Lemma 4.8, for every we have that is an even partition if and only if is an even partition. Since permutes , this shows that is GELO if and only if is GELO.
Our group action also preserves satisfiability.
Lemma 4.10. Let and with . Then and if and only if .
Proof. Since , there is some such that . Thus, by Lemma 4.1(viii), we know that , and since is a permutation of , it follows that . Furthermore, if and only if for some , and this is true if and only if for some , i.e., if and only if .
Now we can conclude that our group action preserves coherent contributoriness.
Corollary 4.11. Let and with . Then if and only if . Furthermore, for every .
Proof. Since , we combine Corollary 4.9 and Lemma 4.10.
Since our group action preserves coherent contributoriness, the set of coherently contributory partitions is a union of orbits under this action. It will be helpful to name the set of all such orbits.
Definition 4.12 (CIsom(p)). Let . We define CIsom(p) to be the set of coherent isomorphism classes of partitions in CCon(p).
Example 4.13. Consider the partition from Example 2.4, which we showed to be in in Example 2.18. In Example 4.6 we found that the only other partition to which is coherently isomorphic is the partition from Example 4.3. Corollary 4.11 shows that is also in , and so is an isomorphism class of partitions in , i.e., .
Since Lemma 4.10 shows that isomorphic partitions have the same count of assignments, we can attach the common value of that count to each isomorphism class.
Definition 4.14 (CSols(, )). Let . If such that all the partitions in are coherently isomorphic to each other, then we define CSols(, ) to be the common value of for . When we fix and regard CSols(, ) as a function of , we call it the solution count function for .
Now we are ready to prove a version of Proposition 3.1 that organizes the summation by coherent isomorphism classes.
Proposition 4.15. For , we have
Proof. From Proposition 3.1, we get
Corollary 4.11 and Definition 4.14 imply
- FINDING ISOMORPHISM CLASSES OF COHERENTLY CONTRIBUTORY PARTITIONS
Proposition 4.15 provides a way of calculating the central moments of the sum of squared magnitudes of crosscorrelation (SSCC) provided that one can determine the isomorphism classes of coherently contributory partitions. In this section, we describe a matrix-based method for finding all these isomorphism classes. Thus, much of this section concerns how we encode partitions and their classes as matrices and vectors. One should recall the definitions of coherent and atomized sets from Section 2.
Definition 5.1 (Display vector and matrix). Let and let be an atomized set that is a subset of . The display vector of is the matrix (column vector) whose rows are indexed using the elements of and whose entries come from the set , where the 0 is considered uncolored while the elements with and subscripts are considered to be colored red or blue, respectively. For each our display vector has respectively when , , , , or . A display matrix of a collection of atomized sets in is a matrix whose columns are the display vectors of the classes of (arranged in any order).
Lemma 2.20(i) says that all classes in coherently contributory partitions are atomized, so every coherently contributory partition has a display matrix. The correspondence between atomized sets and display vectors is bijective, but the correspondence between coherently contributory partitions and display matrices is not bijective, since one can permute the columns of a display matrix without changing which partition it corresponds to. If we organize the display matrices into classes modulo permutation of columns, then the correspondence between these classes and the coherently contributory partitions is bijective.
Once becomes larger than 3, it is difficult to run through all the different display matrices because they encode a great deal of information. Our method starts with simpler matrices that lack some of the features (namely, color and signs) of display matrices.
Definition 5.2 (mono, monochrome vector and matrix). The monochromator, written mono, is the map that takes any matrix with entries in to the matrix with entries in by replacing each entry that is or with 1 and each entry that is or with . For , the monochrome vector of an atomized set in is mono where is the display vector of . A monochrome matrix for a collection of atomized sets in is any mono where is a display matrix of .
Definition 5.3 (abs, absolute vector and matrix). The absolutizer, written abs, is the map that takes any matrix with entries in to the matrix with entries in by replacing each entry with its absolute value. For , the absolute vector of an atomized set in is abs(mono where is the display vector of . An absolute matrix for a collection of atomized sets in is any abs(mono where is a display matrix of .
Now we want to determine which display matrices correspond to coherently contributory partitions. We build up to this by first examining which display matrices correspond to partitions and then move on to those that have additional properties such as coherence, GELOness, and satisfiability.
Lemma 5.4. Let . Let be a matrix with entries in . Then is a display matrix for some partition in Part if and only if satisfies the following conditions:
(i) Each row of has one , one , one , one , and instances of 0 as its entries (not necessarily in that order).
(ii) For each column of , the sum of the absolute values (ignore color) of the entries in that column is strictly positive.
Proof. Let be the collection of atomized sets that the columns of represent. The second condition is equivalent to saying that these classes are nonempty. The first condition is equivalent to saying that the classes are disjoint and their union is .
Definition 5.5 (Coherent display vector, coherent display matrix). We say that a display vector is incoherent to mean that it has at least one red entry (i.e., or ) and at least one blue entry (i.e., or ). A coherent display vector is a display vector that is not incoherent. A nonzero display vector is said to be red (resp., blue) if it is coherent and its nonzero entries are all red (resp., blue), and then red (resp., blue) is said to be the color of that vector, while the zero vector has no color. A coherent display matrix is a display matrix whose columns are all coherent display vectors; an incoherent display matrix is one that is not coherent. A red (resp., blue) column of a coherent display matrix is a column of that matrix that is a red (resp., blue) display vector, and the color of that column is said to be red (resp., blue).
Note that coherent display vectors are precisely the display vectors that represent coherent classes, and a red coherent display vector represents a 0-coherent class while a blue coherent display vector represents a 1-coherent class.
Lemma 5.6. Let . Let be a matrix with entries in . Then is a display matrix for some partition in if and only if satisfies the following conditions:
(i) Each row of has one , one , one , one , and instances of 0 as its entries (not necessarily in that order).
(ii) For each column of , the sum of the absolute values (ignore color) of the entries in that column is strictly positive.
(iii) is coherent.
Proof. The conditions here are the same as those of Lemma 5.4 except for the added condition that be coherent, which is true if and only if all the classes of are coherent.
Now that we have understood which display matrices correspond to coherent partitions, we look at which matrix property corresponds to GELOness.
Lemma 5.7. Let . Let be a matrix with entries in . Then is a display matrix for some partition in if and only if satisfies the following conditions:
(i) Each row of has one , one , one , one , and instances of 0 as its entries (not necessarily in that order).
(ii) For each column of , the sum of the absolute values (ignore color) of the entries in that column is strictly positive and even.
Proof. The conditions here are the same as those of Lemma 5.4 except for the added parity condition. So if is the collection of atomized sets of represented by the columns of , then the conditions here are equivalent to saying that is an even partition. But a partition consisting of atomized classes is GELO if and only if it is even.
Now we want to characterize which display matrices correspond to coherently satisfiable partitions. This requires us to build some further linear-algebraic machinery.
Definition 5.8 (colored vectors, weights, and distances). A colored vector is a vector whose entries are in and each entry is given the color red or blue (but not both). Two colored vectors and are said to have the same color scheme if and only if and has the same color as for all . The sum or difference of two vectors with the same color scheme is endowed with the same color scheme as the two vectors being combined. The colored weight of a vector is the ordered pair where is the number of nonzero red entries in v and b is the number of nonzero blue entries in v. The colored distance between two colored vectors v and w having the same color scheme is equal to the colored weight of v - w. A properly colored vector is a colored vector such that no two entries have both the same color and the same value.
We can characterize coherent satisfiability of partitions via certain homogeneous systems of equations related to the matrices that represent the partitions.
Lemma 5.9. Let , let , and let be a display matrix for . Index the rows of with the elements of and index the columns of with the classes of , where class indexes the column that is the display vector of . We write each -tuple in as a column vector whose entries are indexed by the classes of arranged in the same order that they are for the columns of . Consider all such -tuples to be colored so that for each , the color of entry is the same as the color of the column of indexed by . Then is equal to the number of such properly colored -tuples in such (ignore colors of entries of and when computing ). Therefore, is coherently satisfiable if and only if there is there some properly colored -tuple in such that and the color of entry is the same as the color of the column of indexed by for every .
Proof. Note that every column of is either red or blue since no column is a zero vector by Lemma 5.6. Let be the set of all properly colored such that and where the color of the th entry of is the same as the color of the th column of for every . We write both (as in the statement) and to mean the th coordinate of . The proper coloring condition forces distinct red entries of to have different values, which is equivalent to saying that whenever and are distinct 0-coherent classes. Likewise, the proper coloring condition forces distinct blue entries of to have different values, which is equivalent to saying that whenever and are distinct 1-coherent classes. Throughout this proof, we let be the quotient map for the partition , i.e., is equal to the class such that .
We want to define a map where such that for each and each , so we need to check that our really is in . Clearly, our map because for every . By the way display vectors and matrices are defined, the row of the display matrix for has a , a , a , and a in the columns indexed by , , , and , respectively, and all the rest of the entries of this row are zeros. Thus, the entry of is equal to
which equals 0 since Ma = 0. Thus, by the way we defined , we have
and since this is true for all , we conclude that . We let be the partition in that is coherently induced by . For any and any , , we have if and only if , that is, if and only if . Since and are both v-coherent classes of the coherent partition , the columns of that correspond to these two classes must be the same color, and therefore if and only if , i.e., if and only if . So we see that both and are coherent partitions and if and only if for every and , . Thus, , and then we can conclude that coherently induces , i.e., . Putting together what we have shown, we obtain
. So our map is indeed defined.
We want to define a map where such that for each we define to be the common value of for every (there is such a common value because coherently induces since ) and we color with the color of the column of the matrix that is indexed by . We can be sure that all the entries of the vector lie in because for all because . We also note that we have colored the elements of with the correct color scheme for them to be in . We write both (as in the statement) and to mean the th coordinate of . Now we need to check that for all . For , the entry of is the product of the row of with the column vector . By the way display vectors and matrices are defined, the row of the display matrix for has a , a , a , and a in the columns indexed by , , , and , respectively, and all the rest of the entries of this row are zeros. Thus, the entry of is equal to
and since it is immediate that for all by the definition of , they way we defined makes the eth entry of equal to
which is 0 because . So we have proved that every entry of is 0, and so . Now let be distinct classes such that and have the same color. This means that the columns of corresponding to and have the same color. So there is some such that both and are -coherent. Choose some and . Since coherently induces and and are distinct -coherent classes of , we conclude that , and so . Thus, is properly colored. All in all, we have shown that , and so our map is defined.
Now suppose that , and notice that for , the th entry of is equal to the common value of for all , which in turn is equal to . So we conclude that for all . On the other hand, if we let and , then , and since by the definition of , we see that . So we conclude that for all . Thus and are inverses of each other, and so both maps are bijective, and so .
The claim about coherent satisfiability of the lemma follows immediately from the earlier claim.
The following result leads to Corollary 5.11, which provides a simple criterion for the existence of solutions that verify satisfiability in Lemma 5.9.
Lemma 5.10. Suppose that is a subfield of and that is an matrix with entries in whose row sums are all zero. Suppose that each column of has a color, either red or blue. Let be the reduced row echelon form of , and let the th column of have the same color as the th column of for each . Each entry of is given the color of its column, so that the rows of are colored vectors that all share the same color scheme. Every solution of the homogeneous linear system is given the same color scheme as the rows of . Then has a properly colored solution whose entries are in if and only if meets the following conditions.
(i) No row of has colored weight (2,0).
(ii) No row of has colored weight (0,2).
(iii) No pair of rows of have colored distance .
(iv) No pair of rows of have colored distance .
Proof. Assume that meets the four conditions enumerated in the statement of this lemma. Since the row sums in are zero (because the row sums in M are zero), no difference between two rows of can have colored weight equal to , , , . Let be the union of and the set of all entries of and let be the set of all pairwise differences of elements in (including differences of the form ). Let and . Solutions of are identical to solutions of , and the row reduced echelon form gives us a way of writing each pivot variable as a linear combination of the free variables for solutions where the coefficients in the linear combination are opposites of elements of . Therefore, the difference between any two distinct variables in the solution set is a linear combination of free variables with the coefficients in the linear combination being elements of . Furthermore, our conditions on the colored weights of rows and differences of rows guarantees that if the columns corresponding to the two variables are of the same color, then their difference is a linear combination that has at least one nonzero coefficient. Let be a rational number (which lies in since is 's prime subfield) with where is the number of columns in ; this makes . Let be a colored vector with the same scheme as the rows of , and for coordinates in this vector that correspond to free variables, assign values of , where is the number of free variables. Let the coordinates of corresponding to pivot variables take the values they must take so that (and so ). The entries of are in because the free variables are assigned powers of , and the pivot variables are assigned -linear combinations of the powers of (since has entries in ). The difference between any two coordinates of having the same color is a sum of the form with and and . And then , and so . So we have shown that has a properly colored solution whose entries are in .
If any of the four conditions on listed in the statement of this lemma does not hold, then there is some vector in the row space of whose entries sum to zero and whose colored weight is or . So there is some nonzero element of such that has one , one and all other entries equal to 0, and the and have the same color. But then this forces any solution of (hence any solution of ) to not be properly colored, since it requires two different coordinates with the same color to be assigned the same value.
Corollary 5.11. Suppose that is an matrix with entries in whose row sums are all zero. Suppose that each column of has a color, either red or blue. Let be the reduced row echelon form of , and let the th column of have the same color as the th column of for each . Each entry of is given the color of its column, so that the rows of are colored vectors that all share the same color scheme. Every solution of the homogeneous linear system is given the same color scheme as the rows of . Then has a properly colored solution whose entries are in if and only if meets the following conditions.
(i) No row of has colored weight (2,0).
(ii) No row of has colored weight (0,2).
(iii) No pair of rows of have colored distance .
(iv) No pair of rows of have colored distance .
Proof. Lemma 5.10 shows that we have a properly colored solution of whose coordinates are in if and only if the enumerated conditions above are met. Every properly colored solution with coordinates in can be turned into a properly colored solution with coordinates in by scaling (because the system is homogeneous) and thence to a properly colored solution with coordinates in N by translating by some integer multiple of the all-one vector (since the row sums of M are zero).
Now combine Lemma 5.6, Lemma 5.9, and Corollary 5.11 to obtain the following characterization of the display matrices representing coherently satisfiable partitions.
Lemma 5.12. Let . Let be a matrix with entries in . Then is a display matrix for some partition in if and only if satisfies the following conditions:
(i) Each row of M has one , one , one , one , and instances of 0 as its entries (not necessarily in that order).
(ii) For each column of M, the sum of the absolute values (ignore color) of the entries in that column is strictly positive.
(iii) M is coherent.
(iv) If is the reduced row echelon form of M whose columns are given the same sequence of colors as the columns of M (using the coherence of M from the previous condition) and each entry of is given the color of the column it resides in, then no row of has colored weight (2,0) or (0,2), and no pair of rows of have colored distance (2,0) or (0,2).
Proof. By Lemma 5.6, the first three conditions are necessary and sufficient for to be a display matrix for some partition in . Once these three are granted, then by Lemma 5.9 and Corollary 5.11, the fourth condition is necessary and sufficient for to be coherently satisfiable.
And now we synthesize Lemmas 5.7 and 5.12 to obtain the following characterization of the display matrices that represent coherently contributory partitions.
Lemma 5.13. Let . Let be a matrix with entries in . Then is a display matrix for some partition in if and only if satisfies the following conditions:
(i) Each row of M has one , one , one , one , and instances of 0 as its entries (not necessarily in that order).
(ii) For each column of M, the sum of the absolute values (ignore color) of the entries in that column is strictly positive and even.
(iii) M is coherent.
(iv) If is the reduced row echelon form of M whose columns are given the same sequence of colors as the columns of M (using the coherence of M from the previous condition) and each entry of is given the color of the column it resides in, then no row of has colored weight (2,0) or (0,2), and no pair of rows of have colored distance (2,0) or (0,2).
Proof. Since , we just take the conjunction of the conditions from Lemmas 5.7 and 5.12.
For each , we would like to find a set of representatives for the coherent isomorphism classes of coherently contributory partitions of , i.e., a collection of partitions with exactly one partition per element of . We shall use display matrices to find these representatives. We note that permutation of columns does not change which partition such a display matrix represents, so when we search for display matrices for our representatives, we are looking for matrices up to column permutation. Furthermore, since coherent isomorphism classes of partitions are orbits under the action of the group , it will be helpful to see how the action of some on a partition changes a display matrix of to a display matrix of . Recall that where , so that an element of is of the form with and . This maps an to . Recall that we say that uses the permutation to permute the equations, then uses to permute the sides of equation for each , and then uses to simultaneously permute the pair of places on every side of every equation. If is a display matrix of some partition of where all classes of are atomized, and is the element of just described, then one obtains a display matrix of from by permuting the rows of using to get some , then for each we negate the row of if and only if , and finally we change the color of all colored elements (red becomes blue and blue becomes red) if and only if (but do nothing if is the identity permutation) to obtain a display matrix for . So, searching for representatives of coherent isomorphism classes of partitions in is tantamount to finding a set of representatives of the display matrices that satisfy the conditions of Lemma 5.13 under the action that allows us to permute columns, permute rows, negate each row independently of the others, and swap red and blue colors throughout the entire matrix. A sketch of a procedure for finding all these matrices follows.
(1) Consider all the matrices with rows and entries from where each row sum is 2 and each column sum is a positive even integer, and let be a set of representatives of orbits of the matrices under the action of column permutation.
(2) For each matrix in , we can attach signs to the 1 entries so that each row has one instance of +1 and one instance of -1. There are ways to do this for each matrix in , and if we collect all such matrices into a set of matrices, then let be a set of representatives of orbits of these signed matrices under the action of column permutation.
(3) For each pair of matrices in , color all the nonzero elements of red and all the elements of blue and form the matrix by juxtaposing to the right of ; call the set of all such matrices produced this way . From all these matrices, let be a set of representatives of orbits of the matrices in under the group action that allows us to arbitrarily permute columns, permute rows, negate any subset of rows, and globally swap red and blue colors for all nonzero entries of the matrix. Let be the set of all matrices in such that the reduced row echelon form of (with every entry in the th column of given the same color as the th column of for each column index ) has the property that no row of has colored weight or and no two rows of have colored distance or . This set will have one and only one display matrix for each class in with that matrix representing one of the coherently contributory partitions in .
The last claim in our procedure about is true because (i) the method of construction guarantees that all matrices in conform to the properties enumerated in Lemma 5.13; (ii) for every matrix that has the properties enumerated in Lemma 5.13, there must be a matrix in that has the same columns as but perhaps in a different order (so as to place all the columns with red entries to the left of all the columns with blue entries); and (iii) two matrices represent the same coherent isomorphism class of if and only if they lie in the same orbit of the group action described in the procedure.
Example 5.14. We use our procedure to find display matrices for a set of representatives of the classes in . First we construct the set of representatives modulo column permutation of all matrices with 2 rows and entries from where each row sum is 2 and each column sum is a positive even integer. This means that the sum of all entries is 4, and every column sum is 2, so the only matrix in is
Then we construct the set of matrices obtained by changing one entry in each row of from a +1 to a -1 and we choose representatives modulo column permutation, and so we obtain
, where
Now we form the set of all four matrices of the form with and with the nonzero entries in colored red and the nonzero entries in colored blue. Then we form a set of representatives of matrices in modulo the group action that allows us to arbitrarily permute columns, permute rows, negate any subset of rows, and globally swap red and blue colors for all entries of the matrix. Our with
Finally, we let be the set containing every matrix in whose reduced row echelon form (with the entries of any given column in the reduced matrix given the same color as the corresponding column of the original) lacks any row of colored weight or and any pair of rows with colored distance or . The row reduced echelon forms of and are
respectively. Since the former reduced row echelon form has no row with colored weight or and no two rows with colored distance or , we conclude that . But the latter reduced row echelon form has a row of colored weight , so . So , and so there is precisely one class in Clsom(2). This is the display matrix for the partition from Example 2.4, so that partition is a representative of the sole coherent isomorphism class in Clsom(2).
6. POSITIVITY OF MOMENTS
This section is dedicated to a proof of Theorem 1.7, which states that all moments of the crosscorrelation demerit factor are nonnegative (and usually strictly positive unless the sequences are very short or if we are considering the first central moment, which is always zero). Since (when ) by (2), we see that is nonnegative (resp., strictly positive) if and only if is nonnegative (resp., strictly positive). So for convenience, we prove our claims here with SSCC in place of CDF, and then Theorem 1.7 follows immediately.
Theorem 6.1. If and , then is nonnegative. Moreover, if , if is odd and , or if is even and , then ; otherwise it is strictly positive.
Proof. Proposition 3.1 expresses as a sum of cardinalities of sets, so it cannot be negative. We have because the first central moment is always zero.
Suppose that is a coherently contributory partition. Then Lemma 2.20(iii) shows that has at least four classes in it (and if is odd, then it has at least 6 classes in it). In view of coherence, there must be some such that has at least two classes (and at least three classes if is odd) that are subsets of . Then Lemma 2.8 shows that when (and if is odd, when ). Therefore when (if is odd, when ). Thus, Proposition 3.1 shows that when (and also when if is odd).
If is even and , let , where , , , and , which is a coherent and GELO partition of . Then let be defined by if and if . It is easy to check that , which makes coherently satisfiable (and hence coherently contributory since it is GELO), and makes strictly positive. This makes SSCC strictly positive by Proposition 3.1.
If is odd with and , let where , , , , , and . This is a coherent and GELO partition of . Then let be defined by if and if and if . It is straightforward to check that , which makes coherently satisfiable (and hence coherently contributory since it is GELO), and makes strictly positive. This makes SSCC strictly positive by Proposition 3.1.
7. VARIANCE
In this section, we calculate CDF , that is, the second central moment (variance) of the crosscorrelation demerit factor. We are working with SSCC because it is mathematically more convenient than CDF, and since (2) shows how to convert between CDF and SSCC, it is simple to convert the results to be in terms of CDF. We shall be using the formula from Proposition 4.15 to compute the variance, so we must first determine the coherent isomorphism classes of coherently contributory partitions.
Lemma 7.1. There is one and only one coherent isomorphism class in . This sole coherent isomorphism class consists of two partitions, one of which is
Proof. Note that the partition is just the partition of the same name in Example 2.4, which is shown to be a representative of the sole class in in Example 5.14, and this class is shown to consist of two partitions in Example 4.6.
Now we determine the solution count function for the unique isomorphism class of coherently contributory partitions.
Lemma 7.2. For the sole coherent isomorphism class of , we have
Proof. In Lemma 7.1, we give a partition that is a representative of the sole coherent isomorphism class of , and so for all . Since the matrix
is a display matrix for , Lemma 5.9 says that is equal to the number of solutions of the homogeneous system where the first two coordinates of are colored red, the last two are colored blue, and no two entries of the same color have the same numerical value (proper coloring). If we write
Then is equivalent to the system with the single equation which by [KR25, Lemma C.6(i)] has solutions in if we do not insist on proper coloring. The improperly colored solutions are precisely the ones with and , of which there are total solutions. So the total number of properly colored solutions is .
Now that we have determined the unique isomorphism class of coherently contributory partitions and its solution count function, we can calculate the variance of SSCC.
Theorem 7.3. If is a positive integer, then
Proof. By Proposition 4.15, we have
and since Lemma 7.1 tells us that we have only one class in with , while Lemma 7.2 tells us that , we obtain the desired result.
By (2), we can divide the variance of SSCC by to get the variance of CDF, and thus obtain Theorem 1.2.
8. SKEWNESS
In this section, we calculate CDF , that is, the third central moment of the crosscorrelation demerit factor, from which one can obtain its skewness by dividing by the 3/2 power of the variance (calculated in Section 7). We are working with SSCC because it is mathematically more convenient than CDF, and since (2) shows how to convert between CDF and SSCC, it is simple to convert the results to be in terms of CDF. We shall be using the formula from Proposition 4.15 to compute the third central moment, so we must first determine the coherent isomorphism classes of coherently contributory partitions.
Lemma 8.1. There are precisely two coherent isomorphism classes, and , in , which respectively contain the partitions
and
where is the function such that is the unique element of [3] that is congruent to a modulo 3. Furthermore, .
Proof. We use our procedure summarized at the end of Section 5 to find display matrices for a set of representatives of the classes in Clsom(3). First we construct the set of representatives modulo column permutation of all matrices with 3 rows and entries from where each row sum is 2 and each column sum is a positive even integer (necessarily 2). This means that the sum of all entries is 6, and every row and column sum is 2, and up to column permutation there is only one such matrix, so we let where
Then we construct the set of matrices obtained by changing one entry in each row of from a +1 to a -1 and we choose representatives modulo column permutation, and so we obtain , where
Now we form the set of all 64 matrices of the form with and with the nonzero entries in colored red and the nonzero entries in colored blue. Then we form a set of representatives of matrices in modulo the group action that allows us to arbitrarily permute columns, permute rows, negate any subset of rows, and globally swap red and blue colors for all entries of the matrix. In the rest of the proof, we use the convention that if and are two matrices, then is the matrix whose nonzero entries in the three leftmost columns are red and the whose nonzero entries in the three rightmost columns are blue. Also note that we index rows and columns of matrices starting from 0. We may choose our to be a subset of because every matrix in may be changed to by negating selected rows. If we begin with and apply row transposition (12) followed by column permutation (12)(45) and negate every row, we obtain . And if we begin with and apply row transposition (01) followed by column permutation (01)(34) and negate every row, we obtain . Since , , and , we see that can be changed into and into using our group operations in the same way we did to get and from . So in fact, we may choose our to be a subset of .
Note that permuting rows and columns, negating selected rows, and changing colors of entries does not change the rank of a matrix (we ignore color when determining rank). Now recall that we say that a column of a matrix is red (resp., blue) to mean that all its nonzero entries are red (resp., blue), and so according to our conventions for this proof, if and are matrices, then the first three columns of are red and the last three are blue. We say that a red (resp., blue) column of a matrix is the clone of a blue (resp., red) column of the same matrix to mean that the only difference between the two columns is the color of the nonzero entries. We say that a matrix has the clone property if it has two columns that are clones of each other. Note that for a matrix of the form with and being matrices, the clone property (or lack of it) is preserved by swapping all colors of nonzero entries, by row and column permutations, and by negation of any selection of rows. Using the two invariants of rank and clone property, we note that the four matrices , and all lie in separate orbits modulo the group action that allows us to arbitrarily permute columns, permute rows, negate any subset of rows, and globally swap red and blue colors for all entries of the matrix. This is because and have rank 2 while and have rank 3, while and have the clone property while and do not. So in fact, we can take where for .
When we compute the reduced row echelon form for each (with the entries of any given column in given the same color as the corresponding column of ), we obtain
Now we notice that and have rows whose colored weight is . But and have no row nor any difference of distinct rows whole colored weight is and . Therefore, if we let , then has one and only one display matrix for each class of ClSom(3), where each display matrix represents a partition from the corresponding class. Note that represents the partition and represents the partition , so we conclude that ClSom(3) has precisely two classes with representatives and .
Now we consider the stabilizer of under the action of . In the following, sgn maps a permutation to its sign (which is +1 for even permutations and -1 for odd permutations). It is easy enough to check that , so and note that , so then the coherent isomorphism class of has partitions in it. Likewise, one can check that , so , so then the coherent isomorphism class of also has partitions in it.
Now we determine the solution count function for each isomorphism class of coherently contributory partitions.
Lemma 8.2. For the coherent isomorphism classes and of ClSom(3) described in Lemma 8.1, we have
Proof. In Lemma 8.1, we give a partition that is a representative of the coherent isomorphism class , and so for all . Since the proof of Lemma 8.1 gives the matrix
as a display matrix for , Lemma 5.9 says that is equal to the number of solutions of the homogeneous system where the first three coordinates of are colored red, the last three are colored blue, and no two entries of the same color have the same numerical value (i.e., we have proper coloring). If we write
Then is equivalent to the system . So we want satisfying this system with distinct (which forces to also be distinct). Since , the three sums , and have a common value that can range from 0 to . Given a value of , the number of pairs with is
For each , we need to count how many triples of such pairs there are with the three pairs distinct, which is
and since takes values as runs from 0 to , our sum is the same as
where the second equality uses the analogue of integration in the theory of finite differences (which is essentially repeated application of Pascal's rule). When one multiplies out the terms in the final expression, one obtains the claimed formula for CSols( ).
In Lemma 8.1, we give a partition that is a representative of the coherent isomorphism class , and so for all . Since the proof of Lemma 8.1 gives the matrix
as a display matrix for , Lemma 5.9 says that is equal to the number of solutions of the homogeneous system where the first three coordinates of are colored red, the last three are colored blue, and no two entries of the same color have the same numerical value (proper coloring). If we write
Then is equivalent to the system , and we must find how many solutions this has in with distinct (which forces to be distinct). If we set for and for , then this is the same as counting how many with distinct make , which is exactly what we counted when we computed , so .
Now that we have determined the isomorphism classes of coherently contributory partitions and their solution count functions, we can calculate the third central moment of SSCC.
Theorem 8.3. If is a positive integer, then
Proof. By Proposition 4.15, we have
and since Lemma 8.1 tells us that we have two classes and in with , while Lemma 8.2 tells us that , we obtain the desired result.
By (2), we can divide the third central moment of SSCC by to get the third central moment of CDF, and thus obtain Theorem 1.3.
9. COMPUTER-ASSISTED CALCULATION OF HIGHER MOMENTS
We used a computer program to find the fourth through sixth central moments of SSCC. To determine the th moment, the program first finds one display matrix for each coherent isomorphism class in using the scheme outlined at the end of Section 5. For each such matrix , the program computes the size of the -stabilizer of the partition represented by ; from this it computes the size of the -orbit of , i.e., it computes . For each corresponding to display matrix and the partition represented by , the program computes (see Definition 4.14) by using Lemma 5.9 to convert this to a problem of counting solutions of a homogeneous system that lie within a hypercube and satisfy a constraint that certain coordinates of a solution cannot take equal values. Ehrhart theory [BR15, Ch. 3] is used to count solutions in hypercubes and Möbius inversion techniques are used to deduct those that conflict with this constraint, so that we obtain as a quasipolynomial function of . Then the program uses Proposition 4.15 to compute the formula for the th central moment of SSCC as a function of from the sizes of the coherent isomorphism classes and the values of attached to those classes.
The program verifies our calculations (see Sections 7 and 8) of the th central moment of SSCC for . From the th central moment of SSCC computed by the program for , we computed the th central moment of CDF by dividing by (see (2)), yielding Theorems 1.4—1.6.
Recall from the hand calculations in Sections 7 and 8 that has a single coherent isomorphism class of size 2; that has two coherent isomorphism classes, each of size 8; and that all the counting functions associated with these classes are polynomials (i.e., quasipolynomials of period 1). The fourth central moment calculation took a single CPU on a desktop computer about one second to compute, and it found that contains 17 coherent isomorphism classes of partitions, with the set of class sizes being . The functions for are quasipolynomials of periods 1 and 2. The fifth central moment calculation took a single CPU on a desktop computer only a few minutes to compute, and it found that contains 80 coherent isomorphism classes of partitions, with the set of class sizes being . The functions for are quasipolynomials with the set of periods being . The sixth central moment calculation took a single CPU on a desktop computer about two months, and it found that contains 1952 coherent isomorphism classes of partitions, with the set of class sizes being . The functions for are quasipolynomials with the set of periods being .
APPENDIX A. LEMMAS USED TO PROVE PROPOSITION 3.1
This section proves some algebraic and probabilistic lemmas used in the proof of Proposition 3.1. Throughout this section, if and are sequences of elements in a commutative ring, if , if , and if , then we use the notation as a shorthand for . The first result is essentially a distributive law.
Lemma A.1. Let , let be pairwise disjoint subsets of , and let . Suppose that is a commutative ring and that with and sequences of elements of . Then
Proof. For each in , we let be the map with . Then apply [KR25, Lemma A.1] with our in place of their to obtain
The following applies expectations to a distributive law.
Lemma A.2. Let , let be pairwise disjoint subsets of , and let . Then
Proof. For each in , we let be the map with . Then this becomes a special case of [KR25, Lemma A.1] where one uses our in place of their .
Our final lemma on the expectation value of a product of sequence terms is what allows us to change our probability calculation in the proof of Proposition 3.1 to a counting problem.
Lemma A.3. Let , let , let , and let . Then
Proof. By our conventions
Since our expectation makes uniformly distributed over all pairs of binary sequences of length , we see that are independent and uniformly distributed on . Thus, is 1 if and only if and are even for all . Otherwise is 0. But since , Lemma 2.13(v) shows that , so that the classes of are the nonempty sets among and for . So is 1 if and only if all these classes are of even size, i.e., if and only if is an even partition.
REFERENCES
[ALS04] Sebastien Aupetit, Pierre Liardet, and Mohamed Slimane. Evolutionary search for binary strings with low aperiodic auto-correlations. In Pierre Liardet, Pierre Collet, Cyril Fonlupt, Evelyne Lutton, and Marc Schoenauer, editors, Artificial Evolution, pages 39–50. Springer, Berlin–Heidelberg, 2004.
[BL01] Peter Borwein and Richard Lockhart. The expected norm of random polynomials. Proc. Amer. Math. Soc., 129(5):1463–1472, 2001.
[BR15] Matthias Beck and Sinai Robins. Computing the continuous discretely. Undergraduate Texts in Mathematics. Springer, New York, second edition, 2015.
[GG05] Solomon W. Golomb and Guang Gong. Signal design for good correlation. Cambridge University Press, Cambridge, 2005.
[Gol67] Solomon W. Golomb. Shift register sequences. With portions co-authored by Lloyd R. Welch, Richard M. Goldstein, and Alfred W. Hales. Holden-Day, Inc., San Francisco-Cambridge-Amsterdam, 1967.
[Jed24] Jonathan Jedwab. The mean and variance of the reciprocal merit factor of four classes of binary sequences. IEEE Transactions on Information Theory, 70(12):9227–9238, 2024.
[Kär92] Kari H. A. Kärkkäinen. Mean-square cross-correlation as a performance measure for department of spreading code families. In IEEE Second International Symposium on Spread Spectrum Techniques and Applications, pages 147–150, 1992.
[Kat16] Daniel J. Katz. Aperiodic crosscorrelation of sequences derived from characters. IEEE Trans. Inform. Theory, 62(9):5237–5259, 2016.
[KR25] Daniel J. Katz and Miriam E. Ramirez. Moments of autocorrelation demerit factors of binary sequences. Des. Codes Cryptogr., 93(4):1021–1065, 2025.
[Pur77] Michael B. Pursley. Performance evaluation for phase-coded spread-spectrum multiple-access communication - part I: System analysis. IEEE Transactions on Communications, 25(8):795–799, 1977.
[Sar84] D. V. Sarwate. Mean-square correlation of shift-register sequences. Communications, Radar and Signal Processing, IEE Proceedings F, 131(2):101–106, 1984.
[Sch09] M. R. Schroeder. Number theory in science and communication. Springer-Verlag, Berlin, fifth edition, 2009.