English

Dyadically resolving trinomials for fast modular arithmetic

Number Theory 2025-08-18 v1 Data Structures and Algorithms Symbolic Computation

Abstract

Residue number systems based on pairwise relatively prime moduli are a powerful tool for accelerating integer computations via the Chinese Remainder Theorem. We study a structured family of moduli of the form 2n2k+12^n - 2^k + 1, originally proposed for their efficient arithmetic and bit-level properties. These trinomial moduli support fast modular operations and exhibit scalable modular inverses. We investigate the problem of constructing large sets of pairwise relatively prime trinomial moduli of fixed bit length. By analyzing the corresponding trinomials xnxk+1x^n - x^k + 1, we establish a sufficient condition for coprimality based on polynomial resultants. This leads to a graph-theoretic model where maximal sets correspond to cliques in a compatibility graph, and we use maximum clique-finding algorithms to construct large examples in practice. Using the theory of graph colorings, resultants, and properties of cyclotomic polynomials, we also prove upper bounds on the size of such sets as a function of nn.

Keywords

Cite

@article{arxiv.2508.11043,
  title  = {Dyadically resolving trinomials for fast modular arithmetic},
  author = {Robert Dougherty-Bliss and Mits Kobayashi and Natalya Ter-Saakov and Eugene Zima},
  journal= {arXiv preprint arXiv:2508.11043},
  year   = {2025}
}

Comments

15 pages

R2 v1 2026-07-01T04:50:43.699Z