[Paper Review] A meet-in-the-middle algorithm for finding extremal restricted additive 2-bases
This paper presents a meet-in-the-middle algorithm to compute extremal restricted additive 2-bases—sets of integers that generate all integers in [0,n] via pairwise sums—where the largest element is exactly n/2. The method constructs such bases by combining a prefix and its mirrored suffix, enabling efficient exhaustive search; the authors compute all extremal restricted bases for lengths k ≤ 41, revealing that for k = 30, two asymmetric bases achieve the maximal range 316, challenging prior assumptions about symmetry and restrictedness.
An additive 2-basis with range n is restricted if its largest element is n/2. Among the restricted 2-bases of given length k, the ones that have the greatest range are extremal restricted. We describe an algorithm that finds the extremal restricted 2-bases of a given length, and we list them for lengths up to k = 41.
Motivation & Objective
- To develop an efficient algorithm for finding extremal restricted additive 2-bases, defined as sets where the largest element is exactly half the range n.
- To resolve open questions about the relationship between symmetry, restrictedness, and extremality in additive bases for k ≥ 15.
- To compute and catalog all extremal restricted bases for lengths up to k = 41, extending known results beyond k = 30.
Proposed method
- The algorithm uses a meet-in-the-middle strategy by splitting a basis into a prefix of length ⌊k/2⌋ and a mirrored suffix, leveraging the constraint that restricted bases must satisfy n₂(Aₖ) = 2aₖ.
- It generates candidate prefixes of length i = ⌊k/2⌋ with a minimum range of n/2 − n₂(i−1) − 2, derived from theoretical lower bounds on partial basis ranges.
- The search is pruned using the 'gaps test' from Challis, which eliminates partial bases that cannot reach a target range, significantly reducing the search space.
- For each valid prefix, the algorithm constructs the mirrored suffix and checks whether the full set generates all integers in [0,n] via pairwise sums.
- The algorithm is implemented in C++ for prefix enumeration and in Matlab for the concatenation and validation phase, ensuring efficiency and correctness.
- The method is optimized by fixing the pivot at i = ⌊k/2⌋, though the paper notes that optimal pivot selection may further improve performance.
Experimental results
Research questions
- RQ1Is every extremal basis that is restricted necessarily symmetric? (RQ1)
- RQ2Is every extremal basis that is symmetric necessarily restricted? (RQ2)
- RQ3Does every k ≥ 15 admit at least one extremal basis that is symmetric? (RQ3)
- RQ4What is the exact extremal restricted range n₂*(k) for k ≤ 41, and what are the corresponding bases?
- RQ5Are there extremal bases that are restricted but asymmetric, and if so, how common are they?
Key findings
- For k = 30, six extremal restricted bases exist with range 316, including four symmetric and two asymmetric bases, demonstrating that restricted bases need not be symmetric.
- The extremal restricted range n₂*(k) is computed exactly for all k ≤ 41, with the maximum range reaching 562 at k = 41.
- At k = 41, two distinct extremal restricted bases are found, both symmetric and achieving the maximal range 562.
- The algorithm successfully computes all extremal restricted bases up to k = 41, with the prefix enumeration for k = 41 taking 120 CPU hours on parallel 2.6 GHz Xeon processors.
- The existence of asymmetric extremal restricted bases at k = 30 implies that the answer to RQ1 (whether restricted implies symmetric) is negative.
- For k = 10, the extremal nonrestricted basis achieves range 46, exceeding the extremal restricted range of 44, showing that restricted bases do not always yield the global extremal range.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.