English

Rational Base Descent: A Deterministic Algorithm for Factoring Structured Semiprimes

Number Theory 2026-05-12 v1

Abstract

We present a special-purpose algorithm for factoring semiprimes N=pqN = pq in which one prime factor satisfies pc(a/b)np \approx c\,(a/b)^n for positive integers a,b,c,na, b, c, n with a>ba > b and gcd(a,b)=1\gcd(a,b) = 1. Given the correct parameters (a,b)(a, b), the algorithm isolates a factor in O(log3N){O}(\log^3 N) time when a/ba/b is bounded away from 11, and the cofactor qq is unconstrained beyond a mild size bound. We describe a search strategy over (a,b)(a, b) using primitivity filters, give a complexity analysis showing that the method poses no threat to balanced RSA semiprimes, and provide a gmpy2-based Python implementation.

Keywords

Cite

@article{arxiv.2605.08846,
  title  = {Rational Base Descent: A Deterministic Algorithm for Factoring Structured Semiprimes},
  author = {Sam Blake},
  journal= {arXiv preprint arXiv:2605.08846},
  year   = {2026}
}
R2 v1 2026-07-01T12:59:47.584Z