Skip to Content
EntropyEntropy
  • Article
  • Open Access

10 October 2026

16 Pages

Difference-Spectrum Completion of Multi-Weight Optical Orthogonal Codes

,
,
and
1
School of ICT Convergence, University of Ulsan, Ulsan 44610, Republic of Korea
2
Department of Electrical, Electronic and Computer Engineering, University of Ulsan, Ulsan 44610, Republic of Korea
*
Author to whom correspondence should be addressed.

Abstract

Variable-weight (also called multi-weight) optical orthogonal codes (VW-OOCs) with maximum correlation one admit a cyclic difference-packing formulation. We characterize the exact difference spectrum of an existing Chinese-remainder graph construction: each mixed-coordinate difference determines a unique candidate base pair and graph index. A pairwise balanced design covers the mixed region exactly, enabling independent completion on the two coordinate axes. For weights { 3 , 4 } , punctured finite geometries give families that are optimal for their prescribed profiles. For every prime p ≡ 1 ( mod 12 ) , the length- 12 p family has ( n 3 , n 4 ) = ( ( p + 1 ) / 2 , 3 ( p − 1 ) / 4 ) , profile ( 2 ( p + 1 ) , 3 ( p − 1 ) ) / ( 5 p − 1 ) , and deficiency 5. For every prime p ≡ 1 ( mod 30 ) , the length- 15 p family has ( n 3 , n 4 ) = ( ( p − 1 ) / 2 , p ) , profile ( p − 1 , 2 p ) / ( 3 p − 1 ) , and deficiency 2. Both deficiencies are the minima permitted by congruence. This study’s contribution is the exact-spectrum analysis and its uniform completion mechanism; the lengths and weight set are known, and the second completed parameter tuple follows by filling a previously known regular packing. Explicit examples are verified by exact enumeration.

1. Introduction

Optical orthogonal codes (OOCs) are sparse binary sequences designed to have small periodic auto-correlation and cross-correlation values. They were introduced as signature sequences for asynchronous optical code-division multiple access, where the correlation constraints control false synchronization and multi-user interference [1,2]; classical bounds and optimal constructions were subsequently developed in [3]. We use “multi-weight” in the title as a synonym for “variable-weight”; throughout the paper we use the standard abbreviation VW-OOC. Constant-weight OOCs assign the same number of pulses to every user, whereas variable-weight OOCs (VW-OOCs), introduced by Yang [4], permit several Hamming weights in one family and thereby support multiple quality-of-service classes. Their design is naturally connected with cyclic packings and difference families [5,6,7,8,9].
For maximum correlation one, the difference formulation is especially effective. A codeword support contributes its ordered internal differences, and an OOC is obtained precisely when no nonzero difference is repeated across the family. The correlation problem can therefore be expressed in terms of an index-one packing on a cyclic group. It also gives a direct resource count: a block of size w uses w ( w − 1 ) nonzero differences. Refined Johnson-type bounds combine this difference budget with the prescribed proportion of each weight [6].
Many optimal VW-OOCs with weights { 3 , 4 } are already known. Jiang, Wu, and Lee constructed fixed-profile families for complete congruence classes of lengths [10]. One profile is R = ( 1 / 3 , 2 / 3 ) , and the other is R = ( 2 / 3 , 1 / 3 ) . General and perfect-difference-family constructions provide related families under these and other profiles [8,11], while Qin and Zhao obtained regular length- 12 q and length- 15 q families for primes q = 6 s t + 1 under further profiles [12]. Consequently, neither the length forms 12 p and 15 p nor the weight set { 3 , 4 } is new by itself. The relevant comparison must use the complete tuple consisting of the length, exact weight profile, block counts, and difference deficiency; this comparison is made explicitly in Section 3.3.
Pak et al. [13] introduced a construction based on the Chinese remainder theorem (CRT) and a primitive element of a prime field. When p − 1 = k L , a subset P ⊆ Z k generates graph blocks
( d , α d L + i ) : d ∈ P ⊆ Z k × F p , 0 ≤ i < L ,
where α is primitive in F p . Pairwise intersections of the base subsets are restricted to at most one point, which is sufficient to establish maximum correlation one. The published examples emphasize the selection of base subsets for particular weight profiles, but the construction also contains a more rigid difference structure that was not made explicit.
The present paper determines this structure and uses it to complete the code family systematically. For every mixed-coordinate difference, we identify the unique candidate ordered pair in the base design and hence obtain its exact multiplicity. If the base pair packing has ℓ uncovered pairs, the graph family has exactly
p + k − 2 + 2 L ℓ
uncovered nonzero differences. In particular, a pairwise balanced design covers the entire mixed-coordinate region, leaving only the two coordinate axes. Independent cyclic packings on these axes can then be added without producing repeated differences. A profile-optimality criterion based on the remaining difference deficiency is developed, and punctured PG ( 2 , 3 ) and AG ( 2 , 4 ) designs yield two infinite classes with weights 3 and 4. Besides attaining the refined bound for their prescribed profiles, both classes use the largest number of differences allowed by the congruence condition modulo six. Our contribution is the exact multiplicity characterization and the resulting uniform route from a base pair packing to an axis-completed code. Theorem 3 records both exact profiles and block counts together with profile-constrained optimality and minimum deficiency. These properties do not imply that the tuples are inaccessible to earlier filling constructions; in particular, the length- 15 p tuple also follows from a regular packing of Jiang, Wu, and Lee, as explained in Section 3.3.
The rest of the paper is organized into three sections: Section 2 presents the difference-spectrum analysis and the coordinate-axis completion theorem. Section 3 develops the finite-geometric constructions, proves optimality, and gives explicit verified examples. Section 4 concludes the paper.

2. Difference-Spectrum Framework and Completion

2.1. Difference Packings and Profile-Constrained Optimality

Let N be a positive integer and let B ⊆ Z N . The binary sequence with support B has periodic auto-correlation
λ B ( τ ) = | ( B + τ ) ∩ B | , τ ∈ Z N ,
and two supports B , C ⊆ Z N have periodic cross-correlation
λ B , C ( τ ) = | ( B + τ ) ∩ C | .
Definition 1
(Variable-weight optical orthogonal code). Let W = { w 1 , … , w s } consist of distinct integers at least two, and let R = ( r 1 , … , r s ) have positive entries summing to one. An ( N , W , 1 , R ) VW-OOC is a family of binary sequences of length N, represented by distinct supports B 1 , … , B M ⊆ Z N , with exactly r j M supports of size w j , such that λ B i ( τ ) ≤ 1 for every τ ≠ 0 , and λ B i , B h ( τ ) ≤ 1 for every i ≠ h and every τ ∈ Z N .
For a block B, define its multiset of ordered internal differences by
Δ B = [ x − y : x , y ∈ B , x ≠ y ] .
For family B of blocks, put
Δ B = ⊎ B ∈ B Δ B , D ( B ) = supp ( Δ B ) .
where ⊎ denotes the multiset union, so that multiplicities are retained; equivalently, the multiplicity of each difference in Δ B is the sum of its multiplicities over all B ∈ B . Thus, D ( B ) is the set of nonzero differences used by the family.
Definition 2.
Family B of subsets of Z N of size at least two is a cyclic difference packing of index one if every nonzero element of Z N has multiplicity at most one in Δ B . Its difference deficiency is
ε ( B ) = N − 1 − | D ( B ) | .
The following standard equivalence is the difference-packing formulation used in [2,6]; its short proof is included for the conventions used here.
Proposition 1.
Let B = { B 1 , … , B M } be a family of subsets of Z N with a size of at least two. The corresponding binary sequences form an OOC with a maximum correlation of at most one if and only if B is a cyclic difference packing of index one.
Proof. 
For one block, | ( B i + τ ) ∩ B i | equals the multiplicity of τ in Δ B i with the convention x − y in (5). Hence, a repeated internal difference is equivalent to an out-of-phase auto-correlation of at least two. For distinct blocks, suppose that ( B i + τ ) ∩ B j contains two points. Then there exist distinct x 1 , x 2 ∈ B i and y 1 , y 2 ∈ B j such that y s = x s + τ for s = 1 , 2 . Therefore, x 1 − x 2 = y 1 − y 2 , and the same nonzero difference occurs in both Δ B i and Δ B j . The converse follows by reversing this argument. □
Suppose the distinct weights are W = { w 1 , … , w s } and exactly n j blocks have weight w j . Set
M = ∑ j = 1 s n j , r j = n j M , R = ( r 1 , … , r s ) .
The family is denoted by an ( N , W , 1 , R ) VW-OOC. Because a weight w j block contributes w j ( w j − 1 ) ordered differences, an index-one packing satisfies
U : = ∑ j = 1 s n j w j ( w j − 1 ) ≤ N − 1 , ε = N − 1 − U .
For maximum correlation one, the refined upper bound of Wu, Zhao, Fan, and Shinohara [6] is
M ≤ min 1 ≤ j ≤ s 1 r j r j N − 1 ∑ h = 1 s r h w h ( w h − 1 ) .
A VW-OOC meeting (10) is optimal for its prescribed weight profile.
The next proposition is an elementary sufficient test derived here from the existing bound (10). It is not a new upper bound. We retain the designation “Proposition” because this arithmetic observation supports the construction theorems.
Proposition 2
(Optimality from small difference deficiency). Let an ( N , W , 1 , R ) VW-OOC have family size M, weight counts n 1 , … , n s , used-difference count U, and difference deficiency ε = N − 1 − U . Define
t = M ε U .
If n j t < M for every j, then the code is optimal with respect to (10). In particular,
M ε < U
is sufficient for optimality.
Proof. 
Since r j = n j / M and ∑ h r h w h ( w h − 1 ) = U / M , the innermost floor in (10) is
N − 1 ∑ h r h w h ( w h − 1 ) = M ( N − 1 ) U = M + t .
The middle floor in (10) for class j is
r j ( M + t ) = n j + n j t M .
The assumed inequality makes this value equal to n j , and the outer floor in (10) is then ⌊ n j / r j ⌋ = M . Thus, every term in the minimum equals M. Condition (12) gives t = 0 and is therefore sufficient. □
Remark 1
(A sufficient condition, not a characterization). Condition (12) is not necessary for profile-optimality. On Z 29 , the blocks { 0 , 1 , 3 } and { 0 , 4 , 9 , 15 } have disjoint ordered difference sets of sizes 6 and 12. They give M = 2 , U = 18 , ε = 10 , and R = ( 1 / 2 , 1 / 2 ) , so M ε = 20 ≥ U . Nevertheless, t = 1 and n j t = 1 < M for both classes; the nested bound (10) equals 2. Thus, this code is profile-optimal. More generally, floors and the prescribed profile can certify optimality even when the simpler inequality fails.
Let X be a k-element set. A family P of subsets of X of size at least two is a pair packing if every two-element subset of X occurs in at most one block. Define the number of uncovered pairs by
ℓ ( P ) = k 2 − ∑ P ∈ P | P | 2 .
A pair packing with ℓ ( P ) = 0 is a pairwise balanced design, denoted by PBD ( k , K , 1 ) when its block sizes belong to K.
Throughout, { d , e } denotes an unordered pair of distinct base points. It gives two ordered pairs, ( e , d ) and ( d , e ) , and, hence, two oriented differences e − d and d − e , counted with multiplicity. Even if these residues coincide in the first coordinate, the two orientations remain separate in the product-group difference multiset. Accordingly, each base pair contributes 2 L graph differences, and a block of size w contributes w ( w − 1 ) ordered differences. For a group H, we write H ∗ = H ∖ { 0 } ; in particular, Z k ∗ means all nonzero residues, not only the units.

2.2. CRT Graph Construction and Exact Difference Coverage

Let p be a prime and assume
p − 1 = k L
for positive integers k and L. Let α be a primitive element of F p , and work in the additive group
G = Z k × F p .
Because gcd ( k , p ) = 1 , the CRT identifies G with Z k p .
Let P = { P 1 , … , P m } be a pair packing on Z k . For 1 ≤ a ≤ m and 0 ≤ i < L , define
S a , i = ( d , α d L + i ) : d ∈ P a ⊆ G ,
and put
G ( P ) = { S a , i : 1 ≤ a ≤ m , 0 ≤ i < L } .
This is the graph coordinate form of Construction 1 and Theorem 2 in [13], with the correlation proof in Section 3.2 of that paper. We use the existing construction and do not claim the graph map itself as new.
Partition the nonzero elements of G into
H k ∗ = ( Z k ∖ { 0 } ) × { 0 } ;
H p ∗ = { 0 } × F p ∗ ;
G mix = ( Z k ∖ { 0 } ) × F p ∗ .
The first two sets are the punctured coordinate axes, and G mix is the mixed-coordinate region.
Lemma 1
(Unique recovery of the ordered base pair). For fixed δ ∈ Z k ∖ { 0 } , the map
( d , i ) ⟼ α d L + i ( α δ L − 1 ) , 0 ≤ d < k , 0 ≤ i < L ,
is a bijection onto F p ∗ . Thus, a prescribed ( δ , η ) ∈ G mix determines exactly one i and one ordered base pair ( d + δ , d ) , with addition in Z k .
Proof. 
The factor α δ L − 1 is nonzero. Multiplication by this factor is a bijection on F p ∗ , as is s ↦ α s for 0 ≤ s < p − 1 . Euclidean division by L writes each such s uniquely as s = d L + i in the indicated ranges. Consequently, another graph block producing the same mixed difference must have the same d, i, and d + δ . The pair-packing property then forces the same base block. □
The following theorem refines the correlation guarantee of [13] to an exact pointwise multiplicity statement.
Theorem 1.
Fix ( δ , η ) ∈ G mix . Let
s = ind α η α δ L − 1 − 1 ∈ { 0 , 1 , … , p − 2 } ,
where ind α ( α s ) = s . Write uniquely
s = d L + i , 0 ≤ d < k , 0 ≤ i < L .
Then, ( δ , η ) occurs in Δ G ( P ) if and only if the pair
{ d , d + δ } ⊆ Z k
occurs in a block of P . When it occurs, its multiplicity is exactly one. No difference generated by a graph block lies in H k ∗ ∪ H p ∗ .
Proof. 
Choose distinct d , e ∈ P a and put δ = e − d ∈ Z k ∖ { 0 } . Their ordered difference in S a , i is
( e , α e L + i ) − ( d , α d L + i ) = δ , α d L + i α δ L − 1 .
The factor α δ L − 1 is nonzero because 0 < δ < k and α has order k L . Thus, a prescribed mixed difference forces
α d L + i = η α δ L − 1 − 1 .
Lemma 1 shows that the discrete index and (24) recover exactly one pair ( d , i ) , including when d + δ wraps modulo k, since α k L = 1 . The difference occurs precisely when d and d + δ lie together in a base block. Since P is a pair packing, that block is unique.
A graph block has distinct first coordinates, so it cannot produce a nonzero difference with first coordinate zero. Its second coordinates are also distinct: if α d L + i = α e L + i , then k L divides ( d − e ) L , so k divides d − e , contrary to d ≠ e in Z k . Therefore, no graph difference lies on either coordinate axis. □
The following exact deficiency formula is a consequence of the spectrum theorem; the inherited correlation-one property alone does not specify this leave.
Corollary 1.
The family G ( P ) is an index-one difference packing in G and hence gives a length- k p VW-OOC with maximum correlation one. Its weight multiset consists of L copies of each base-block size. Moreover,
ε G ( P ) = p + k − 2 + 2 L ℓ ( P ) .
If P is a PBD, every element of G mix occurs exactly once and the uncovered nonzero differences are precisely
H k ∗ ∪ H p ∗ .
Proof. 
The multiplicity assertion follows from Theorem 1. There are k 2 − ℓ ( P ) covered unordered pairs. Each contributes both orientations, and each orientation contributes one difference for every i ∈ { 0 , … , L − 1 } . Thus, the graph family uses
2 L k 2 − ℓ ( P ) = ( k − 1 ) ( p − 1 ) − 2 L ℓ ( P )
differences in G mix . Since | G mix | = ( k − 1 ) ( p − 1 ) and neither axis is used, (28) follows. When ℓ ( P ) = 0 , the entire mixed-coordinate region is covered. □
Within this construction, using every index 0 ≤ i < L , complete mixed-coordinate coverage holds if and only if ℓ ( P ) = 0 . Thus, the PBD condition is necessary as well as sufficient among pair packings. Each missing pair leaves exactly 2 L mixed differences uncovered; no axis packing can supply them. A weaker sufficient condition would require a different construction, such as additional blocks with mixed differences.

2.3. Completion on the Coordinate Axes

Let A be an index-one cyclic difference packing on the additive group F p , and let B be one on Z k . Embed their blocks into G by
A ^ = { 0 } × A : A ∈ A ;
B ^ = B × { 0 } : B ∈ B .
Table 1 distinguishes the base blocks, generated blocks, axis packings, and their difference multisets. The next theorem is a completion statement for this specific product-group spectrum; general filling methods already occur in [7,8,9].
Table 1. Notation for the construction and its difference spectrum.
Theorem 2.
Let P be a pair packing on Z k . Then,
V = G ( P ) ∪ A ^ ∪ B ^
is an index-one difference packing in G. Under the CRT isomorphism, it is a length- k p VW-OOC with maximum correlation one.
If P is a PBD, then
G ∗ ∖ D ( V ) = { 0 } × F p ∗ ∖ D ( A ) ∪ Z k ∗ ∖ D ( B ) × { 0 } ,
where G ∗ = G ∖ { ( 0 , 0 ) } . Consequently,
ε ( V ) = ε ( A ) + ε ( B ) .
Proof. 
By Theorem 1, all differences from G ( P ) lie in G mix and have multiplicity at most one. Differences from A ^ lie in H p ∗ , while those from B ^ lie in H k ∗ . These three regions are pairwise disjoint. Each embedded family retains the multiplicities of its original packing, proving the first assertion. If P is a PBD, Corollary 1 shows that the mixed-coordinate region is completely covered, so only the uncovered portions of the two axes remain. □
For an arbitrary pair packing, the same argument gives the more general identity
ε ( V ) = 2 L ℓ ( P ) + ε ( A ) + ε ( B ) .
The PBD specialization removes exactly the mixed-coordinate term. Figure 1 illustrates this decomposition.
Figure 1. Partition of the product-group difference space. A PBD-generated graph family covers the mixed-coordinate region and leaves both axes unused; that is why the two axes can be completed independently. The labels refer to difference supports, not to block families.

3. Profile-Optimal VW-OOC Families with Weights 3 and 4

3.1. Finite-Geometric Seeds and Axis Packings

Finite affine and projective planes provide PBDs with two adjacent block sizes. The following standard deletion construction fixes the exact block counts needed below; see also the finite-field PBD constructions in [14].
Proposition 3.
Let q ≥ 3 be a prime power. The following PBDs exist.
1. 
Deleting one point from PG ( 2 , q ) gives
PBD q 2 + q , { q , q + 1 } , 1
with q + 1 blocks of size q and q 2 blocks of size q + 1 .
2. 
Deleting one point from AG ( 2 , q ) gives
PBD q 2 − 1 , { q − 1 , q } , 1
with q + 1 blocks of size q − 1 and q 2 − 1 blocks of size q.
Proof. 
A projective plane of order q has q 2 + q + 1 points and the same number of lines; each line has q + 1 points, and exactly q + 1 lines pass through a point. After one point is deleted, those q + 1 lines have size q, while the remaining q 2 lines retain size q + 1 . An affine plane has q 2 points and q ( q + 1 ) lines of size q, with q + 1 lines through each point. Deleting one point shortens those q + 1 lines and leaves the other q 2 − 1 lines unchanged. In both cases, every pair of remaining points is still contained in exactly one block. □
If p − 1 = k L , Proposition 3 and the graph construction give the following counts. From PG ( 2 , q ) with k = q ( q + 1 ) , one obtains
p − 1 q blocks of size q , q ( p − 1 ) q + 1 blocks of size q + 1 .
From AG ( 2 , q ) with k = q 2 − 1 , one obtains
p − 1 q − 1 blocks of size q − 1 , p − 1 blocks of size q .
In each case, all mixed-coordinate differences are used exactly once.
For PG ( 2 , 3 ) , deleting one of the 13 points shortens the four incident lines from size 4 to size 3 and leaves nine lines of size 4, on 12 remaining points. For AG ( 2 , 4 ) , deleting one of the 16 points shortens five of the 20 lines from size 4 to size 3 and leaves fifteen lines of size 4, on 15 remaining points. Thus, the required seeds have counts ( 4 , 9 ) and ( 5 , 15 ) , respectively, and both have exactly the block sizes { 3 , 4 } . These are specializations of the standard deletion construction, not new finite geometries. To complete the p-axis, we use a cyclic Steiner triple system. A cyclic Steiner triple system of order v exists for every v ≡ 1 or 3 ( mod 6 ) , except v = 9 [15]. For a prime p ≡ 1 ( mod 6 ) , a set of orbit representatives gives a family T p of ( p − 1 ) / 6 triples in Z p satisfying
D ( T p ) = Z p ∗ .
To see the difference family property, note that every triple orbit under translation on Z p has size p: a nonzero stabilizing translation generates Z p , which cannot stabilize a 3-subset when p > 3 . The p ( p − 1 ) / 6 triples of the Steiner system therefore form ( p − 1 ) / 6 orbits. For any a ≠ 0 , the pair { 0 , a } occurs in exactly one translated triple. Equivalently, exactly one representative contains an ordered pair with difference a; two such occurrences would translate to two triples containing { 0 , a } . Hence, the representative differences cover every nonzero residue exactly once.
For the other axis, define
B 12 = { 0 , 1 , 3 } in Z 12 , B 15 = { 0 , 1 , 3 , 7 } in Z 15 .
The first block uses the six differences { ± 1 , ± 2 , ± 3 } , while the second uses every nonzero residue of Z 15 except 5 and 10.

3.2. Two Infinite Classes and Their Optimality

The next elementary divisibility observation is included for completeness and is not claimed as an independent new result. It gives a lower bound on deficiency for weights 3 and 4.
Proposition 4.
For any index-one difference packing on Z N whose block sizes belong to { 3 , 4 } ,
ε ≡ N − 1 ( mod 6 ) .
Consequently, the difference deficiency is at least 5 when N = 12 p , and at least 2 when N = 15 p with p ≡ 1 ( mod 6 ) .
Proof. 
Every block of size 3 uses 6 ordered differences and every block of size 4 uses 12. Hence, the total number U of used differences is divisible by 6, and ε = N − 1 − U gives (43). Since 12 p − 1 ≡ 5 ( mod 6 ) and 15 p − 1 ≡ 2 ( mod 6 ) for p ≡ 1 ( mod 6 ) , the stated lower bounds follow. □
Theorem 3.
The following VW-OOCs are optimal for their explicitly prescribed profiles. The assertions include exact block counts and minimum difference deficiency; they do not assert unrestricted maximum cardinality or novelty of the lengths. The second parameter tuple also has the prior packing completion described in Section 3.3.
1. 
For every prime p ≡ 1 ( mod 12 ) , there exists a profile-optimal
12 p , { 3 , 4 } , 1 , 2 ( p + 1 ) 5 p − 1 , 3 ( p − 1 ) 5 p − 1 - VW - OOC
with
n 3 = p + 1 2 , n 4 = 3 ( p − 1 ) 4 , M = 5 p − 1 4 .
It has difference deficiency 5 and uses a proportion
ρ 12 ( p ) = 12 p − 6 12 p − 1 = 1 − 5 12 p − 1
of all nonzero differences.
2. 
For every prime p ≡ 1 ( mod 30 ) , there exists a profile-optimal
15 p , { 3 , 4 } , 1 , p − 1 3 p − 1 , 2 p 3 p − 1 - VW - OOC
with
n 3 = p − 1 2 , n 4 = p , M = 3 p − 1 2 .
It has difference deficiency 2 and uses a proportion
ρ 15 ( p ) = 15 p − 3 15 p − 1 = 1 − 2 15 p − 1
of all nonzero differences.
Both classes are optimal for their prescribed weight profiles and attain the minimum difference deficiency possible for block sizes 3 and 4 at their respective lengths.
Proof. 
Table 2 records the graph and two axis contributions separately. For part 1, set k = 12 and L = ( p − 1 ) / 12 . Delete one point from PG ( 2 , 3 ) to obtain a PBD ( 12 , { 3 , 4 } , 1 ) with four triples and nine quadruples. Equations (39) and (41), together with the embedded block B 12 , give
n 3 = p − 1 3 + p − 1 6 + 1 = p + 1 2 ,
n 4 = 3 ( p − 1 ) 4 .
The coordinate-axis completion theorem gives maximum correlation one. The p-axis and the mixed-coordinate region are completely covered, while B 12 leaves five nonzero differences unused on the 12-axis. Thus,
U = 6 n 3 + 12 n 4 = 12 p − 6 , ε = 5 .
Since 5 M < U , Proposition 2 proves profile-constrained optimality. Proposition 4 shows that ε = 5 is the smallest possible value for any index-one { 3 , 4 } packing of length 12 p .
Table 2. Independent contributions to the completed weight counts. Here, L = ( p − 1 ) / k .
For part 2, set k = 15 and L = ( p − 1 ) / 15 . Delete one point from AG ( 2 , 4 ) to obtain a PBD ( 15 , { 3 , 4 } , 1 ) with five triples and fifteen quadruples. Equations (40) and (41), together with the embedded block B 15 , give
n 3 = p − 1 3 + p − 1 6 = p − 1 2 , n 4 = ( p − 1 ) + 1 = p .
The only unused nonzero differences are ( 5 , 0 ) and ( 10 , 0 ) in Z 15 × F p , so
U = 6 n 3 + 12 n 4 = 15 p − 3 , ε = 2 .
Since 2 M < U , Proposition 2 proves profile-constrained optimality, and Proposition 4 proves deficiency minimality. □
Remark 2.
Dirichlet’s theorem on primes in arithmetic progressions gives infinitely many primes congruent to one modulo 12 and modulo 30 [16]. Hence, both parts of Theorem 3 define infinite classes.
Remark 3.
The word “optimal” in Theorem 3 is relative to the exact prescribed profile R. It does not assert maximum cardinality among all index-one { 3 , 4 } -VW-OOCs of the same length when the profile is allowed to vary. The profile-independent assertion proved here is instead that the difference deficiency is minimum among all index-one packings with block sizes 3 and 4 at the stated lengths.

3.3. Explicit Examples and Scope

Verification procedure. The two examples are verified by a deterministic procedure using exact integer arithmetic. The procedure checks the PBD pair multiplicities, primitive-element orders, and each axis packing; it then applies the CRT convention t ≡ d ( mod k ) , t ≡ y ( mod p ) to every product point ( d , y ) . For every block and every ordered pair of distinct support points, it records x − y ( mod N ) and increments an N-entry multiplicity array. Checking that every nonzero entry is at most one verifies the entire internal difference multiset, and the zero entries give the exact deficiency. This part costs O ( M w max 2 + N ) , where w max is the maximum block size.
Independently, the procedure evaluates | ( B i + τ ) ∩ B j | by direct set membership for every shift and every i ≤ j . It excludes τ = 0 when taking the autocorrelation maximum, but includes it for distinct blocks. The cases i > j follow by reversing the shift. This independent check costs O ( N M 2 w max ) . Thus, Table 3 reports exact enumeration, not sampling or a floating-point simulation.
Table 3. Exact verification summary for the two smallest examples.
Length 156. Take p = 13 , k = 12 , L = 1 , and primitive element α = 2 . A cyclic Steiner triple system on Z 13 has base blocks
{ 0 , 1 , 4 } , { 0 , 2 , 7 } .
Together with the punctured PG ( 2 , 3 ) design and the 12-axis block { 0 , 1 , 3 } , this gives
( N , n 3 , n 4 , M ) = ( 156 , 7 , 9 , 16 ) , R = 7 16 , 9 16 .
The family uses 150 of the 155 nonzero differences. Under the CRT labeling specified above, the five uncovered differences are
{ 52 , 65 , 78 , 91 , 104 } ⊆ Z 156 .
The sixteen support sets are listed in Appendix B.
Length 465. Take p = 31 , k = 15 , L = 2 , and primitive element α = 3 . One choice of cyclic Steiner triple-system base blocks on Z 31 is
{ 0 , 1 , 3 } , { 0 , 4 , 11 } , { 0 , 5 , 17 } , { 0 , 8 , 18 } , { 0 , 6 , 15 } .
The completed code has
( N , n 3 , n 4 , M ) = ( 465 , 15 , 31 , 46 ) , R = 15 46 , 31 46 .
It uses 462 of the 464 nonzero differences. The two uncovered differences are
{ 155 , 310 } = { ± 155 } ⊆ Z 465 ,
which are the CRT images of ( 5 , 0 ) and ( 10 , 0 ) .
The recent construction in [13] uses the CRT graph construction to prove maximum correlation one for selected base subsets. The present framework retains that map but changes the central invariant from a correlation upper bound to the complete support of the difference multiset. This reveals that the graph family occupies only the mixed-coordinate region, quantifies the exact effect of uncovered base pairs, and makes the remaining construction problem one-dimensional on each coordinate axis. Table 4 summarizes these structural differences.
Table 4. Structural comparison with the construction in [13].
Codes with the same lengths, weight set, and correlation parameter occur in the prior literature under different profiles. For the primes in Theorem 3, 12 p ≡ 12 ( mod 24 ) , so the fixed-profile family of Jiang, Wu, and Lee [10] applies at length 12 p with profile ( 2 / 3 , 1 / 3 ) . Their fixed-profile results also cover the present length- 15 p case under profile ( 1 / 3 , 2 / 3 ) . Related general and perfect-difference-family mechanisms are developed in [8,11]. Table 5 separates these same-length results from the exact profiles constructed here.
Table 5. Comparison with explicit same-length { 3 , 4 } -VW-OOC families. The cited rows are the unfilled regular packings; the length- 15 p completed row can also be obtained by filling the cited packing. Entries count base codewords, and ε counts uncovered nonzero differences.
At the mechanism level, Jiang, Wu, and Lee use skew starters to obtain regular packings with a prescribed profile and a subgroup leave. Our graph map instead assigns every mixed difference to a recovered base pair, separates two unused axes, and completes them independently. In particular, Lemma 8 in [10], with q = p , leaves { 0 } × ( Z 15 ∖ { 0 } ) in Z p × Z 15 . Adding { 0 } × { 0 , 1 , 3 , 7 } gives exactly the counts and deficiency of Theorem 3 (2). This is a direct consequence of their regular packing, so the present second family is an alternative uniform realization. Filling the 12-subgroup leave described in Lemma 26 in [10] with one triple gives ( n 3 , n 4 ) = ( p , ( p − 1 ) / 2 ) , different from part 1. This distinction does not establish impossibility under arbitrary recursion or block trades.
The product-group constructions of Qin and Zhao are even closer in form; see Theorem 2.1 in [12]. For a prime q = 6 s t + 1 , their length- 12 q and length- 15 q families have block counts
( 6 s − 2 ) t , ( 3 s + 1 ) t and ( 3 s − 2 ) t , ( 6 s + 1 ) t ,
respectively, with deficiencies 11 and 14. The profiles in these unfilled regular families are distinct from those in Theorem 3. This comparison alone does not exclude obtaining a completed tuple by filling their leaves. Indeed, after setting q = p , equality of the respective weight 3 proportions would require
18 s 2 t − 12 s t − 3 s − 1 = 0 or 15 s t − 3 s + 2 = 0 ,
and neither equation has a solution in positive integers s , t . Thus, the completed profiles do not equal the displayed unfilled profiles in [12]; no claim about every subsequent filling operation follows from these equations.
General filling constructions and relative difference families with variable block sizes were already developed in [7,8,9,17]. Accordingly, Theorem 2 should be understood as a product-specific completion result made possible by Theorem 1, rather than as the first general filling principle. The principal structural contribution is the proof that this CRT graph family has an exact difference spectrum whose unused part is localized on the two coordinate axes. The one-block axis completions then produce the exact profile-dependent parameters in Theorem 3 and reduce the deficiencies to the congruence-forced minima 5 and 2. We do not claim that all completed parameter tuples are inaccessible to earlier recursive or filling constructions.
The spectrum decomposition also suggests possible extensions based on punctured finite geometries. Candidate seeds include PG ( 2 , q ) and AG ( 2 , q ) , with weight sets { q , q + 1 } and { q − 1 , q } , respectively, provided suitable one-dimensional axis packings are available.

4. Conclusions

We determined the complete difference spectrum of a CRT-based graph construction for multi-weight OOCs. A pair packing on Z k controls the mixed-coordinate spectrum exactly: each prescribed mixed difference recovers a unique candidate base pair, and every uncovered base pair accounts for 2 L uncovered mixed differences. The graph blocks never use the two coordinate axes. When the base packing is a PBD, the mixed-coordinate region is completely covered, and the axes can be completed independently by ordinary cyclic difference packings.
This decomposition leads to a concise construction strategy: choose a PBD seed, generate the mixed-coordinate graph family, and optimize two lower-dimensional axis packings. A small-deficiency argument establishes optimality for the prescribed weight profile. Punctured PG ( 2 , 3 ) and AG ( 2 , 4 ) yield length- 12 p and length- 15 p VW-OOCs with weights 3 and 4. Their difference deficiencies are five and two, respectively, which are the minimum values permitted by congruence. The explicit length-156 and length-465 examples have been verified by exact enumeration. The exact profiles and block counts are recorded together with these simultaneous guarantees. Earlier constructions already provide the same lengths and weight set, and the length- 15 p completed tuple is also obtainable from an earlier regular packing. The contribution established here is the exact-spectrum theorem and its uniform completion mechanism, illustrated by these two fully verified classes.
The spectrum and completion theorems already allow any base-block sizes; they are not restricted to { 3 , 4 } . Likewise, Proposition 3 supplies larger punctured-geometric seeds. Obtaining further profile-optimal, minimum-deficiency cyclic families from these seeds remains conditional on suitable axis packings and the corresponding arithmetic bounds.
For a prime-power field F q , the exponent-recovery argument still works in Z k × ( F q , + ) when k ∣ ( q − 1 ) , because F q ∗ is cyclic and every nonzero factor is invertible. When q is not prime, however, ( F q , + ) is not cyclic, so this product cannot be identified with Z k q by the CRT. It gives a group difference packing rather than the cyclic OOC asserted here. Replacing F p by Z m for composite m introduces a different obstacle: nonzero residues need not be units, a primitive element need not parameterize all of them, and α δ L − 1 may not be invertible. Suitable exponent maps, injectivity conditions, and second-axis packings would therefore need separate proofs. These non-prime cyclic extensions, as well as general prescribed-profile realization at minimum deficiency, remain future problems.

Author Contributions

Conceptualization, J.-H.C. and J.U.P.; methodology, J.-H.C. and S.-E.P.; formal analysis, J.U.P. and S.-E.P.; software, J.U.P.; validation, D.J.; writing—original draft preparation, J.U.P. and S.-E.P.; writing—review and editing, J.-H.C. and D.J.; supervision, J.-H.C.; funding acquisition, D.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the ANCHOR program through the Ulsan ANCHOR Center, funded by the Ministry of Education (MOE) and the Ulsan Metropolitan City, Republic of Korea. (2026-ANCHOR-07-001).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The mathematical constructions, PBD seeds, CRT mapping, and verification procedure are described in this article. All computations use exact integer arithmetic and the Python 3.12.14 standard library.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Explicit PBD Seeds

The following labeled blocks are used in the explicit examples. Any bijection from the geometric point set to Z k gives an isomorphic PBD; these labels are fixed only for reproducibility.

Appendix A.1. The Punctured PG(2,3) Design on Z 12

P 12 = { { 0 , 4 , 5 } , { 1 , 6 , 9 } , { 2 , 7 , 11 } , { 3 , 8 , 10 } ,     { 0 , 1 , 2 , 3 } , { 0 , 6 , 7 , 8 } , { 0 , 9 , 10 , 11 } ,     { 1 , 4 , 7 , 10 } , { 1 , 5 , 8 , 11 } , { 2 , 4 , 8 , 9 } ,     { 2 , 5 , 6 , 10 } , { 3 , 4 , 6 , 11 } , { 3 , 5 , 7 , 9 } } .
There are four triples and nine quadruples, and every pair of points in Z 12 occurs exactly once.

Appendix A.2. The Punctured AG(2,4) Design on Z 15

P 15 = { { 0 , 1 , 2 } , { 3 , 7 , 11 } , { 4 , 9 , 14 } , { 5 , 10 , 12 } , { 6 , 8 , 13 } ,     { 0 , 3 , 10 , 13 } , { 0 , 4 , 8 , 12 } , { 0 , 5 , 7 , 14 } , { 0 , 6 , 9 , 11 } ,     { 1 , 3 , 8 , 14 } , { 1 , 4 , 10 , 11 } , { 1 , 5 , 9 , 13 } , { 1 , 6 , 7 , 12 } ,     { 2 , 3 , 9 , 12 } , { 2 , 4 , 7 , 13 } , { 2 , 5 , 8 , 11 } , { 2 , 6 , 10 , 14 } ,     { 3 , 4 , 5 , 6 } , { 7 , 8 , 9 , 10 } , { 11 , 12 , 13 , 14 } } .
There are five triples and fifteen quadruples, and every pair of points in Z 15 occurs exactly once.

Appendix B. Support Sets for the Length-156 Example

Using α = 2 , the CRT convention in Section 3.3 produces the following supports in Z 156 :
B 1 = { 16 , 144 , 149 } , B 2 = { 57 , 90 , 145 } , B 3 = { 59 , 115 , 134 } , B 4 = { 10 , 99 , 152 } , B 5 = { 99 , 134 , 144 , 145 } , B 6 = { 90 , 115 , 144 , 152 } , B 7 = { 10 , 57 , 59 , 144 } , B 8 = { 10 , 16 , 115 , 145 } , B 9 = { 59 , 145 , 149 , 152 } , B 10 = { 16 , 57 , 134 , 152 } , B 11 = { 10 , 90 , 134 , 149 } , B 12 = { 16 , 59 , 90 , 99 } , B 13 = { 57 , 99 , 115 , 149 } , B 14 = { 0 , 108 , 144 } , B 15 = { 0 , 72 , 132 } , B 16 = { 0 , 13 , 39 } .
The first thirteen blocks come from the CRT graph construction, B 14 and B 15 are the embedded 13-axis Steiner triples, and B 16 is the embedded 12-axis block.

References

  1. Salehi, J.A. Code division multiple-access techniques in optical fiber networks—Part I: Fundamental principles. IEEE Trans. Commun. 1989, 37, 824–833. [Google Scholar] [CrossRef]
  2. Chung, F.R.K.; Salehi, J.A.; Wei, V.K. Optical orthogonal codes: Design, analysis, and applications. IEEE Trans. Inf. Theory 1989, 35, 595–604. [Google Scholar] [CrossRef] [Scilit]
  3. Chung, H.; Kumar, P.V. Optical orthogonal codes—New bounds and an optimal construction. IEEE Trans. Inf. Theory 1990, 36, 866–873. [Google Scholar] [CrossRef]
  4. Yang, G.C. Variable-weight optical orthogonal codes for CDMA networks with multiple performance requirements. IEEE Trans. Commun. 1996, 44, 47–55. [Google Scholar] [CrossRef] [Scilit]
  5. Gu, F.R.; Wu, J. Construction and performance analysis of variable-weight optical orthogonal codes for asynchronous optical CDMA systems. J. Light. Technol. 2005, 23, 740–748. [Google Scholar] [CrossRef] [Scilit][Green Version]
  6. Wu, D.; Zhao, H.; Fan, P.; Shinohara, S. Optimal variable-weight optical orthogonal codes via difference packings. IEEE Trans. Inf. Theory 2010, 56, 4053–4060. [Google Scholar] [CrossRef] [Scilit]
  7. Zhao, H.; Wu, D.; Fan, P. Constructions of optimal variable-weight optical orthogonal codes. J. Comb. Des. 2010, 18, 274–291. [Google Scholar] [CrossRef] [Scilit]
  8. Jiang, J.; Wu, D.; Fan, P. General constructions of optimal variable-weight optical orthogonal codes. IEEE Trans. Inf. Theory 2011, 57, 4488–4496. [Google Scholar] [CrossRef] [Scilit]
  9. Buratti, M.; Wei, Y.; Wu, D.; Fan, P.; Cheng, M. Relative difference families with variable block sizes and their related OOCs. IEEE Trans. Inf. Theory 2011, 57, 7489–7497. [Google Scholar] [CrossRef] [Scilit]
  10. Jiang, J.; Wu, D.; Lee, M.H. Some infinite classes of optimal (v, {3, 4}, 1, Q)-OOCs with Q ∈ {(1/3, 2/3), (2/3, 1/3)}. Graphs Comb. 2013, 29, 1795–1811. [Google Scholar] [CrossRef] [Scilit]
  11. Wu, D.; Cheng, M.; Chen, Z. Perfect difference families and related variable-weight optical orthogonal codes. Australas. J. Comb. 2013, 55, 153–166. Available online: https://ajc.maths.uq.edu.au/pdf/55/ajc_v55_p153.pdf (accessed on 8 October 2026).
  12. Qin, R.; Zhao, H. Cyclic (W, 1, Q; v) packings and optimal variable-weight optical orthogonal codes. Adv. Math. 2017, 46, 177–189. [Google Scholar] [CrossRef]
  13. Pak, S.-Y.; Kim, H.-W.; Ahn, D.; Chung, J.-H. New variable-weight optical orthogonal codes with weights 3 to 5. Entropy 2024, 26, 982. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Buratti, M. Pairwise balanced designs from finite fields. Discrete Math. 1999, 208–209, 103–117. [Google Scholar] [CrossRef] [Scilit]
  15. Peltesohn, R. Eine Lösung der beiden Heffterschen Differenzenprobleme. Compos. Math. 1939, 6, 251–257. [Google Scholar]
  16. Rosen, K.H. Elementary Number Theory and Its Applications; Addison-Wesley: Reading, MA, USA, 1988. [Google Scholar]
  17. Wu, D.; Cao, J.; Fan, P. New optimal variable-weight optical orthogonal codes. In Sequences and Their Applications—SETA 2010; Carlet, C., Pott, A., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6338, pp. 102–112. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.