Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Wu’s Pyramidal Complement Formula

Abstract

Wu’s formula enumerates every positive integer outside a k-gonal-pyramidal sequence for k at least nine.

Definition 1.1 (The k-gonal-pyramidal sequence).

Formalization. D5/S3/Arith/WuPyramidalComplement.pyramidal (✓ std3).

Citation. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

The binomial expression is integral at every natural index and equals m(m+1)(m(k-2)-(k-5))/6. The value at index zero is included only as a counting extension; the source sequence uses positive indices.

Definition 1.2 (The positive complement).

Formalization. D5/S3/Arith/WuPyramidalComplement.complement (✓ std3).

Citation. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

C(k,x) holds exactly when x is positive and is not P(k,m) for any positive m. This definition is independent of the proposed enumeration formula.

Definition 1.3 (The upper threshold).

Formalization. D5/S3/Arith/WuPyramidalComplement.upperThreshold (✓ std3).

Citation. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

U(k,h) is the inclusive upper-branch threshold in Equation (6).

Definition 1.4 (The lower threshold).

Formalization. D5/S3/Arith/WuPyramidalComplement.lowerThreshold (✓ std3).

Citation. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

L(k,h) is the inclusive lower-branch threshold in Equation (6).

Definition 1.5 (The ordered source branches).

Formalization. D5/S3/Arith/WuPyramidalComplement.branchSelector (✓ std3).

Citation. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

The upper test is evaluated first. If it fails, the lower test is evaluated; otherwise the middle code is returned.

Definition 1.6 (The three branch adjustments).

Formalization. D5/S3/Arith/WuPyramidalComplement.evaluateBranch (✓ std3).

Citation. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

The codes some(true), some(false), and none evaluate respectively to n+h+1, n+h-1 using natural subtraction, and n+h.

Theorem 1.7 (Conjecture 1).

Proof. Machine-checked in Lean as D5/S3/Arith/WuPyramidalComplement.wu_conjecture_one (✓ std3). ∎

Resolves. Problems/wu-pyramidal-complement-conjecture-one (proved) by D5/S3/Arith/WuPyramidalComplement.wu_conjecture_one.

Source. Repository-derived.

Acknowledgement. Chai Wah Wu (2025). Algorithms for Complementary Sequences. DOI: 10.5281/zenodo.17535229. URL: https://math.colgate.edu/~integers/z95/z95.pdf.

Commentary.

Let h be the floor of the real cube root of 6n/(k-2). For every k at least nine and every positive n, the (n-1)-st zero-based member of the positive complement is the value selected by the exact inclusive thresholds. The proof identifies this real floor with the corresponding integer cube-root index, locates the answer strictly between consecutive pyramidal values in all three branches, and counts exactly n-1 complement values below it.

References

  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.branchSelector
  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.complement
  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.evaluateBranch
  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.lowerThreshold
  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.pyramidal
  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.upperThreshold
  • Truth anchor: D5/S3/Arith/WuPyramidalComplement.wu_conjecture_one
  • Dependency: D5/S3/ConceptDynamics/InformationEscape/RegistrationTemplates
  • Dependency: D5/S3/ConceptDynamics/RegistrationWitnesses